summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-04-24 19:02:27 +0000
committerTom William Payne <twp@gentoo.org>2003-04-24 19:02:27 +0000
commit4087ed889866a33a42952be981a74c8685d83983 (patch)
tree4a5a6ee90bbfc436715417e8d79dc1538916d3b8 /x11-wm
parentremove extra enable-pear (diff)
downloadgentoo-2-4087ed889866a33a42952be981a74c8685d83983.tar.gz
gentoo-2-4087ed889866a33a42952be981a74c8685d83983.tar.bz2
gentoo-2-4087ed889866a33a42952be981a74c8685d83983.zip
Added support for xinerama USE flag. Tidied ebuild.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/ion-devel/ChangeLog8
-rw-r--r--x11-wm/ion-devel/files/digest-ion-devel-20030416-r12
-rw-r--r--x11-wm/ion-devel/ion-devel-20030416-r1.ebuild74
3 files changed, 82 insertions, 2 deletions
diff --git a/x11-wm/ion-devel/ChangeLog b/x11-wm/ion-devel/ChangeLog
index 5722bbe6c013..31bf6120ba0a 100644
--- a/x11-wm/ion-devel/ChangeLog
+++ b/x11-wm/ion-devel/ChangeLog
@@ -1,8 +1,12 @@
# ChangeLog for x11-wm/ion-devel
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion-devel/ChangeLog,v 1.10 2003/04/16 22:38:21 twp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion-devel/ChangeLog,v 1.11 2003/04/24 19:02:04 twp Exp $
-*ion-devel-20030415 (16 Apr 2003)
+*ion-devel-20030416 (16 Apr 2003)
+
+ 24 Apr 2003; Tom Payne <twp@gentoo.org> ion-devel-20030416-r1.ebuild :
+
+ Added support for xinerama USE flag. Tidied ebuild.
16 Apr 2003; Tom Payne <twp@gentoo.org> ion-devel-20030416.ebuild :
diff --git a/x11-wm/ion-devel/files/digest-ion-devel-20030416-r1 b/x11-wm/ion-devel/files/digest-ion-devel-20030416-r1
new file mode 100644
index 000000000000..4a0e506a5911
--- /dev/null
+++ b/x11-wm/ion-devel/files/digest-ion-devel-20030416-r1
@@ -0,0 +1,2 @@
+MD5 8a8056119d50d64849a9c75a4e0efca8 /ion-devel-20030416-r1.ebuild 2568
+MD5 07da07e2ac4e20855d5621f1111bd09b ion-devel-20030416.tar.gz 208911
diff --git a/x11-wm/ion-devel/ion-devel-20030416-r1.ebuild b/x11-wm/ion-devel/ion-devel-20030416-r1.ebuild
new file mode 100644
index 000000000000..866eea881db0
--- /dev/null
+++ b/x11-wm/ion-devel/ion-devel-20030416-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion-devel/ion-devel-20030416-r1.ebuild,v 1.1 2003/04/24 19:02:04 twp Exp $
+
+MY_P=${PN}-${PV/_p/-}
+DESCRIPTION="A tiling tabbed window manager designed with keyboard users in mind"
+HOMEPAGE="http://www.iki.fi/tuomov/ion/"
+SRC_URI="http://modeemi.fi/~tuomov/dl/${MY_P}.tar.gz"
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="truetype xinerama"
+DEPEND="virtual/glibc
+ app-misc/run-mailcap
+ >=dev-lang/lua-5
+ dev-lang/perl
+ truetype? ( virtual/xft )"
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+
+ cp system.mk system.mk.orig
+ sed -e 's:^PREFIX=/usr/local/ion-devel:PREFIX=/usr:' \
+ -e 's:^ETCDIR=$(PREFIX)/etc:ETCDIR=/etc/X11:' \
+ -e 's:^MANDIR=$(PREFIX)/man:MANDIR=$(PREFIX)/share/man:' \
+ -e 's:^DOCDIR=$(PREFIX)/doc:DOCDIR=$(PREFIX)/share/doc:' \
+ -e 's:^#\(LUA_LIBS = -llua -llualib\):\1:' \
+ -e 's:^#\(LUA_INCLUDES =\):\1:' \
+ -e '/^LUA_PATH=\/usr\/local\/lib/d' \
+ -e '/^LUA_LIBS = -L$(LUA_PATH) -R$(LUA_PATH) -llua -llualib/d' \
+ -e '/^LUA_INCLUDES = -I$(LUA_PATH)\/include/d' \
+ -e 's:^#\(DEFINES += -DCF_UTF8 -DCF_ICONV_TARGET=\\"WCHAR_T\\" -DCF_ICONV_SOURCE=\\"UTF-8\\"\):\1:' \
+ -e 's:^#\(HAS_SYSTEM_ASPRINTF=1\):\1:' \
+ -e 's:#\(XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED\):\1:' \
+ -e "s:^\\(CFLAGS=\\)-g -O2\\(\$(WARN) \$(DEFINES) \$(INCLUDES) \$(EXTRA_INCLUDES)\\):\\1${CFLAGS}\\2:" \
+ system.mk.orig > system.mk
+
+ if [ "`use truetype`" ]; then
+ local xft_config=`which xft-config 2> /dev/null`
+ if [ -n "${xft_config}" ] && [ -x "${xft_config}" ]; then
+ local xft_cflags=`${xft_config} --cflags`
+ local xft_libs=`${xft_config} --libs`
+ else
+ local xft_cflags=
+ local xft_libs="-lXft"
+ fi
+ cp system.mk system.mk.orig
+ sed -e 's:#\(DEFINES += -DCF_XFT\):\1:' \
+ -e "s:#\\(X11_INCLUDES += \\)\`xft-config --cflags\`:\\1${xft_cflags}:" \
+ -e "s:#\\(X11_LIBS += \\)\`xft-config --libs\`:\\1${xft_libs}:" \
+ system.mk.orig > system.mk
+ fi
+
+ if [ -z "`use xinerma`" ]; then
+ cp system.mk system.mk.orig
+ sed -e '/XINERAMA_LIBS=-lXinerma/d' \
+ -e 's:#\(DEFINES += CF_NO_XINERAMA\):\1:' \
+ system.mk.orig > system.mk
+ fi
+
+ cp Makefile Makefile.orig
+ sed -e "s:\$(DOCDIR)/ion:\$(DOCDIR)/${PF}:" \
+ Makefile.orig > Makefile
+
+ emake || die
+
+}
+
+src_install() {
+ make PREFIX=${D}/usr ETCDIR=${D}/etc/X11 install || die
+ echo -n "#!/bin/sh\n/usr/bin/ion" > ion-devel
+ exeinto /etc/X11/Sessions
+ doexe ion-devel
+}