summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-09-22 14:42:31 +0000
committerJeroen Roovers <jer@gentoo.org>2013-09-22 14:42:31 +0000
commit8e4652750e700b6cd755294c01bc0504c159ba42 (patch)
tree358e70fa8c98d9d0b59adde75c26cb73cbb92857 /app-misc/emelfm2
parentStable for alpha, wrt bug #484486 (diff)
downloadgentoo-2-8e4652750e700b6cd755294c01bc0504c159ba42.tar.gz
gentoo-2-8e4652750e700b6cd755294c01bc0504c159ba42.tar.bz2
gentoo-2-8e4652750e700b6cd755294c01bc0504c159ba42.zip
Version bump (bug #485616 by teidakankan).
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r--app-misc/emelfm2/ChangeLog8
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.0.ebuild88
-rw-r--r--app-misc/emelfm2/metadata.xml1
3 files changed, 96 insertions, 1 deletions
diff --git a/app-misc/emelfm2/ChangeLog b/app-misc/emelfm2/ChangeLog
index b18dd9690a43..ba767dd33e50 100644
--- a/app-misc/emelfm2/ChangeLog
+++ b/app-misc/emelfm2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/emelfm2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.54 2013/01/25 15:25:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.55 2013/09/22 14:42:31 jer Exp $
+
+*emelfm2-0.9.0 (22 Sep 2013)
+
+ 22 Sep 2013; Jeroen Roovers <jer@gentoo.org> +emelfm2-0.9.0.ebuild,
+ metadata.xml:
+ Version bump (bug #485616 by teidakankan).
25 Jan 2013; Jeroen Roovers <jer@gentoo.org> -emelfm2-0.7.5.ebuild,
-emelfm2-0.8.0.ebuild:
diff --git a/app-misc/emelfm2/emelfm2-0.9.0.ebuild b/app-misc/emelfm2/emelfm2-0.9.0.ebuild
new file mode 100644
index 000000000000..a50b4c3f7477
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.9.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.9.0.ebuild,v 1.1 2013/09/22 14:42:31 jer Exp $
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="A file manager that implements the popular two-pane design"
+HOMEPAGE="http://emelfm2.net/"
+SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="acl ansi fam gimp gtk3 kernel_linux nls policykit spell udev"
+
+EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
+IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.26:2
+ !gtk3? ( >=x11-libs/gtk+-2.12:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ acl? ( sys-apps/acl )
+ gimp? ( media-gfx/gimp )
+ policykit? ( sys-auth/polkit )
+ spell? ( >=app-text/gtkspell-2.0.14:2 )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ udev? ( sys-fs/udisks:0 )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+RESTRICT="test"
+
+src_prepare() {
+ sed -i \
+ -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
+ -e 's:@$(CC):$(CC):g' \
+ -e 's:dbus-glib-1::' \
+ Makefile || die
+
+ local lingua
+ for lingua in ${EMELFM2_LINGUAS[@]}; do
+ use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ done
+}
+
+src_configure() {
+ myemelconf=(
+ $(usex acl WITH_ACL=1 WITH_ACL=0)
+ $(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
+ $(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
+ $(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
+ $(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
+ $(usex nls I18N=1 I18N=0)
+ $(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
+ $(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
+ $(usex udev WITH_DEVKIT=1 WITH_DEVKIT=0)
+ DOCS_VERSION=1
+ STRIP=0
+ WITH_TRANSPARENCY=1
+ )
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ LIB_DIR="/usr/$(get_libdir)" \
+ PREFIX="/usr" \
+ ${myemelconf[@]}
+}
+
+src_install() {
+ emake \
+ LIB_DIR="${D}/usr/$(get_libdir)" \
+ PREFIX="${D}/usr" \
+ ${myemelconf[@]} \
+ install \
+ $(usex nls install_i18n '')
+
+ newicon icons/${PN}_48.png ${PN}.png
+}
diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml
index 2d4aea48dc8b..d08cba0fd23e 100644
--- a/app-misc/emelfm2/metadata.xml
+++ b/app-misc/emelfm2/metadata.xml
@@ -3,4 +3,5 @@
<pkgmetadata>
<herd>desktop-misc</herd>
<use><flag name='ansi'>Add support for ANSI escape sequences</flag></use>
+ <use><flag name='gtk3'>Use <pkg>x11-libs/gtk:3</pkg> instead of <pkg>x11-libs/gtk:2</pkg></flag></use>
</pkgmetadata>