summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-08 10:00:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-08 10:00:02 +0000
commit0406fbd368d650b6f0c7e02e546833f12a03bf1a (patch)
tree04a7b0ce405dd56b66d6e693d315b5f1c7f6b1d5 /app-misc/emelfm2
parentMask emelfm2-0.7.2-r1 because required udisks is masked too. (diff)
downloadgentoo-2-0406fbd368d650b6f0c7e02e546833f12a03bf1a.tar.gz
gentoo-2-0406fbd368d650b6f0c7e02e546833f12a03bf1a.tar.bz2
gentoo-2-0406fbd368d650b6f0c7e02e546833f12a03bf1a.zip
Introduce org.freedesktop.UDisks support wrt #313579.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r--app-misc/emelfm2/ChangeLog8
-rw-r--r--app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild61
-rw-r--r--app-misc/emelfm2/metadata.xml5
3 files changed, 72 insertions, 2 deletions
diff --git a/app-misc/emelfm2/ChangeLog b/app-misc/emelfm2/ChangeLog
index 691c7c8ef1f5..d3eaf4a45b44 100644
--- a/app-misc/emelfm2/ChangeLog
+++ b/app-misc/emelfm2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/emelfm2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.31 2010/04/06 21:33:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.32 2010/04/08 10:00:02 ssuominen Exp $
+
+*emelfm2-0.7.2-r1 (08 Apr 2010)
+
+ 08 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +emelfm2-0.7.2-r1.ebuild:
+ Introduce org.freedesktop.UDisks support wrt #313579.
*emelfm2-0.7.2 (06 Apr 2010)
diff --git a/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild b/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..03ed4dc5189b
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild,v 1.1 2010/04/08 10:00:02 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib toolchain-funcs
+
+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-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="acl fam gimp kernel_linux nls policykit spell udev"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2
+ acl? ( sys-apps/acl )
+ !kernel_linux? ( fam? ( virtual/fam ) )
+ gimp? ( media-gfx/gimp )
+ policykit? ( sys-auth/polkit )
+ spell? ( app-text/gtkspell )
+ udev? ( sys-fs/udisks )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+RESTRICT="test"
+
+pkg_setup() {
+ myconf="DOCS_VERSION=1 WITH_TRANSPARENCY=1 STRIP=0"
+
+ use udev && myconf="${myconf} WITH_DEVKIT=1"
+ use gimp && myconf="${myconf} WITH_THUMBS=1"
+ use acl && myconf="${myconf} WITH_ACL=1"
+ use kernel_linux && myconf="${myconf} WITH_KERNELFAM=1 USE_INOTIFY=1"
+ use spell && myconf="${myconf} EDITOR_SPELLCHECK=1"
+ use nls || myconf="${myconf} I18N=0"
+ use policykit && myconf="${myconf} WITH_POLKIT=1"
+
+ if ! use kernel_linux && use fam; then
+ if has_version "app-admin/gamin"; then
+ myconf="${myconf} USE_GAMIN=1"
+ else
+ myconf="${myconf} USE_FAM=1"
+ fi
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
+ ${myconf} || die
+}
+
+src_install() {
+ emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
+ ${myconf} install || die
+ newicon icons/${PN}_48.png ${PN}.png
+ prepalldocs
+}
diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml
index 731225048652..b46ea22388a6 100644
--- a/app-misc/emelfm2/metadata.xml
+++ b/app-misc/emelfm2/metadata.xml
@@ -1,5 +1,8 @@
<?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>
+ <use>
+ <flag name="udev">Enable udev support using <pkg>sys-fs/udisks</pkg></flag>
+ </use>
</pkgmetadata>