re-applied changes to app-forensics/libscca

This commit is contained in:
Volker Wegert 2022-11-20 23:15:47 +01:00
parent 99e2331873
commit e54b7445e9
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
3 changed files with 120 additions and 36 deletions

View file

@ -1 +1,2 @@
DIST libscca-alpha-20210419.tar.gz 1657043 BLAKE2B b9ed166bdc6356a9eb2e3a7345ba1a037aeaa54ddfadad21c2382fe6fcd65d229425c3f2caf5035bde1e90fd932504705e4c2a0c1ed8ff9aac86fd17f65257e9 SHA512 aaf08ae022c1f4c4849b5e1e1bbe067e50f77cd991d36913484339412dba4b4fdf665d4e82ad44101f6856a4fdb1fcf4506320f62c5ba52fa09d56f518ed2282
DIST libscca-alpha-20221027.tar.gz 1688934 BLAKE2B 5ceec7f4c76011ed2223471472f389d7ccf5da9625c223f4396ec942b975a72cee2d5bed339195df83cdb545a6f1be320f681f0c91d461ea3b1bd9c496dde9fc SHA512 2b16887370e040d3e756ca2950c41499521c4b356b21676bf35fc8bbc05224993586471210e577659968e5499593b40adb9e9e2d5d72d83b0bf0d2f5393f606e

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 Windows Prefetch File (SCCA) format."
HOMEPAGE="https://github.com/libyal/libscca"
SRC_URI="https://github.com/libyal/libscca/releases/download/${PV}/${PN}-alpha-${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=,threads=]
dev-libs/libfdatetime[nls=]
dev-libs/libfvalue[nls=]
dev-libs/libfwnt[nls=,threads=,python=]
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

@ -1,49 +1,66 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Library and tools to access the Windows Prefetch File (SCCA) format"
PYTHON_COMPAT=( python3_{10..11} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the Windows Prefetch File (SCCA) format."
HOMEPAGE="https://github.com/libyal/libscca"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
#upstream removed the release
#SRC_URI="https://pentoo.org/~zero/distfiles/${PN}-alpha-${PV}.tar.gz"
SRC_URI="https://github.com/libyal/libscca/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="nls unicode"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode python +threads debug"
DEPEND="dev-libs/libcerror
dev-libs/libcthreads
dev-libs/libcdata
dev-libs/libclocale
dev-libs/libcnotify
dev-libs/libcsplit
dev-libs/libuna
dev-libs/libcfile
dev-libs/libcpath
app-forensics/libbfio
dev-libs/libfcache
dev-libs/libfdata
dev-libs/libfdatetime
dev-libs/libfvalue
dev-libs/libfwnt
"
RDEPEND="${DEPEND}"
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=,threads=]
dev-libs/libfdatetime[nls=]
dev-libs/libfvalue[nls=]
dev-libs/libfwnt[nls=,threads=,python=]
dev-libs/libuna[nls=,unicode=]
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf $(use_enable nls) \
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
# --with-libcerror \
# --with-libcthreads \
# --with-libcdata \
# --with-libclocale \
# --with-libcnotify \
# --with-libcsplit \
# --with-libuna \
# --with-libcfile \
# --with-libcpath
$(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) \
}