commit:     ef7483b4a09a0883a7bef0435e4c90dff0e9898d
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sun Aug 31 19:27:44 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 14:17:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7483b4

app-emulation/libguestfs-appliance: add 1.56.0

Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43629
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/libguestfs-appliance/Manifest        |  1 +
 .../libguestfs-appliance-1.56.0.ebuild             | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-emulation/libguestfs-appliance/Manifest 
b/app-emulation/libguestfs-appliance/Manifest
index 4418f2b58f9f..e8a402b21a46 100644
--- a/app-emulation/libguestfs-appliance/Manifest
+++ b/app-emulation/libguestfs-appliance/Manifest
@@ -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

diff --git 
a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.56.0.ebuild 
b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.56.0.ebuild
new file mode 100644
index 000000000000..8c4dffb64275
--- /dev/null
+++ b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.56.0.ebuild
@@ -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!"
+}

Reply via email to