summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-01-22 17:07:51 +0000
committerJeroen Roovers <jer@gentoo.org>2013-01-22 17:07:51 +0000
commit7e7f5b6331c1428b6d0fc4ee2d96b4aa224b6f8b (patch)
tree9e208c5fc519810efbb31ccdcf646e2bde2215b0 /app-misc/emelfm2
parentrevbump, migrated to -r1 (diff)
downloadgentoo-2-7e7f5b6331c1428b6d0fc4ee2d96b4aa224b6f8b.tar.gz
gentoo-2-7e7f5b6331c1428b6d0fc4ee2d96b4aa224b6f8b.tar.bz2
gentoo-2-7e7f5b6331c1428b6d0fc4ee2d96b4aa224b6f8b.zip
Version bump (bug #451874). Do not install unwanted linguas (bug #402893).
(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r--app-misc/emelfm2/ChangeLog10
-rw-r--r--app-misc/emelfm2/emelfm2-0.8.2.ebuild86
-rw-r--r--app-misc/emelfm2/metadata.xml1
3 files changed, 95 insertions, 2 deletions
diff --git a/app-misc/emelfm2/ChangeLog b/app-misc/emelfm2/ChangeLog
index cfd36e7290c3..5d5a724ce412 100644
--- a/app-misc/emelfm2/ChangeLog
+++ b/app-misc/emelfm2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/emelfm2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.50 2012/11/16 15:29:40 jer Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/ChangeLog,v 1.51 2013/01/22 17:07:51 jer Exp $
+
+*emelfm2-0.8.2 (22 Jan 2013)
+
+ 22 Jan 2013; Jeroen Roovers <jer@gentoo.org> +emelfm2-0.8.2.ebuild,
+ metadata.xml:
+ Version bump (bug #451874). Do not install unwanted linguas (bug #402893).
*emelfm2-0.8.1 (16 Nov 2012)
diff --git a/app-misc/emelfm2/emelfm2-0.8.2.ebuild b/app-misc/emelfm2/emelfm2-0.8.2.ebuild
new file mode 100644
index 000000000000..5a91c2dfe392
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.8.2.ebuild
@@ -0,0 +1,86 @@
+# 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.8.2.ebuild,v 1.1 2013/01/22 17:07:51 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 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
+ >=x11-libs/gtk+-2.12:2
+ 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:dbus-glib-1::' \
+ -e 's:@$(CC):$(CC):g' \
+ -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
+ Makefile || die
+
+ local lingua
+ for lingua in ${EMELFM2_LINGUAS[@]}; do
+ use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ done
+}
+
+src_configure() {
+ emel_use() {
+ use ${1} && echo "${2}=1" || echo "${2}=0"
+ }
+
+ #363813
+ myemelconf=(
+ $(emel_use acl WITH_ACL)
+ $(emel_use ansi WITH_OUTPUTSTYLES)
+ $(emel_use gimp WITH_THUMBS)
+ $(emel_use kernel_linux WITH_KERNELFAM)
+ $(emel_use nls I18N)
+ $(emel_use policykit WITH_POLKIT)
+ $(emel_use spell EDITOR_SPELLCHECK)
+ $(emel_use udev WITH_DEVKIT)
+ DOCS_VERSION=1
+ GTK3=0
+ 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[@]} \
+ $( use nls && echo install_i18n ) \
+ install
+
+ newicon icons/${PN}_48.png ${PN}.png
+}
diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml
index 540f810e069d..2d4aea48dc8b 100644
--- a/app-misc/emelfm2/metadata.xml
+++ b/app-misc/emelfm2/metadata.xml
@@ -2,4 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>desktop-misc</herd>
+ <use><flag name='ansi'>Add support for ANSI escape sequences</flag></use>
</pkgmetadata>