From 7915317932e0d9b31f1f8db1ad5c03103d4a77e3 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 20 Jun 2019 15:19:22 +0200 Subject: x11-misc/arandr: Version 0.1.10 Package-Manager: Portage-2.3.67, Repoman-2.3.15 Bug: https://bugs.gentoo.org/show_bug.cgi?id=685644 Signed-off-by: Jeroen Roovers --- x11-misc/arandr/Manifest | 1 + x11-misc/arandr/arandr-0.1.10.ebuild | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 x11-misc/arandr/arandr-0.1.10.ebuild (limited to 'x11-misc/arandr') diff --git a/x11-misc/arandr/Manifest b/x11-misc/arandr/Manifest index 8752f7fb37f0..5288373c464a 100644 --- a/x11-misc/arandr/Manifest +++ b/x11-misc/arandr/Manifest @@ -1 +1,2 @@ +DIST arandr-0.1.10.tar.gz 100203 BLAKE2B b5754dda4c4f9c5e957a9fc75b7236480417b899c2705bc5aee514899c664d39b5902921c69ac425aff99f3a6ea512bfc0c2c0259519c1a6e0fc553f6e367cc2 SHA512 12c2fe5b36f8d8e688d990e352c1cfa3e8512c0b647b78a8af93f9472704e4867fac4c56c207465fb7b420c9022dc545dea8ad8a29af3037758ab4587dcd38ba DIST arandr_0.1.9.orig.tar.gz 90437 BLAKE2B 0782bfd5ebffc1cbfbdaaded623b89559176acbbb363310abfac1fb1af9f64f285eff74de2a2a7b4c36722cde2970f852fccc2cb4d4a49f2d29bc7fc48a2b780 SHA512 0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006 diff --git a/x11-misc/arandr/arandr-0.1.10.ebuild b/x11-misc/arandr/arandr-0.1.10.ebuild new file mode 100644 index 000000000000..6025bf9d41d0 --- /dev/null +++ b/x11-misc/arandr/arandr-0.1.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +DESCRIPTION="Another XRandR GUI" +HOMEPAGE="https://christian.amsuess.com/tools/arandr/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pygobject:3=[${PYTHON_USEDEP}] + x11-apps/xrandr +" +DEPEND=" + >=dev-python/docutils-0.6[${PYTHON_USEDEP}] +" + +src_prepare() { + local i p + # simulate gettext behavior: + # LINGUAS unset => install all + # LINGUAS="" => install none + # LINGUAS="de fr" => install de and fr + if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set + for i in $(cd "${S}"/data/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language + if ! has ${i} ${LINGUAS} ; then # if language is disabled + rm data/po/${i}.po || die + fi + done + fi + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + gunzip "${D}"/usr/share/man/man1/{${PN},unxrandr}.1.gz || die +} -- cgit v1.2.3-65-gdbad