re-applied changes to dev-libs/libvmdk

This commit is contained in:
Volker Wegert 2022-11-20 22:47:52 +01:00
parent 99e2331873
commit 4fe039bb3a
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
5 changed files with 174 additions and 92 deletions

View file

@ -1,2 +1,2 @@
DIST libvmdk-20200926.tar.gz 1611133 BLAKE2B c13424ac9211ea89d740d4ceaec1b8adf3893b889fa0da3adabfd6c0d506f5fe86b38d68b08ce2696ae4820a6458d6711ebf75d7f8bbdbcd9beb2dbe1ea1efeb SHA512 e70c42580dc58ad0a6459fe461504a8ef128f8d5df9d500f84f316e627232606f22eb4906fc1debc3e75e71daa6a07951af80822695de13d5e466adda4cfd5e0
DIST libvmdk-20210418.tar.gz 1614930 BLAKE2B 66f96708f6e07f2f26ed62d70061a1297b16fe4822ccc328f3b4ea3198ee079b040a4df12c3b0405157f4d2dac3d88e6f3b34aab1e6f3cec4e5088c3954139c2 SHA512 768d9fe3bb96f30c03c533347927b1c091615a1087ee62e51e74e5694edb10370bd5c1846ba06ab81ce9de705d9e87a9207cadc6605499c9368677602d45f100
DIST libvmdk-20210807.tar.gz 1616948 BLAKE2B 2f2b7654fa8ca34a208f4b571ae2cfed6fb9fe2f7e6f55bd31bbb15da1819517cc9ee3ab3f336b16490efa831bd1226a4e9daea1568fb10d3b2ea41fc16be87a SHA512 5241b0d5089bb2e982fd812efd65c96bb494c68c7fd2ee4d46deaa80312132d95948ed4b3a4e888b5cb64acec9bc1b689a2407e42fe3511da3b093f79cb74b50
DIST libvmdk-20221022.tar.gz 1684995 BLAKE2B 162953663afe397b148970033e7fda3e477fe092ccef69d7506abba8d730515ac6461f4fec85d995c59782847ea4af23490558e8e37e82f1d6e03608319b4c62 SHA512 f363e6439b8826638e5dab9c912e9137c0ca3412f0f84f6226f157c2deac57790ecc60ba3c2d42234b1eb85a986c97f9d5796356e9f5b5bd5cdf29c08c179a97

View file

@ -1,45 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(usex debug "--enable-debug-output --enable-verbose-output") \
$(use_with fuse libfuse) \
$(use_enable unicode wide-character-type) \
$(use_enable static static-executables) \
$(use_enable static-libs static) \
$(use_enable nls) \
$(use_enable python)
}

View file

@ -1,45 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(usex debug "--enable-debug-output --enable-verbose-output") \
$(use_with fuse libfuse) \
$(use_enable unicode wide-character-type) \
$(use_enable static static-executables) \
$(use_enable static-libs static) \
$(use_enable nls) \
$(use_enable python)
}

View file

@ -0,0 +1,86 @@
# Copyright 1999-2021 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 VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs +threads"
REQUIRED_USE="
static? ( static-libs )
python? ( ${PYTHON_REQUIRED_USE} )
"
DEPEND="
app-forensics/libbfio[nls=,unicode=]
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/libfguid[nls=]
dev-libs/libfvalue[nls=]
dev-libs/libuna[nls=,unicode=]
nls? (
virtual/libiconv
virtual/libintl
)
python? ( dev-lang/python:* )
sys-libs/zlib
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
fuse? ( sys-fs/fuse:0=[static-libs?] )
"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
#makefile was created with 1.16, let's regenerate it
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable static-libs static) \
$(use_enable static static-executables) \
$(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)
# static-libs is not yet implemented in any other libyal package in Pentoo,
# but it is in Gentoo main...
# --disable-shared-libs disable shared library support
# not supported in the ebuild at the moment - kind of defeats the entire process
# --enable-winapi enable WINAPI support for cross-compilation
# [default=auto-detect]
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
}

View file

@ -0,0 +1,86 @@
# Copyright 1999-2021 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 VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs +threads"
REQUIRED_USE="
static? ( static-libs )
python? ( ${PYTHON_REQUIRED_USE} )
"
DEPEND="
app-forensics/libbfio[nls=,unicode=]
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/libfguid[nls=]
dev-libs/libfvalue[nls=]
dev-libs/libuna[nls=,unicode=]
nls? (
virtual/libiconv
virtual/libintl
)
python? ( dev-lang/python:* )
sys-libs/zlib
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
fuse? ( sys-fs/fuse:0=[static-libs?] )
"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
#makefile was created with 1.16, let's regenerate it
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable static-libs static) \
$(use_enable static static-executables) \
$(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)
# static-libs is not yet implemented in any other libyal package in Pentoo,
# but it is in Gentoo main...
# --disable-shared-libs disable shared library support
# not supported in the ebuild at the moment - kind of defeats the entire process
# --enable-winapi enable WINAPI support for cross-compilation
# [default=auto-detect]
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
}