summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-06-23 18:32:13 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-06-23 18:33:19 +0200
commitf4794aec258635ed097502a40f52cc93f3e05be7 (patch)
tree1d23012db2f6dd5829e6b0c0c44f88eb7b318d8d
parentapp-admin/consul-template: remove old versions (diff)
downloadgentoo-f4794aec258635ed097502a40f52cc93f3e05be7.tar.gz
gentoo-f4794aec258635ed097502a40f52cc93f3e05be7.tar.bz2
gentoo-f4794aec258635ed097502a40f52cc93f3e05be7.zip
x11-wm/page: add missing requirement.
Gentoo-Bug: https://bugs.gentoo.org/620884 Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r--x11-wm/page/page-1.9.8-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-wm/page/page-1.9.8-r1.ebuild b/x11-wm/page/page-1.9.8-r1.ebuild
new file mode 100644
index 000000000000..05d2c406a4df
--- /dev/null
+++ b/x11-wm/page/page-1.9.8-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+EAPI=5
+
+DESCRIPTION="A mouse friendly tiling window manager"
+HOMEPAGE="http://www.hzog.net/index.php/Main_Page"
+SRC_URI="http://www.hzog.net/pub/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ x11-proto/xcb-proto
+ x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-proto/damageproto
+ x11-proto/randrproto
+ x11-libs/libXrandr
+ x11-proto/xproto
+ x11-proto/fixesproto
+ x11-proto/compositeproto
+ x11-libs/libXcomposite
+ x11-proto/renderproto
+ x11-libs/libXrender
+ x11-libs/libXext
+ x11-proto/xextproto
+ x11-libs/cairo[X,xcb]
+ x11-libs/pango
+ dev-libs/glib:2"
+
+DEPEND="${RDEPEND}"
+
+src_install() {
+ default
+
+ # Solves file collision with dev-tcltk/tcllib, bug #574074
+ ebegin "Changing references from 'page' to 'pagewm'"
+ mv "${D}"usr/bin/page "${D}"usr/bin/pagewm || die "Could not rename binary!"
+ sed -i -e "s:/usr/bin/page:/usr/bin/pagewm:" "${D}"usr/share/applications/page.desktop || die "Could not change .desktop file!"
+ eend
+}
+
+pkg_postinst() {
+ elog "page can now be launched using \"pagewm\". To find out more about this functionality,"
+ elog "see the following bug report: https://bugs.gentoo.org/574074."
+}