Merge pull request #1312 from vwegert/add-libfwps-2

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

View file

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

View file

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

View file

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

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>