summaryrefslogtreecommitdiff
path: root/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-01 17:45:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-01 17:45:45 +0100
commit9524cd3e9cfa00e1b11c9f38975cae98cadd1037 (patch)
tree636655700741ec00dc0663a87d8db90fb74f9dee /app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild
parentc291e2fe8dab117435b1e75fa1b76f4a329e70ae (diff)
app-emulation/qemu-guest-agent : drop ebuild, use Gentoo's
Diffstat (limited to 'app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild')
-rw-r--r--app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild82
1 files changed, 0 insertions, 82 deletions
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild
deleted file mode 100644
index e78e1111..00000000
--- a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.0.2-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit edo systemd toolchain-funcs python-any-r1 udev
-
-MY_PN="qemu"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
-HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent"
-SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz"
-
-LICENSE="GPL-2 BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-RDEPEND="dev-libs/glib"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}
- dev-lang/perl
- dev-util/ninja"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/"${PN}"-xkeyboard-config-2.39-compat.patch
-)
-
-src_configure() {
- tc-export AR LD OBJCOPY RANLIB
-
- local myconf=(
- --prefix=/usr
- --sysconfdir=/etc
- --libdir="/usr/$(get_libdir)"
- --localstatedir=/
- --disable-bsd-user
- --disable-linux-user
- --disable-system
- --disable-strip
- --enable-tools
- --disable-werror
- --enable-guest-agent
- --python="${PYTHON}"
- --cc="$(tc-getCC)"
- --cxx="$(tc-getCXX)"
- --host-cc="$(tc-getBUILD_CC)"
- )
-
- edo ./configure "${myconf[@]}"
-}
-
-src_install() {
- dobin build/qga/qemu-ga
-
- # Normal init stuff
- newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
- newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
-
- # systemd stuff
- udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
-
- systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
- qemu-guest-agent.service
-}
-
-pkg_postinst() {
- elog "You should add 'qemu-guest-agent' to the default runlevel."
- elog "e.g. rc-update add qemu-guest-agent default"
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}