summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-03-25 21:34:11 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-03-25 21:34:52 +0200
commitc1593e29c658ae71e5afe8ce65ed26e7479059f8 (patch)
tree9134b9251e7a31cb91c5e8dc27aee092821e2992 /x11-misc/urxvt-perls
parentsys-apps/portage: Revbump to 2.3.96-r1 (diff)
downloadgentoo-c1593e29c658ae71e5afe8ce65ed26e7479059f8.tar.gz
gentoo-c1593e29c658ae71e5afe8ce65ed26e7479059f8.tar.bz2
gentoo-c1593e29c658ae71e5afe8ce65ed26e7479059f8.zip
x11-misc/urxvt-perls: introduce 'deprecated' USE
- to install deprecated scripts declared by upstream, put them behind USE flag because they might break some user configuration, - suggested by neeshy. Closes: https://github.com/gentoo/gentoo/pull/15076 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/urxvt-perls')
-rw-r--r--x11-misc/urxvt-perls/metadata.xml3
-rw-r--r--x11-misc/urxvt-perls/urxvt-perls-2.3-r1.ebuild25
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-misc/urxvt-perls/metadata.xml b/x11-misc/urxvt-perls/metadata.xml
index 67c8b7560e0f..d787dd460150 100644
--- a/x11-misc/urxvt-perls/metadata.xml
+++ b/x11-misc/urxvt-perls/metadata.xml
@@ -5,6 +5,9 @@
<email>juippis@gentoo.org</email>
<name>Joonas Niilola</name>
</maintainer>
+ <use>
+ <flag name="deprecated">Install scripts which have been marked as deprecated by upstream</flag>
+ </use>
<upstream>
<remote-id type="github">muennich/urxvt-perls</remote-id>
</upstream>
diff --git a/x11-misc/urxvt-perls/urxvt-perls-2.3-r1.ebuild b/x11-misc/urxvt-perls/urxvt-perls-2.3-r1.ebuild
new file mode 100644
index 000000000000..76baa0b0d908
--- /dev/null
+++ b/x11-misc/urxvt-perls/urxvt-perls-2.3-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Perl extensions for rxvt-unicode"
+HOMEPAGE="https://github.com/muennich/urxvt-perls"
+SRC_URI="https://github.com/muennich/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="deprecated"
+
+RDEPEND="x11-misc/xsel
+ x11-terms/rxvt-unicode[perl]"
+
+src_install() {
+ insinto /usr/$(get_libdir)/urxvt/perl
+ doins keyboard-select
+
+ use deprecated && doins deprecated/{clipboard,url-select}
+
+ einstalldocs
+}