diff --git a/dev-libs/libfplist/Manifest b/dev-libs/libfplist/Manifest new file mode 100644 index 000000000..f2680b4f4 --- /dev/null +++ b/dev-libs/libfplist/Manifest @@ -0,0 +1,2 @@ +DIST libfplist-experimental-20210404.tar.gz 1437850 BLAKE2B 2d3fe3aa57ba3e88efe7491b9d3e70de310bd7a3ba89c9b27c7856eb844596db8d00fd31378818bebcb459298bf2fa80d31ac33849c6b2572fbe14fe150d5fc9 SHA512 3cbf9344f9d224dbfcdecaef9d784731876f07e6e932c4cdb6a28f28357d2aeea97a07c5c35ae253eddef55c7b5d46452ec70c942c9762ae909e849de9b8c041 +DIST libfplist-experimental-20220116.tar.gz 1462822 BLAKE2B 3bf6f04cddecf90dc75f01f81c6f53d95d74524b468e8324624c598835a162832277c26b2660072430b57c2f2fcd4ae6e28930e0358f944718ef666a3bb368fd SHA512 225396a4a4a9f85647b399b9c5c4e1c168b63608a3343ae1b743b1c83a3aa0491be7b67fe7059d8bba36bf1f8a8e61d95c037f20f5eefe8fb9c3b1741df443af diff --git a/dev-libs/libfplist/libfplist-20210404.ebuild b/dev-libs/libfplist/libfplist-20210404.ebuild new file mode 100644 index 000000000..be043f4ef --- /dev/null +++ b/dev-libs/libfplist/libfplist-20210404.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for plist format" +HOMEPAGE="https://github.com/libyal/libfplist" +SRC_URI="https://github.com/libyal/libfplist/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls +threads debug" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcnotify[nls=] + dev-libs/libcthreads[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfvalue[nls=] + dev-libs/libuna[nls=] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable debug verbose-output ) \ + $(use_enable debug debug-output ) \ + $(use_enable threads multi-threading-support) \ + +} + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libfplist/libfplist-20220116.ebuild b/dev-libs/libfplist/libfplist-20220116.ebuild new file mode 100644 index 000000000..be043f4ef --- /dev/null +++ b/dev-libs/libfplist/libfplist-20220116.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for plist format" +HOMEPAGE="https://github.com/libyal/libfplist" +SRC_URI="https://github.com/libyal/libfplist/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls +threads debug" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcnotify[nls=] + dev-libs/libcthreads[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfvalue[nls=] + dev-libs/libuna[nls=] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable debug verbose-output ) \ + $(use_enable debug debug-output ) \ + $(use_enable threads multi-threading-support) \ + +} + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libfplist/metadata.xml b/dev-libs/libfplist/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/dev-libs/libfplist/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +