diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2007-12-15 21:15:38 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2007-12-15 21:15:38 +0000 |
commit | 1da851b2f6344b8d3ac5d89ad945dfdad77c21f2 (patch) | |
tree | 4b18a5dfc95ad6313112ec962c77d8ec0369b8f8 /x11-wm/flwm | |
parent | Fix xft support, see #99993 (Thanks to Aaron M. Ucko). (diff) | |
download | gentoo-2-1da851b2f6344b8d3ac5d89ad945dfdad77c21f2.tar.gz gentoo-2-1da851b2f6344b8d3ac5d89ad945dfdad77c21f2.tar.bz2 gentoo-2-1da851b2f6344b8d3ac5d89ad945dfdad77c21f2.zip |
Bump to 1.02, use savedconfig.eclass. Use EAPI=1 and update fltk dep, fixes #99993.
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-wm/flwm')
-rw-r--r-- | x11-wm/flwm/ChangeLog | 9 | ||||
-rw-r--r-- | x11-wm/flwm/files/digest-flwm-1.02 | 3 | ||||
-rw-r--r-- | x11-wm/flwm/files/flwm-1.02-strip.patch | 11 | ||||
-rw-r--r-- | x11-wm/flwm/flwm-1.02.ebuild | 45 |
4 files changed, 67 insertions, 1 deletions
diff --git a/x11-wm/flwm/ChangeLog b/x11-wm/flwm/ChangeLog index 9a578fcf16cc..98feaa2a4d5e 100644 --- a/x11-wm/flwm/ChangeLog +++ b/x11-wm/flwm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-wm/flwm # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/flwm/ChangeLog,v 1.13 2007/07/13 18:37:55 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/flwm/ChangeLog,v 1.14 2007/12/15 21:15:37 coldwind Exp $ + +*flwm-1.02 (15 Dec 2007) + + 15 Dec 2007; Santiago M. Mola <coldwind@gentoo.org> + +files/flwm-1.02-strip.patch, +flwm-1.02.ebuild: + Bump to 1.02, use savedconfig.eclass. Use EAPI=1 and update fltk dep, + fixes #99993. 13 Jul 2007; Santiago M. Mola <coldwind@gentoo.org> +files/flwm-1.00-fltk1.1.patch, -files/fltk1.1.patch, flwm-1.00-r4.ebuild: diff --git a/x11-wm/flwm/files/digest-flwm-1.02 b/x11-wm/flwm/files/digest-flwm-1.02 new file mode 100644 index 000000000000..e7793e37b5a5 --- /dev/null +++ b/x11-wm/flwm/files/digest-flwm-1.02 @@ -0,0 +1,3 @@ +MD5 33e1738441c351153a9c0a83a051bf7c flwm-1.02.tgz 64142 +RMD160 634af3b1882f1753fd82d54e09f2484c9aadad68 flwm-1.02.tgz 64142 +SHA256 0570681d68f7ab8873e3a85ec48caea5e456971b222e56d5d615ab46e3cb0478 flwm-1.02.tgz 64142 diff --git a/x11-wm/flwm/files/flwm-1.02-strip.patch b/x11-wm/flwm/files/flwm-1.02-strip.patch new file mode 100644 index 000000000000..fb0e0dee5d16 --- /dev/null +++ b/x11-wm/flwm/files/flwm-1.02-strip.patch @@ -0,0 +1,11 @@ +--- flwm-1.02.orig/Makefile ++++ flwm-1.02/Makefile +@@ -44,7 +44,7 @@ + include makedepend + + install: $(PROGRAM) +- $(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM) ++ $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM) + $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) + + uninstall: diff --git a/x11-wm/flwm/flwm-1.02.ebuild b/x11-wm/flwm/flwm-1.02.ebuild new file mode 100644 index 000000000000..c54fa06f6db0 --- /dev/null +++ b/x11-wm/flwm/flwm-1.02.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/flwm/flwm-1.02.ebuild,v 1.1 2007/12/15 21:15:38 coldwind Exp $ + +EAPI=1 + +inherit savedconfig eutils flag-o-matic multilib + +DESCRIPTION="A lightweight window manager based on fltk" +HOMEPAGE="http://flwm.sourceforge.net" +SRC_URI="http://flwm.sourceforge.net/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="opengl" + +DEPEND=">=x11-libs/fltk-1.1.7-r3:1.1 + opengl? ( virtual/opengl )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-strip.patch" + + restore_config config.h +} + +src_compile() { + use opengl && export X_EXTRA_LIBS=-lGL + append-flags -I/usr/include/fltk-1.1 + append-ldflags -L/usr/$(get_libdir)/fltk-1.1 + + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + doman flwm.1 || die + dodoc README flwm_wmconfig || die + dobin flwm || die + + save_config config.h +} |