summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-03-01 20:13:39 +0100
committerJeroen Roovers <jer@gentoo.org>2016-03-01 20:14:01 +0100
commitf60197d882894f867214d2c5ca41c822baf2cff2 (patch)
tree540d710d6b01dad04191c5f87d2d6a2ada514143 /x11-misc
parentdev-python/xvfbwrapper: Bump (diff)
downloadgentoo-f60197d882894f867214d2c5ca41c822baf2cff2.tar.gz
gentoo-f60197d882894f867214d2c5ca41c822baf2cff2.tar.bz2
gentoo-f60197d882894f867214d2c5ca41c822baf2cff2.zip
x11-misc/arandr: Version bump by Levon Kayan.
Package-Manager: portage-2.2.27
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/arandr/Manifest1
-rw-r--r--x11-misc/arandr/arandr-0.1.9.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/x11-misc/arandr/Manifest b/x11-misc/arandr/Manifest
index 6865c80dc0a8..dc270798428f 100644
--- a/x11-misc/arandr/Manifest
+++ b/x11-misc/arandr/Manifest
@@ -1,2 +1,3 @@
DIST arandr-0.1.7.1.tar.gz 82118 SHA256 ab73aa90d05d48b95a01afdad37b7c21a2cdf4af98f7d78b2502b819382748da SHA512 1e3b8ec0d98d38515a159c7695abefd7451a3fa6b7d43641766c997aab63152dfa76c2d9208ba2848ce588dd033a8e85ae31b97acdd4aa5e450fd87725cc21ce WHIRLPOOL 9f9844cb0cb14fcba17767a1b50270843c70859253d96c23d3d47c65b64d5740fcdbad888d97f60fd1ae5f13245098d11c6b9552a221938c8b3b183146ffdf4c
DIST arandr-0.1.8.tar.gz 86930 SHA256 6d8ec18e2f683818f420502516f7ece6c377a1903eab1de781152b585725a734 SHA512 3038677d92596aa63233ecd6fa8c1cb0d3522bc8aa69912aa79be900059c37bdda14efe9c17dc16a4c5858ebeeee7f62a55156b6e47e0715f1a341e8ad3c4f11 WHIRLPOOL 91f4810e732289b01dbaa9173a684d7c4c338a78a4b26d0314da99abc491adf30da7067c8657ac024c61cdc8d7c018c120c51bd104ae182b50761f33b6891e6a
+DIST arandr_0.1.9.orig.tar.gz 90437 SHA256 bb2b57dc37787c4eb7c33c5136cea3829d1b885862cdd827f16ef51e9f0a6ec4 SHA512 0b2bd62665a9680cf29132ddf0a1ba8eda6bc403b98245727e4c4613ac3e2a694d9268426a14bab35b8e79c7c9191cc224627fca56349acf20546a93d749f006 WHIRLPOOL 68ea8be7c8c802a1d8c9b11b59afe471e4f3a55687229c9031f2f88abfd671be49454e713205ba9dbf9d833f1082b48c1375af027cc6b07c737897fa0229fc3e
diff --git a/x11-misc/arandr/arandr-0.1.9.ebuild b/x11-misc/arandr/arandr-0.1.9.ebuild
new file mode 100644
index 000000000000..de68bed37239
--- /dev/null
+++ b/x11-misc/arandr/arandr-0.1.9.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils distutils-r1
+
+DESCRIPTION="A simple visual frontend for XRandR 1.2/1.3"
+HOMEPAGE="http://christian.amsuess.com/tools/arandr/"
+SRC_URI="http://christian.amsuess.com/tools/${PN}/files/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pygtk-2[${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
+}