commit:     4fc36f1e19e723d728600fd223f7dfb24ad92a6e
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Wed Jul 31 19:45:16 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 20 09:08:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc36f1e

app-emulation/libguestfs-appliance: add 1.54.0

The binaries are precompiled so its doubtful this package will
work on anything other than amd64.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/app-emulation/libguestfs-appliance/Manifest 
b/app-emulation/libguestfs-appliance/Manifest
index 6f9b2b913935..4418f2b58f9f 100644
--- a/app-emulation/libguestfs-appliance/Manifest
+++ b/app-emulation/libguestfs-appliance/Manifest
@@ -1 +1,2 @@
 DIST appliance-1.46.0.tar.xz 145436856 BLAKE2B 
d9ed31f533a2772b0f506176b39bfdfdec1421fe4ff7934ccdb1db0cb2644d477211ec1a2d372d7e5dd0a8f278f47a39bff813b7bc4c9a038258a5f6358b4e91
 SHA512 
842119bdf95dbbd61328891e9bd0b557bed90ba79c6419ee18d1a79cd4a301ea6922339b9e80ac314ff3e16498e9d3c594861aebe8e0fc2db41d285eb8e5d578
+DIST appliance-1.54.0.tar.xz 197794224 BLAKE2B 
52e9e3c14c728a270b7bba250e71a6f7f060990450c287bba33a5f8453bb01f3ddc8c1f6755041b1222ae7f7900151a68cb4ee76533a926ca815f24b6b3a16c8
 SHA512 
9ca010a3df5de27e60d0815bfec23c01ff3b45839765f3ee7728717b165b6a2cf8eb812313441104fe0cb14853726ead682e6b91f64a62334c4e50023ccff502

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