summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-07-14 04:41:05 +0000
committerJeroen Roovers <jer@gentoo.org>2015-07-14 04:41:05 +0000
commit38b2e5979f7746a9c70ec9b2985b802c038815e8 (patch)
treebdc0c695085d95800b9ff278ee0c27800f21837d /x11-misc
parentFix QA warning (bug #554658 by Toralf Förster). (diff)
downloadgentoo-2-38b2e5979f7746a9c70ec9b2985b802c038815e8.tar.gz
gentoo-2-38b2e5979f7746a9c70ec9b2985b802c038815e8.tar.bz2
gentoo-2-38b2e5979f7746a9c70ec9b2985b802c038815e8.zip
Version bump (bug #554228 by José Romildo Malaquias).
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/arandr/ChangeLog7
-rw-r--r--x11-misc/arandr/arandr-0.1.8.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/x11-misc/arandr/ChangeLog b/x11-misc/arandr/ChangeLog
index aca29631bec6..63cc23544736 100644
--- a/x11-misc/arandr/ChangeLog
+++ b/x11-misc/arandr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/arandr
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/ChangeLog,v 1.16 2015/04/08 17:27:17 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/ChangeLog,v 1.17 2015/07/14 04:41:05 jer Exp $
+
+*arandr-0.1.8 (14 Jul 2015)
+
+ 14 Jul 2015; Jeroen Roovers <jer@gentoo.org> +arandr-0.1.8.ebuild:
+ Version bump (bug #554228 by José Romildo Malaquias).
08 Apr 2015; Michał Górny <mgorny@gentoo.org> arandr-0.1.7.1.ebuild:
Drop old Python implementations
diff --git a/x11-misc/arandr/arandr-0.1.8.ebuild b/x11-misc/arandr/arandr-0.1.8.ebuild
new file mode 100644
index 000000000000..163720fcaed9
--- /dev/null
+++ b/x11-misc/arandr/arandr-0.1.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/arandr/arandr-0.1.8.ebuild,v 1.1 2015/07/14 04:41:05 jer Exp $
+
+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/${P}.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
+}