summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-01-27 15:42:33 +0000
committerMichael Weber <xmw@gentoo.org>2012-01-27 15:42:33 +0000
commit436a224dcc8aafa5c70ed1d99ff0812fb4cdadbd (patch)
tree8931a0fe4785d8c5eb9e36315d608a15c58ca3a9 /x11-wm
parentStable for amd64, wrt bug #400011 (diff)
downloadgentoo-2-436a224dcc8aafa5c70ed1d99ff0812fb4cdadbd.tar.gz
gentoo-2-436a224dcc8aafa5c70ed1d99ff0812fb4cdadbd.tar.bz2
gentoo-2-436a224dcc8aafa5c70ed1d99ff0812fb4cdadbd.zip
Version bump (bug 398831, thanks elvis4526 for the hint)
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/scrotwm/ChangeLog10
-rw-r--r--x11-wm/scrotwm/files/scrotwm-0.10.0-makefile.patch32
-rw-r--r--x11-wm/scrotwm/scrotwm-0.10.0.ebuild33
3 files changed, 73 insertions, 2 deletions
diff --git a/x11-wm/scrotwm/ChangeLog b/x11-wm/scrotwm/ChangeLog
index 35a54c963351..4202c835f21c 100644
--- a/x11-wm/scrotwm/ChangeLog
+++ b/x11-wm/scrotwm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-wm/scrotwm
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/scrotwm/ChangeLog,v 1.3 2011/11/11 00:24:33 xmw Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/scrotwm/ChangeLog,v 1.4 2012/01/27 15:42:32 xmw Exp $
+
+*scrotwm-0.10.0 (27 Jan 2012)
+
+ 27 Jan 2012; Michael Weber <xmw@gentoo.org> +scrotwm-0.10.0.ebuild,
+ +files/scrotwm-0.10.0-makefile.patch:
+ Version bump (bug 398831, thanks elvis4526 for the hint)
11 Nov 2011; Michael Weber <xmw@gentoo.org> -scrotwm-0.9.28.ebuild,
-files/scrotwm-0.9.28-makefile.patch:
diff --git a/x11-wm/scrotwm/files/scrotwm-0.10.0-makefile.patch b/x11-wm/scrotwm/files/scrotwm-0.10.0-makefile.patch
new file mode 100644
index 000000000000..fd54b4a36761
--- /dev/null
+++ b/x11-wm/scrotwm/files/scrotwm-0.10.0-makefile.patch
@@ -0,0 +1,32 @@
+--- scrotwm-0.10.0/work/scrotwm-0.10.0/linux/Makefile.orig 2012-01-27 16:30:23.673422152 +0100
++++ scrotwm-0.10.0/work/scrotwm-0.10.0/linux/Makefile 2012-01-27 16:32:12.309064021 +0100
+@@ -1,5 +1,5 @@
+-CFLAGS+= -Wall -ggdb -D_GNU_SOURCE -I.
+-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
++CFLAGS+= -Wall -D_GNU_SOURCE -I.
++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
+ LDADD+= -lX11 -lXrandr -lXtst
+
+ PREFIX?= /usr/local
+@@ -7,7 +7,7 @@
+ LIBDIR?= $(PREFIX)/lib
+ MANDIR?= $(PREFIX)/share/man
+
+-CC= gcc
++CC ?= gcc
+
+ LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
+
+@@ -24,10 +24,10 @@
+ $(CC) $(LDFLAGS) -o $@ $+ $(LDADD)
+
+ %.so: %.c
+- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@
+
+ libswmhack.so.$(LVERS): swm_hack.so
+- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
+
+ install: all
+ install -m 755 -d $(DESTDIR)$(BINDIR)
diff --git a/x11-wm/scrotwm/scrotwm-0.10.0.ebuild b/x11-wm/scrotwm/scrotwm-0.10.0.ebuild
new file mode 100644
index 000000000000..9bd9898702a3
--- /dev/null
+++ b/x11-wm/scrotwm/scrotwm-0.10.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/scrotwm/scrotwm-0.10.0.ebuild,v 1.1 2012/01/27 15:42:32 xmw Exp $
+
+EAPI=3
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Small dynamic tiling window manager for X11"
+HOMEPAGE="http://www.scrotwm.org"
+SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-misc/dmenu"
+DEPEND="${DEPEND}
+ x11-libs/libX11
+ x11-libs/libXrandr
+ x11-libs/libXtst"
+
+S=${WORKDIR}/${P}/linux
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ emake PREFIX="${D}"usr LIBDIR="${D}usr/$(get_libdir)" install || die
+}