Merge pull request #1313 from vwegert/add-libfwsi-2

added ebuilds for dev-libs/libfwsi from libyal
This commit is contained in:
Anton Bolshakov 2023-01-27 12:35:10 +08:00 committed by GitHub
commit f6bf2f001b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 142 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,66 @@
# 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) \
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,66 @@
# 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) \
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
</pkgmetadata>