summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/jwm')
-rw-r--r--x11-wm/jwm/Manifest1
-rw-r--r--x11-wm/jwm/jwm-2.3.6.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/x11-wm/jwm/Manifest b/x11-wm/jwm/Manifest
index bcf0fd629146..c49f4df57601 100644
--- a/x11-wm/jwm/Manifest
+++ b/x11-wm/jwm/Manifest
@@ -1,3 +1,4 @@
DIST jwm-2.3.2.tar.xz 325648 SHA256 92a3e66ceb847aac9fa09a24b16c93194f6c52e398f5a88f228b4986ea972c53 SHA512 34b9d482815e8b269203e1f5bf02d3e13f3186153755c9e74094e4a8af376f35b8bef4553056e83c20ba0c532e6d2606633d71272e186fe45dfed9e4ea836a27 WHIRLPOOL 93d140919edf16fb44bf93b88880d017174036de363a514862c5553ea84796311ba74fa2f6736fa2f78fe639e95ad6087b38fa962d77c83c4c4d863e35c06703
DIST jwm-2.3.4.tar.xz 332140 SHA256 249867d2e21fab27f69d4f64b5c8acba5ddc540030e31e450c20ed4b647a06ee SHA512 db9f46ced4b1f8128673b551cd865b6c9b6c8d43f839cfe898168251e8326d402a510ce77144273488c1e65a96d66e16124e4b4749a5a96a9057c1eb20c2bee1 WHIRLPOOL 21328d615fba64fdda943ff0f90991f6f9b19106c0d05d04f2399d01fe63be66f07c9fa6ced34074adbc3d1b7720a602dfe687c41d6701f1f40b414f89c35075
DIST jwm-2.3.5.tar.xz 339792 SHA256 b0a7908ba3299f82542125f67e329a8a727c2761b4abaa6d0d489bdb8629acf0 SHA512 cb45a5fb349e6c130b89996ba11a99059e95ccedc4ea82ad527676130833fd93297b64fad905a1f22908a4ae69cca544a6353c37160ed8df3e1089f40f9a0565 WHIRLPOOL da46d3ddfefd60d22bd8fd623bebeeda82544f8408b22414a88aa5da4bc138087bc39c7363674982ffb6f73f3729665328bb42dbbff6da608c1ab516f5037137
+DIST jwm-2.3.6.tar.xz 343644 SHA256 a0fedbdf790d2ad2016730db593c436def277507bcdf96d6e85d7f4dc435273d SHA512 ed3556bf2e28bfcf36b2b145e6c08e75c24e47b723b16ce072100d2773338d819c5465e7af2dc6b842e2e35f375ec3a0b85d9987e0a8acecdbe628dc09eabd11 WHIRLPOOL 5b3d35cebef6c0a359179062ce54b3b48dbfbe67abda05a5111b52c55c6b0fd0391e9b127bc14a454e219853dc11020312bf4c0f182ba9fdd7cb94d941ba4e0d
diff --git a/x11-wm/jwm/jwm-2.3.6.ebuild b/x11-wm/jwm/jwm-2.3.6.ebuild
new file mode 100644
index 000000000000..1325308b6893
--- /dev/null
+++ b/x11-wm/jwm/jwm-2.3.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Very fast and lightweight still powerful window manager for X"
+HOMEPAGE="http://joewing.net/projects/jwm/"
+SRC_URI="http://joewing.net/projects/${PN}/releases/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
+IUSE="bidi cairo debug iconv jpeg nls png truetype xinerama xpm"
+
+RDEPEND="dev-libs/expat
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXrender
+ bidi? ( dev-libs/fribidi )
+ cairo? (
+ x11-libs/cairo
+ gnome-base/librsvg
+ )
+ iconv? ( virtual/libiconv )
+ jpeg? ( virtual/jpeg:0= )
+ nls? ( sys-devel/gettext
+ virtual/libintl )
+ png? ( media-libs/libpng:0= )
+ truetype? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto
+ xinerama? ( x11-proto/xineramaproto )"
+
+src_configure() {
+ econf \
+ $(use_enable bidi fribidi) \
+ $(use_enable cairo) \
+ $(use_enable debug) \
+ $(use_enable jpeg) \
+ $(use_enable nls) \
+ $(use_enable png) \
+ $(use_enable cairo rsvg) \
+ $(use_enable truetype xft) \
+ $(use_enable xinerama) \
+ $(use_enable xpm) \
+ $(use_with iconv libiconv-prefix /usr) \
+ $(use_with nls libintl-prefix /usr) \
+ --enable-shape \
+ --enable-xrender \
+ --disable-rpath
+}
+
+src_install() {
+ dodir /etc
+ dodir /usr/bin
+ dodir /usr/share/man
+
+ default
+
+ make_wrapper "${PN}" "/usr/bin/${PN}" "" "" "/etc/X11/Sessions"
+
+ insinto "/usr/share/xsessions"
+ doins "${FILESDIR}"/jwm.desktop
+
+ dodoc README.md example.jwmrc ChangeLog
+}
+
+pkg_postinst() {
+ einfo "JWM can be configured system-wide with ${EROOT}/etc/system.jwmrc"
+ einfo "or per-user by creating a configuration file in ~/.jwmrc"
+ einfo
+ einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/"
+}