diff --git a/dev-libs/libfwps/Manifest b/dev-libs/libfwps/Manifest new file mode 100644 index 000000000..d5bcc800f --- /dev/null +++ b/dev-libs/libfwps/Manifest @@ -0,0 +1,2 @@ +DIST libfwps-alpha-20191221.tar.gz 1199362 BLAKE2B d98889c3974ae29c9a96cf66a5ec5e5ca014edc7a46b015bfe6b01870c26d13b5fa9ffbd1ed7bbd30c97d839fddcfad3dd5a5908332804ecbf5d194091bc2102 SHA512 66845c5a20106c58a6dd33154efe2828cb3b9d6e999a6d8680e2aa8fc5749071a0f7607dbe0289383f2a44c5bb5259c47dc3b4b65dde27a4e1c1813089363113 +DIST libfwps-alpha-20220122.tar.gz 1267545 BLAKE2B 620d4a0b89ef2d060cc2377f3a9dd2fc5e7a22050fe92bba2f15605c594a2568012b33ee91e69f37058ec35c3a69cac766bb09b6a34bf97659a12fbf60abad86 SHA512 c5c48b93e9a0ecf018d4388ab7e915f5e82c98bf3e6877211ce6c49bfc75bd39cd2b18c577f8248cfdd69eee980ab61679d2910aae86db22d5f48bfdf26ba061 diff --git a/dev-libs/libfwps/libfwps-20191221.ebuild b/dev-libs/libfwps/libfwps-20191221.ebuild new file mode 100644 index 000000000..2242120fe --- /dev/null +++ b/dev-libs/libfwps/libfwps-20191221.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library for Windows Property Store data types" +HOMEPAGE="https://github.com/libyal/libfwps" +SRC_URI="https://github.com/libyal/libfwps/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls python +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libclocale[nls=] + dev-libs/libcnotify[nls=] + dev-libs/libcthreads[nls=] + dev-libs/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfole[nls=] + dev-libs/libuna[nls=] +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +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) \ + $(use_enable python) \ + $(use_enable python python3) \ + +} + +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/libfwps/libfwps-20220122.ebuild b/dev-libs/libfwps/libfwps-20220122.ebuild new file mode 100644 index 000000000..2242120fe --- /dev/null +++ b/dev-libs/libfwps/libfwps-20220122.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library for Windows Property Store data types" +HOMEPAGE="https://github.com/libyal/libfwps" +SRC_URI="https://github.com/libyal/libfwps/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls python +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libclocale[nls=] + dev-libs/libcnotify[nls=] + dev-libs/libcthreads[nls=] + dev-libs/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfole[nls=] + dev-libs/libuna[nls=] +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +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) \ + $(use_enable python) \ + $(use_enable python python3) \ + +} + +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/libfwps/metadata.xml b/dev-libs/libfwps/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/dev-libs/libfwps/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +