re-applied changes to app-forensics/libvsmbr

This commit is contained in:
Volker Wegert 2022-11-20 23:22:35 +01:00
parent 99e2331873
commit d1f8f55902
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
4 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST libvsmbr-experimental-20180317.tar.gz 1375199 BLAKE2B 816464886abf846e3cfaa15120f73556d146d209f5efa669c14a14e1920b8359ef3c24e5e1494fc3a58124450964b89fb497c191a027d2993d3c3dafdb947386 SHA512 03d020fc8cc101c18036c61c5c68f27ed965ec810e57cd39abb0f7317e01258aa2dd30b7fc700ad5a6fcdf69298c84b9e864278b50f4cd17d47b2c763b9fb46c
DIST libvsmbr-experimental-20180325.tar.gz 1379984 BLAKE2B ed6b41a0fc07ddec925035787ad05a5f4665b5d6ec9dbccc303db3005670185d671e2d11d399a30ad544f39def683210322daf8a73e4cbd2a5cccde889b645e7 SHA512 1e7f8907afce9df76283c0fa51680597d0a42a1f46c60d8ca17199e4cd87942e486a273828ca5665a9b40a2047052cf3f215863b918a249505a2febcdf410ca1

View file

@ -0,0 +1,63 @@
# 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 and tools to access the Master Boot Record (MBR) volume system format"
HOMEPAGE="https://github.com/libyal/libvsmbr"
SRC_URI="https://github.com/libyal/libvsmbr/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode python +threads debug"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
python? ( dev-lang/python:* )
app-forensics/libbfio[nls=,unicode=,threads=]
dev-libs/libcdata[nls=]
dev-libs/libcerror[nls=]
dev-libs/libcfile[nls=,unicode=]
dev-libs/libclocale[nls=,unicode=]
dev-libs/libcnotify[nls=]
dev-libs/libcpath[nls=,unicode=]
dev-libs/libcsplit[nls=,unicode=]
dev-libs/libcthreads[nls=]
dev-libs/libfcache[nls=]
dev-libs/libfdata[nls=]
dev-libs/libuna[nls=,unicode=]
"
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 unicode wide-character-type) \
$(use_enable debug verbose-output ) \
$(use_enable debug debug-output ) \
$(use_enable threads multi-threading-support) \
$(use_enable python) \
$(use_enable python python3) \
}

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 and tools to access the Master Boot Record (MBR) volume system format"
HOMEPAGE="https://github.com/libyal/libvsmbr"
SRC_URI="https://github.com/libyal/libvsmbr/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode python +threads debug"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
python? ( dev-lang/python:* )
app-forensics/libbfio[nls=,unicode=,threads=]
dev-libs/libcdata[nls=]
dev-libs/libcerror[nls=]
dev-libs/libcfile[nls=,unicode=]
dev-libs/libclocale[nls=,unicode=]
dev-libs/libcnotify[nls=]
dev-libs/libcpath[nls=,unicode=]
dev-libs/libcsplit[nls=,unicode=]
dev-libs/libcthreads[nls=]
dev-libs/libfcache[nls=]
dev-libs/libfdata[nls=]
dev-libs/libuna[nls=,unicode=]
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
"
src_prepare() {
# TODO: open issue https://github.com/libyal/libvsmbr/issues/7
# unclear how to finally resolve it - does not seem to cause any harm at the moment
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type) \
$(use_enable debug verbose-output ) \
$(use_enable debug debug-output ) \
$(use_enable threads multi-threading-support) \
$(use_enable python) \
$(use_enable python python3) \
}

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>