mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/arandr: drop old version
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Another XRandR GUI"
|
||||
HOMEPAGE="https://christian.amsuess.com/tools/arandr/"
|
||||
SRC_URI="https://christian.amsuess.com/tools/arandr/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 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
|
||||
}
|
||||
Reference in New Issue
Block a user