From d35b1ab76abd942dcebbb34cf6a7a45825c15507 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 22:58:48 +0100 Subject: [PATCH] re-applied changes to dev-libs/libfwsi --- dev-libs/libfwsi/Manifest | 2 + dev-libs/libfwsi/libfwsi-20220123.ebuild | 60 ++++++++++++++++++++++++ dev-libs/libfwsi/libfwsi-20220927.ebuild | 60 ++++++++++++++++++++++++ dev-libs/libfwsi/metadata.xml | 8 ++++ 4 files changed, 130 insertions(+) create mode 100644 dev-libs/libfwsi/Manifest create mode 100644 dev-libs/libfwsi/libfwsi-20220123.ebuild create mode 100644 dev-libs/libfwsi/libfwsi-20220927.ebuild create mode 100644 dev-libs/libfwsi/metadata.xml diff --git a/dev-libs/libfwsi/Manifest b/dev-libs/libfwsi/Manifest new file mode 100644 index 000000000..d51637109 --- /dev/null +++ b/dev-libs/libfwsi/Manifest @@ -0,0 +1,2 @@ +DIST libfwsi-experimental-20220123.tar.gz 1386361 BLAKE2B 727384e5664f9353868fcc99f05255f8929d8845d59fbcf72bfab6688e05e3ebf5dfea7ace0d13f408541e3569e5c8cccc2a07c39dbafc2b1bbc99e40cda0d1b SHA512 6f7b3d2d90ea4ec0296208f2d188ec4c57516b15916b879dd8af23f64af34aa42137673af99925606c9c7c48f27d6e056dbfdc41f8902689bd647d3d5e453a65 +DIST libfwsi-experimental-20220927.tar.gz 1399673 BLAKE2B 54de080f34f425c826e60d9cb23565ff6c90f7a75ed89562637fc169d9453106482759570b0abcd16d6b6f3667152d23763b977002b8d8562b0700f41cf3f6bf SHA512 3aeedffce6c89b109b27b4da6299107f8a77331904b5596dafa16bd516bd5bd1bda8caa5960b1709517422cc69346be3f233cbe0556404b5bc5166ccd0ad637b diff --git a/dev-libs/libfwsi/libfwsi-20220123.ebuild b/dev-libs/libfwsi/libfwsi-20220123.ebuild new file mode 100644 index 000000000..bb34b3eea --- /dev/null +++ b/dev-libs/libfwsi/libfwsi-20220123.ebuild @@ -0,0 +1,60 @@ +# 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 to access the Windows Shell Item format" +HOMEPAGE="https://github.com/libyal/libfwsi" +SRC_URI="https://github.com/libyal/libfwsi/releases/download/${PV}/${PN}-experimental-${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/libfwps[nls=,threads=,python=] + 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) \ + +} diff --git a/dev-libs/libfwsi/libfwsi-20220927.ebuild b/dev-libs/libfwsi/libfwsi-20220927.ebuild new file mode 100644 index 000000000..bb34b3eea --- /dev/null +++ b/dev-libs/libfwsi/libfwsi-20220927.ebuild @@ -0,0 +1,60 @@ +# 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 to access the Windows Shell Item format" +HOMEPAGE="https://github.com/libyal/libfwsi" +SRC_URI="https://github.com/libyal/libfwsi/releases/download/${PV}/${PN}-experimental-${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/libfwps[nls=,threads=,python=] + 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) \ + +} diff --git a/dev-libs/libfwsi/metadata.xml b/dev-libs/libfwsi/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/dev-libs/libfwsi/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +