Merge pull request #1317 from vwegert/add-libfwevt-2

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

View file

@ -0,0 +1,2 @@
DIST libfwevt-experimental-20220723.tar.gz 1449927 BLAKE2B b537cce6b698d8ee47a7017990e460f5c309d1c34001ad4b4d174b36650d2b70fe306f3007701650520887ab103ae6fa77114171615ee15e4d7ef897deed66dc SHA512 0a192150b2863367fc0b80bb6b88605247ae1c07b50596f999e44b8f744677f175374065d27088b220acd52e0450e880eb665b0c83b413f8d9a1a0a3a3bcc272
DIST libfwevt-experimental-20220925.tar.gz 1452653 BLAKE2B 103db4a960fdf5a658d74190b4f2e5f64772e5f2bb6a2f8697b9dc2dd3ade6bd75b9c02c0e806ae1b6fb7359e91f15b8ee7edaeaf92088b6f9a9bee88b2428b5 SHA512 504ef9a14bed547ddb5d23d434259e93c07d6cc2150e4e9f8bc88c0a7a7a00092c737ce899a3964a2a4e25a5265487fb186405fe826f21bdb950288358b819f5

View file

@ -0,0 +1,64 @@
# 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 XML Event Log (EVTX) data types"
HOMEPAGE="https://github.com/libyal/libfwevt"
SRC_URI="https://github.com/libyal/libfwevt/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/libcnotify[nls=]
dev-libs/libcthreads[nls=]
dev-libs/libfdatetime[nls=]
dev-libs/libfguid[nls=]
dev-libs/libfvalue[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,64 @@
# 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 XML Event Log (EVTX) data types"
HOMEPAGE="https://github.com/libyal/libfwevt"
SRC_URI="https://github.com/libyal/libfwevt/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/libcnotify[nls=]
dev-libs/libcthreads[nls=]
dev-libs/libfdatetime[nls=]
dev-libs/libfguid[nls=]
dev-libs/libfvalue[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>