From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9797F138350 for ; Sat, 18 Apr 2020 19:06:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D211BE0993; Sat, 18 Apr 2020 19:06:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF765E0993 for ; Sat, 18 Apr 2020 19:06:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BA5434F06A for ; Sat, 18 Apr 2020 19:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A9111C3 for ; Sat, 18 Apr 2020 19:06:12 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1587236698.1e3a1a4cfe75c4ae3f5b158a2ec3b79f03f0eed1.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/spice-vdagent/Manifest app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild X-VCS-Directories: app-emulation/spice-vdagent/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 1e3a1a4cfe75c4ae3f5b158a2ec3b79f03f0eed1 X-VCS-Branch: master Date: Sat, 18 Apr 2020 19:06:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ec69bd99-78ee-4806-ac89-778b349ccbef X-Archives-Hash: debc938ad469b68c2ed52af39ab3e948 commit: 1e3a1a4cfe75c4ae3f5b158a2ec3b79f03f0eed1 Author: Matthias Maier gentoo org> AuthorDate: Sat Apr 18 19:04:58 2020 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sat Apr 18 19:04:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3a1a4c app-emulation/spice-vdagent: glorious version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier gentoo.org> app-emulation/spice-vdagent/Manifest | 1 + .../spice-vdagent/spice-vdagent-0.20.0.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app-emulation/spice-vdagent/Manifest b/app-emulation/spice-vdagent/Manifest index 648624b8dad..d62998b6b3a 100644 --- a/app-emulation/spice-vdagent/Manifest +++ b/app-emulation/spice-vdagent/Manifest @@ -1 +1,2 @@ DIST spice-vdagent-0.19.0.tar.bz2 151356 BLAKE2B b7a99a7205d955b27edfe483746e3f267a6e0b7885c4b8146ba42d99b581cf4e1748b503a37a3d6b66623ef2515b42756f2e6a5a4775d56def7aa396bd0dfb4f SHA512 f5056dfe66df3ee8205549be22bbc8c17d2196c8448eda97f01659ff30c34d9929f330767d7fafec557dc5f7fb9b65eaf85973193b38df774042de9b72d6e60d +DIST spice-vdagent-0.20.0.tar.bz2 152510 BLAKE2B b00caadab385f4208bd18b78a006831953f99387e55fd86226efffdf537426627f02bb46708173b700eecd21f598a0db94f454c5252b0f4bfb93c30b39d69d16 SHA512 a6288e056645c071834f9ce5800669cb64e0f86a5efeb8eec61ac1e11f1fd56f7da8ea19b28a94c88741d794a0290fac9bcf74d45bcef271c2c5abfb2573a8e1 diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild new file mode 100644 index 00000000000..2cac3817d76 --- /dev/null +++ b/app-emulation/spice-vdagent/spice-vdagent-0.20.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info + +DESCRIPTION="SPICE VD Linux Guest Agent" +HOMEPAGE="https://www.spice-space.org/" +SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="consolekit gtk selinux systemd" + +CDEPEND=" + dev-libs/glib:2 + >=app-emulation/spice-protocol-0.14.0 + media-libs/alsa-lib + >=x11-libs/libpciaccess-0.10 + x11-libs/libdrm + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libX11 + x11-libs/libXinerama + consolekit? ( sys-auth/consolekit sys-apps/dbus ) + gtk? ( x11-libs/gtk+:3 ) + systemd? ( sys-apps/systemd )" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-vdagent )" + +CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE" +ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required" +ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is required" + +src_configure() { + local opt=() + if use consolekit; then + opt+=( --with-session-info=console-kit ) + elif use systemd; then + opt+=( --with-session-info=systemd ) + else + opt+=( --with-session-info=none ) + fi + + econf \ + --with-init-script=systemd \ + --localstatedir="${EPREFIX}"/var \ + $(use_with gtk) \ + "${opt[@]}" +} + +src_install() { + default + + cd "${ED}" && rmdir -p var/run/spice-vdagentd || die + + keepdir /var/log/spice-vdagentd + + newinitd "${FILESDIR}/${PN}.initd-4" "${PN}" + newconfd "${FILESDIR}/${PN}.confd-2" "${PN}" +}