mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-02 03:30:48 +02:00
Merge pull request #1349 from vwegert/add-libqcow-2
added ebuilds for app-forensics/libqcow from libyal
This commit is contained in:
commit
22f94412ea
4 changed files with 161 additions and 0 deletions
2
app-forensics/libqcow/Manifest
Normal file
2
app-forensics/libqcow/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libqcow-alpha-20210419.tar.gz 1539747 BLAKE2B 38930d35f562e9ccca2c68c11a7db31466d38247be5a0cd97e66c036d168263e350fe22304e55883c886d8849234c36f4ab4b8a8407443bf02a4da61af48957e SHA512 911d29bd880df95288e552356d128d18c924fcd0d61d166fbeaf09936f11bf27b984d8ffd4cdc4bc285e7df295a1fe64ff595b0dfdd10b6fcfbdc6586d6bd3b0
|
||||
DIST libqcow-alpha-20221026.tar.gz 1590877 BLAKE2B e7613c04d94da768465ce33319c73ea0baa864db05c0ed37870023754d98ba090f3222f7a1299f7e88a0969c2764e3ad27c080a53faa5b1bf76cfbd9a9b6c117 SHA512 1a0e7f34ba15dae9bb5c9608be84a7b760bb31cc07740e610d1fac9901f0896fd17cfdb5299f6da2cd0bb1ebe02ff8a9e593666296fd5535f213342dfa0c6ca8
|
||||
74
app-forensics/libqcow/libqcow-20210419.ebuild
Normal file
74
app-forensics/libqcow/libqcow-20210419.ebuild
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# 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 QEMU Copy-On-Write (QCOW) image format"
|
||||
HOMEPAGE="https://github.com/libyal/libqcow"
|
||||
SRC_URI="https://github.com/libyal/libqcow/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode python +fuse +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/libcaes[nls=,python=]
|
||||
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/libuna[nls=,unicode=]
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
fuse? ( sys-fs/fuse )
|
||||
"
|
||||
|
||||
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) \
|
||||
$(use_with fuse libfuse) \
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
74
app-forensics/libqcow/libqcow-20221026.ebuild
Normal file
74
app-forensics/libqcow/libqcow-20221026.ebuild
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# 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 QEMU Copy-On-Write (QCOW) image format"
|
||||
HOMEPAGE="https://github.com/libyal/libqcow"
|
||||
SRC_URI="https://github.com/libyal/libqcow/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode python +fuse +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/libcaes[nls=,python=]
|
||||
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/libuna[nls=,unicode=]
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
fuse? ( sys-fs/fuse )
|
||||
"
|
||||
|
||||
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) \
|
||||
$(use_with fuse libfuse) \
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
11
app-forensics/libqcow/metadata.xml
Normal file
11
app-forensics/libqcow/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?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>
|
||||
<use>
|
||||
<flag name="fuse">Enable FUSE support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue