diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-02-21 20:21:55 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-02-21 20:21:55 +0000 |
commit | 9fcf5f02d8e9712d623afa0b9e97dede3316445a (patch) | |
tree | 53a8c69f845bfb002549520c6c3162713f9ac63b /app-misc/emelfm2 | |
parent | Remove erraneous reference to bash-completion-config man page (diff) | |
download | gentoo-2-9fcf5f02d8e9712d623afa0b9e97dede3316445a.tar.gz gentoo-2-9fcf5f02d8e9712d623afa0b9e97dede3316445a.tar.bz2 gentoo-2-9fcf5f02d8e9712d623afa0b9e97dede3316445a.zip |
Version bump, fixes bug 251660
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r-- | app-misc/emelfm2/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/emelfm2/emelfm2-0.5.1.ebuild | 70 | ||||
-rw-r--r-- | app-misc/emelfm2/metadata.xml | 2 |
3 files changed, 79 insertions, 3 deletions
diff --git a/app-misc/emelfm2/ChangeLog b/app-misc/emelfm2/ChangeLog index 00c8ecf83c61..2b8fd28435be 100644 --- a/app-misc/emelfm2/ChangeLog +++ b/app-misc/emelfm2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/emelfm2 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.21 2008/09/27 02:34:45 yngwin Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.22 2009/02/21 20:21:55 yngwin Exp $ + +*emelfm2-0.5.1 (21 Feb 2009) + + 21 Feb 2009; Ben de Groot <yngwin@gentoo.org> metadata.xml, + +emelfm2-0.5.1.ebuild: + Version bump, fixes bug 251660 27 Sep 2008; Ben de Groot <yngwin@gentoo.org> emelfm2-0.4.1.ebuild: Add hal useflag and PREFIX as suggested in bug 223543. diff --git a/app-misc/emelfm2/emelfm2-0.5.1.ebuild b/app-misc/emelfm2/emelfm2-0.5.1.ebuild new file mode 100644 index 000000000000..157126c2ab55 --- /dev/null +++ b/app-misc/emelfm2/emelfm2-0.5.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.5.1.ebuild,v 1.1 2009/02/21 20:21:55 yngwin Exp $ + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="A file manager that implements the popular two-pane design" +HOMEPAGE="http://emelfm2.net" +SRC_URI="http://${PN}.net/rel/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="acl fam hal unicode" + +RESTRICT="test" + +RDEPEND=">=x11-libs/gtk+-2.12 + fam? ( virtual/fam ) + acl? ( sys-apps/acl ) + hal? ( sys-apps/hal + sys-apps/dbus + dev-libs/dbus-glib )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:${PN}/${PN}_48.png:${PN}:" \ + docs/desktop_environment/${PN}.desktop || die "sed failed." + sed -e "s:(PREFIX)/lib:(PREFIX)/$(get_libdir):" -e "s:strip:true:g" \ + -i Makefile || die "sed failed." +} + +src_compile() { + # These options need >=x11-libs/gtk-2.12 which we depend upon + local myconf="USE_LATEST=1 WITH_TRANSPARENCY=1 PREFIX=/usr" + + if use acl; then + myconf="${myconf} WITH_ACL=1" + fi + + if use unicode; then + myconf="${myconf} FILES_UTF8ONLY=1" + fi + + if use fam; then + if has_version "app-admin/gamin"; then + myconf="${myconf} USE_GAMIN=1" + else + myconf="${myconf} USE_FAM=1" + fi + else + myconf="${myconf} USE_FAM=0" + fi + + if use hal; then + myconf="${myconf} WITH_HAL=1" + fi + + tc-export CC + emake ICON_DIR="/usr/share/pixmaps/${PN}" ${myconf} || die "emake failed." +} + +src_install() { + emake PREFIX="${D}/usr" install || die "emake install failed." + newicon icons/${PN}_48.png ${PN}.png + prepalldocs +} diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml index 731225048652..540f810e069d 100644 --- a/app-misc/emelfm2/metadata.xml +++ b/app-misc/emelfm2/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>desktop-misc</herd> + <herd>desktop-misc</herd> </pkgmetadata> |