dev-libs/libvhdi - 20251119 (pentoo)

Search

Notice: This package is in a virtual group: virtual/libyal-tools
Equivalents: app-forensics/libbde, app-forensics/libesedb, app-forensics/libevt, app-forensics/libevtx, app-forensics/libewf, app-forensics/libexe, app-forensics/libfsapfs, app-forensics/libfsclfs, app-forensics/libfsext, app-forensics/libfsfat, app-forensics/libfshfs, app-forensics/libfsntfs, app-forensics/libfsxfs, app-forensics/libfvde, app-forensics/liblnk, app-forensics/libluksde, app-forensics/libmodi, app-forensics/libmsiecf, app-forensics/libnk2, app-forensics/libnsfdb, app-forensics/libodraw, app-forensics/libolecf, app-forensics/libpff, app-forensics/libphdi, app-forensics/libqcow, app-forensics/libregf, app-forensics/libscca, app-forensics/libsmraw, app-forensics/libvsgpt, app-forensics/libvshadow, app-forensics/libvslvm, app-forensics/libvsmbr, dev-libs/libcreg, dev-libs/libhmac, dev-libs/libsigscan, dev-libs/libsmdev, dev-libs/libuna, dev-libs/libvmdk, dev-libs/libwrc

Install

Install this version:

emerge -a =dev-libs/libvhdi-20251119

Package Information

Description:
Library and tools to access the Virtual Hard Disk (VHD) image format
Homepage:
https://github.com/libyal/libvhdi
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
20251119 8 amd64 ~hppa ~ppc x86 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
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"
S="${WORKDIR}"/${PN}-${MY_PV}

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc x86"

IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )
			${PYTHON_REQUIRED_USE}"

RDEPEND="${PYTHON_DEPS}
	fuse? ( sys-fs/fuse:0=[static-libs?] )"

DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

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)
}

src_install() {
	default
	# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/libvhdi | euse -E <flag> -p dev-libs/libvhdi | euse -D <flag> -p dev-libs/libvhdi

Global/Standard Flags

fuse
Default: Enabled (+)
nls

Inherited Eclasses

Dependencies

DEPEND

	fuse? ( sys-fs/fuse:0=[static-libs?] )

RDEPEND

	fuse? ( sys-fs/fuse:0=[static-libs?] )

BDEPEND

virtual/pkgconfig

Manifest for 20251119

Type File Size Source URLs
DIST libvhdi-20251119.tar.gz 1516219 bytes https://github.com/libyal/libvhdi/releases/download/20251119/libvhdi-alpha-20251119.tar.gz