/[gentoo-x86]/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild
Gentoo

Contents of /app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu Dec 29 20:10:20 2011 UTC (8 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Version bump by teidakankan (bug #377621). Install translations by dragongrot (bug #369709).

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.7.2-r1.ebuild,v 1.10 2011/10/27 05:53:51 tetromino Exp $
4
5 EAPI=2
6 inherit eutils multilib toolchain-funcs
7
8 DESCRIPTION="A file manager that implements the popular two-pane design"
9 HOMEPAGE="http://emelfm2.net/"
10 SRC_URI="http://${PN}.net/rel/${P}.tar.bz2"
11
12 LICENSE="GPL-3 LGPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
15 IUSE="acl fam gimp kernel_linux nls policykit spell udev"
16
17 RDEPEND=">=x11-libs/gtk+-2.12:2
18 acl? ( sys-apps/acl )
19 !kernel_linux? ( fam? ( virtual/fam ) )
20 gimp? ( media-gfx/gimp )
21 policykit? ( sys-auth/polkit )
22 spell? ( app-text/gtkspell:2 )
23 udev? ( sys-fs/udisks
24 dev-libs/dbus-glib )"
25 DEPEND="${RDEPEND}
26 dev-util/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 RESTRICT="test"
30
31 pkg_setup() {
32 myconf="DOCS_VERSION=1 WITH_TRANSPARENCY=1 STRIP=0"
33
34 use udev && myconf="${myconf} WITH_DEVKIT=1"
35 use gimp && myconf="${myconf} WITH_THUMBS=1"
36 use acl && myconf="${myconf} WITH_ACL=1"
37 use kernel_linux && myconf="${myconf} WITH_KERNELFAM=1 USE_INOTIFY=1"
38 use spell && myconf="${myconf} EDITOR_SPELLCHECK=1"
39 use nls || myconf="${myconf} I18N=0"
40 use policykit && myconf="${myconf} WITH_POLKIT=1"
41
42 if ! use kernel_linux && use fam; then
43 if has_version "app-admin/gamin"; then
44 myconf="${myconf} USE_GAMIN=1"
45 else
46 myconf="${myconf} USE_FAM=1"
47 fi
48 fi
49 }
50
51 src_compile() {
52 tc-export CC
53 emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
54 ${myconf} || die
55 }
56
57 src_install() {
58 emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
59 ${myconf} install || die
60 newicon icons/${PN}_48.png ${PN}.png
61 prepalldocs
62 }

  ViewVC Help
Powered by ViewVC 1.1.20