app-emulation/libguestfs-appliance: add 1.56.0

Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43629
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christopher Byrne 2025-08-31 14:27:44 -05:00 committed by Sam James
parent 1bfd03fb03
commit ef7483b4a0
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST appliance-1.46.0.tar.xz 145436856 BLAKE2B d9ed31f533a2772b0f506176b39bfdfdec1421fe4ff7934ccdb1db0cb2644d477211ec1a2d372d7e5dd0a8f278f47a39bff813b7bc4c9a038258a5f6358b4e91 SHA512 842119bdf95dbbd61328891e9bd0b557bed90ba79c6419ee18d1a79cd4a301ea6922339b9e80ac314ff3e16498e9d3c594861aebe8e0fc2db41d285eb8e5d578
DIST appliance-1.54.0.tar.xz 197794224 BLAKE2B 52e9e3c14c728a270b7bba250e71a6f7f060990450c287bba33a5f8453bb01f3ddc8c1f6755041b1222ae7f7900151a68cb4ee76533a926ca815f24b6b3a16c8 SHA512 9ca010a3df5de27e60d0815bfec23c01ff3b45839765f3ee7728717b165b6a2cf8eb812313441104fe0cb14853726ead682e6b91f64a62334c4e50023ccff502
DIST appliance-1.56.0.tar.xz 268544972 BLAKE2B 02c0834b4e38cba5e7d9f811a4f7a91514c4fc64c0557358db8bc291f46de00519f6e33f97268f065f440f01a8b68cd6c34f171abaf82eeac5014c4aacf61eb8 SHA512 d56ec586890658803ab933652ad8d64503f74ca4f3257a7763cc5aaef52ad8e7a3b19d073c981963fac581bc28b090556723c1cea276d9f00232de32172bbd0b

View File

@ -0,0 +1,50 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Bump with app-emulation/libguestfs and app-emulation/guestfs-tools (if any new release there)
CHECKREQS_DISK_USR=500M
CHECKREQS_DISK_BUILD=500M
inherit check-reqs
DESCRIPTION="VM appliance disk image used in libguestfs package"
HOMEPAGE="https://libguestfs.org/"
SRC_URI="https://download.libguestfs.org/binaries/appliance/appliance-${PV}.tar.xz"
S="${WORKDIR}"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
# Precompiled binaries
KEYWORDS="-* ~amd64"
# Mixing libguestfs versions causes weird problems, bug #501588
RDEPEND="!<app-emulation/libguestfs-${PV}"
src_unpack() {
# We'll unpack the tarball directly into ${D} to speed up install.
# Otherwise we need to duplicate hundreds of data.
:
}
src_install() {
dodir /usr/share/guestfs
cd "${ED}"/usr/share/guestfs || die
unpack ${A}
cd appliance || die
dodoc README*
# Don't rm README.* here, at least README.fixed is needed for libguestfs, see
# https://bugzilla.redhat.com/show_bug.cgi?id=1183780
chmod 755 . || die
chmod 644 * || die
newenvd "${FILESDIR}"/env.file 99${PN}
}
pkg_postinst() {
# bug #776790
elog "Please run . ${EROOT}/etc/profile before attempting to use this package!"
}