diff options
Diffstat (limited to 'x11-misc/xvfb-run/xvfb-run-21.1.15.2.ebuild')
-rw-r--r-- | x11-misc/xvfb-run/xvfb-run-21.1.15.2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-misc/xvfb-run/xvfb-run-21.1.15.2.ebuild b/x11-misc/xvfb-run/xvfb-run-21.1.15.2.ebuild new file mode 100644 index 000000000000..bc327aa6a916 --- /dev/null +++ b/x11-misc/xvfb-run/xvfb-run-21.1.15.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=xorg-server +MY_PV="$(ver_cut 1-3)-$(ver_cut 4)" +DESCRIPTION="Run a command in a virtual X server environment" +HOMEPAGE="https://packages.debian.org/sid/xvfb" +SRC_URI="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.diff.gz" + +S="${WORKDIR}"/ + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND="dev-util/patchutils" +RDEPEND="x11-apps/xauth + x11-base/xorg-server[xvfb]" + +src_prepare() { + # Not in src_unpack to silence warning "'patch' call should be moved to src_prepare" + filterdiff \ + --include='*/xvfb-run*' \ + --exclude='*/tests/*' \ + ${MY_PN}_${MY_PV}.diff | patch + assert "filterdiff+patch failed" + eapply_user +} + +src_install() { + doman ${PN}.1 + dobin ${PN} +} |