summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-02-23 12:51:46 +0000
committerBen de Groot <yngwin@gentoo.org>2010-02-23 12:51:46 +0000
commit8fb813181173746fe27065eeadd07da39b340fb0 (patch)
tree8ce7f219db1941124c2a248b618e97311f5483f9 /x11-wm
parentlibnss-mysql: Bump to upstream snapshot, change install location back to /lib... (diff)
downloadgentoo-2-8fb813181173746fe27065eeadd07da39b340fb0.tar.gz
gentoo-2-8fb813181173746fe27065eeadd07da39b340fb0.tar.bz2
gentoo-2-8fb813181173746fe27065eeadd07da39b340fb0.zip
Version bump
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/echinus/ChangeLog9
-rw-r--r--x11-wm/echinus/echinus-0.4.0.ebuild66
2 files changed, 73 insertions, 2 deletions
diff --git a/x11-wm/echinus/ChangeLog b/x11-wm/echinus/ChangeLog
index 2cf8c95ae626..64b1d0910a0a 100644
--- a/x11-wm/echinus/ChangeLog
+++ b/x11-wm/echinus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/echinus
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/echinus/ChangeLog,v 1.5 2009/10/07 11:48:03 yngwin Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/echinus/ChangeLog,v 1.6 2010/02/23 12:51:46 yngwin Exp $
+
+*echinus-0.4.0 (23 Feb 2010)
+
+ 23 Feb 2010; Ben de Groot <yngwin@gentoo.org> +echinus-0.4.0.ebuild:
+ Version bump
*echinus-0.3.6 (07 Oct 2009)
diff --git a/x11-wm/echinus/echinus-0.4.0.ebuild b/x11-wm/echinus/echinus-0.4.0.ebuild
new file mode 100644
index 000000000000..f152ba493009
--- /dev/null
+++ b/x11-wm/echinus/echinus-0.4.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/echinus/echinus-0.4.0.ebuild,v 1.1 2010/02/23 12:51:46 yngwin Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A window manager for X in the spirit of dwm"
+HOMEPAGE="http://www.rootshell.be/~polachok/code/"
+SRC_URI="http://www.rootshell.be/~polachok/code/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXft"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/CFLAGS = -Os/CFLAGS += -g/" \
+ -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
+ config.mk || die "sed failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/${PN}.desktop
+
+ doman ${PN}.1
+ dodoc README
+}
+
+pkg_postinst() {
+ if ! has_version x11-misc/dmenu; then
+ elog "Installing ${PN} without x11-misc/dmenu"
+ elog "To have a menu you can install x11-misc/dmenu"
+ elog "and use \"Echinus*spawn\" in echinusrc"
+ elog "to launch dmenu_run. Check echinus documentation for details."
+ elog ""
+ fi
+ # x11-misc/ourico is not in portage atm, this will change soon.
+ #if ! has_version x11-misc/ourico; then
+ # elog "Installing ${PN} without x11-misc/ourico"
+ # elog "To have a taskbar you can install x11-misc/ourico"
+ # elog ""
+ #fi
+ elog "A standard config file with its pixmaps has been installed to:"
+ elog "${PREFIX}/usr/share/examples/${PN}/"
+ elog "Copy this folder to ~/.${PN}/ and modify the echinusrc as you wish."
+ elog ""
+ elog "For changing the modkey you can use \"Echinus*modkey: X\""
+ elog "in echinusrc. Replace the X with the number you want to use,"
+ elog "1 is for Mod1Mask, 2 for Mod2Mask and so on."
+}