This commit is contained in:
Anton Bolshakov 2023-01-27 23:31:05 +08:00
parent 0e6c9d4c2f
commit fcd4ba1687
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 7 additions and 46 deletions

View file

@ -1,2 +1 @@
DIST libvhdi-20201204.tar.gz 1539620 BLAKE2B 431b9ab4a37266f163e37a4ee159c05619cf4b98543ce078cd6b56824eac60abbf76d8db67c8b81844795748fe929a7ef8a6c130bbb34287f1440e932b2a9b24 SHA512 076d9342328612c067d5592484449e056cd065adc84f4d283381319a4cf63d50ade3fc0bf420c1b57e7226cba65c2aa3928d13b9ae297a1ce662e73c056f2a5a
DIST libvhdi-20210425.tar.gz 1540743 BLAKE2B f498a03833b9690fd75ebc6790e8cb306a2757ec9e45e25df99a62bd4049e7eb21d7a5f753c567ef6b3792f75ea301e8a0687b0bc5e6476cc47b323968d7c245 SHA512 8121e0b6d1f644b099d86201c964ee91fbc47ed6c7be57f8db1350c8349885300de5986bc5e2981e825b0ffc5edfcadaac7b2285a9cbb8d6bdb7ca97659c793f
DIST libvhdi-20221124.tar.gz 1578125 BLAKE2B 825a797af64176541993dd7b9793bd2bb39c5b5e8ee952cd0ef06c14a52c7a3e28ecfb208dad0b2057c5e053988084996288e43f52998596be8ee64b4de354c0 SHA512 279ebf1787099183c47bccff8140428026189a41d6f4350296e4fe1f107df48d91345fa77025379daf6f7d521233235ef1536e52fb917e616992a6254f3a8a37

View file

@ -1,44 +0,0 @@
# Copyright 1999-2019 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 Virtual Hard Disk (VHD) image format"
HOMEPAGE="https://github.com/libyal/libvhdi"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~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?] )"
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

@ -42,3 +42,9 @@ src_configure() {
$(use_enable nls) \
$(use_enable python)
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}