summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-10-09 22:43:33 +0800
committerIan Delaney <idella4@gentoo.org>2015-10-09 22:44:52 +0800
commit9a94bb3a771b84ec44d2359aa9af6e2fe9e9433d (patch)
tree2ab23ee0ca524d74c10e311db490dc8e12896737 /x11-wm/jwm/jwm-2.3.2.ebuild
parentmedia-sound/musique: remove old (diff)
downloadgentoo-9a94bb3a771b84ec44d2359aa9af6e2fe9e9433d.tar.gz
gentoo-9a94bb3a771b84ec44d2359aa9af6e2fe9e9433d.tar.bz2
gentoo-9a94bb3a771b84ec44d2359aa9af6e2fe9e9433d.zip
x11-wm/jwm: bump to -2.3.2
patch to bump submitted in gentoo bug by 'wraeth' added as proxy maintainer under the proxy-maintainers herd in metadata Gentoo bug: #562462 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'x11-wm/jwm/jwm-2.3.2.ebuild')
-rw-r--r--x11-wm/jwm/jwm-2.3.2.ebuild66
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-wm/jwm/jwm-2.3.2.ebuild b/x11-wm/jwm/jwm-2.3.2.ebuild
new file mode 100644
index 000000000000..6263aefa10ae
--- /dev/null
+++ b/x11-wm/jwm/jwm-2.3.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="Very fast and lightweight still powerful window manager for X"
+HOMEPAGE="http://joewing.net/programs/jwm/"
+SRC_URI="http://joewing.net/programs/jwm/releases/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
+IUSE="bidi debug jpeg png truetype xinerama xpm"
+
+RDEPEND="xpm? ( x11-libs/libXpm )
+ xinerama? ( x11-libs/libXinerama )
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ truetype? ( x11-libs/libXft )
+ png? ( media-libs/libpng )
+ jpeg? ( virtual/jpeg )
+ bidi? ( dev-libs/fribidi )
+ dev-libs/expat"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto
+ xinerama? ( x11-proto/xineramaproto )"
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable truetype xft) \
+ $(use_enable xinerama) \
+ $(use_enable xpm) \
+ $(use_enable bidi fribidi) \
+ --enable-shape \
+ --enable-xrender
+}
+
+src_install() {
+ dodir /usr/bin
+ dodir /etc
+ dodir /usr/share/man
+ emake BINDIR="${D}/usr/bin" SYSCONF="${D}/etc" \
+ MANDIR="${D}/usr/share/man" install
+ rm "${D}"/etc/system.jwmrc
+
+ echo "#!/bin/sh" > jwm
+ echo "exec /usr/bin/jwm" >> jwm
+ exeinto /etc/X11/Sessions
+ doexe jwm
+
+ dodoc README.md example.jwmrc ChangeLog
+}
+
+pkg_postinst() {
+ einfo "Put an appropriate configuration file in /etc/system.jwmrc"
+ einfo "or in ~/.jwmrc."
+ einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/"
+}