summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-08-27 20:23:58 +0000
committerMichael Weber <xmw@gentoo.org>2013-08-27 20:23:58 +0000
commit759a0f87dc359bacad96bf83cfeb729174d94926 (patch)
tree4170e60ac2c42e456240a7b96149b696524ae783 /x11-wm
parentadd ~x86, bug #473734 (diff)
downloadgentoo-2-759a0f87dc359bacad96bf83cfeb729174d94926.tar.gz
gentoo-2-759a0f87dc359bacad96bf83cfeb729174d94926.tar.bz2
gentoo-2-759a0f87dc359bacad96bf83cfeb729174d94926.zip
Add well tested snapshot version.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/cwm/ChangeLog7
-rw-r--r--x11-wm/cwm/cwm-5.1_p20130728.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/x11-wm/cwm/ChangeLog b/x11-wm/cwm/ChangeLog
index 4702705d8ba8..e60b89e21871 100644
--- a/x11-wm/cwm/ChangeLog
+++ b/x11-wm/cwm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/cwm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/ChangeLog,v 1.44 2013/08/27 20:12:55 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/ChangeLog,v 1.45 2013/08/27 20:23:58 xmw Exp $
+
+*cwm-5.1_p20130728 (27 Aug 2013)
+
+ 27 Aug 2013; Michael Weber <xmw@gentoo.org> +cwm-5.1_p20130728.ebuild:
+ Add well tested snapshot version.
27 Aug 2013; Michael Weber <xmw@gentoo.org> cwm-9999.ebuild:
Update live ebuild.
diff --git a/x11-wm/cwm/cwm-5.1_p20130728.ebuild b/x11-wm/cwm/cwm-5.1_p20130728.ebuild
new file mode 100644
index 000000000000..f7e47563943d
--- /dev/null
+++ b/x11-wm/cwm/cwm-5.1_p20130728.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/cwm-5.1_p20130728.ebuild,v 1.1 2013/08/27 20:23:58 xmw Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager"
+HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/
+ http://github.com/chneukirchen/cwm"
+SRC_URI="vanilla? ( https://github.com/chneukirchen/cwm/tarball/0dec9e8 -> ${P}-chneukirchen.tar.gz )
+ !vanilla? ( https://github.com/xmw/cwm/tarball/b8be675 -> ${P}-xmw.tar.gz )"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="vanilla"
+
+RDEPEND="x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/bison"
+
+src_unpack() {
+ default
+ # vcs-snapshot doesn't work with tarball names
+ mv *-${PN}-* ${P} || die
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc README
+ make_session_desktop ${PN} ${PN}
+}