app-misc/gnome-commander: TYPO!
[gentoo-soor-overlay.git] / app-misc / gnome-commander / gnome-commander-1.3.0.99.ebuild
Commit [+]AuthorDateLineData
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +02001# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License, v2 or later
3# $Header:
4
fa466a20
LVM
Leonardo Valeri Manera2008-05-09 19:09:51 +02005EAPI="1"
6
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +02007inherit gnome2 flag-o-matic subversion autotools
8
9DESCRIPTION="A full featured, dual-pane file manager for Gnome2"
10HOMEPAGE="http://www.nongnu.org/gcmd/"
11
12ESVN_REPO_URI="svn://svn.gnome.org/svn/gnome-commander/branches/gcmd-1-3"
13SRC_URI=""
14
15KEYWORDS=""
16
17LICENSE="GPL-2"
18
17cd5ec0 Leonardo Valeri Manera2008-05-09 20:25:25 +020019IUSE="doc chm exif gsf taglib python"
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020020SLOT="0"
21
ee309134
LVM
Leonardo Valeri Manera2008-05-09 20:20:48 +020022USE_DESC="chm: add support for Microsoft Compiled HTML Help files
23 exif: add support for Exif and IPTC
361a2415 Leonardo Valeri Manera2008-04-28 23:59:36 +020024 gsf: add support for OLE, OLE2 and ODF
ee309134 Leonardo Valeri Manera2008-05-09 20:20:48 +020025 taglib: add support for ID3, Vorbis, FLAC and APE
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020026 python: add support for python plugins"
27
ee309134
LVM
Leonardo Valeri Manera2008-05-09 20:20:48 +020028RDEPEND=">=x11-libs/gtk+-2.8.0:2
29 >=dev-libs/glib-2.6.0:2
30 >=gnome-base/libgnomeui-2.4.0
31 >=gnome-base/libgnome-2.4.0
32 >=gnome-base/gnome-vfs-2.0.0
fa466a20 Leonardo Valeri Manera2008-05-09 19:09:51 +020033 virtual/fam
ee309134
LVM
Leonardo Valeri Manera2008-05-09 20:20:48 +020034 chm? ( >=app-doc/chmlib-0.39 )
35 exif? ( >=media-gfx/exiv2-0.14 )
36 gsf? ( >=gnome-extra/libgsf-1.12.0 )
37 taglib? ( >=media-libs/taglib-1.4 )
38 python? ( >=dev-lang/python-2.4 )"
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020039
40DEPEND="${RDEPEND}
f5829974 Leonardo Valeri Manera2008-05-10 00:37:25 +020041 gnome-base/gnome-common
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020042 dev-util/intltool
43 dev-util/pkgconfig"
44
45DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
46
47pkg_setup() {
48 G2CONF=" ${G2CONF}
96c86516 Leonardo Valeri Manera2008-05-09 20:28:31 +020049 $(use_with chm chmlib)
9890f55c Leonardo Valeri Manera2008-05-09 21:40:25 +020050 $(use_with exif exiv2 )
ee309134
LVM
Leonardo Valeri Manera2008-05-09 20:20:48 +020051 $(use_with gsf libgsf)
52 $(use_with taglib taglib)
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020053 $(use_enable python python)"
54
55 filter-ldflags -Wl,--as-needed
56}
57
58src_unpack() {
59 subversion_fetch || die "svn fetch failed"
60
61 cd "${S}"
62
361a2415
LVM
Leonardo Valeri Manera2008-04-28 23:59:36 +020063 gnome2_omf_fix || die "Gnome2 OMF Fix failed"
64
9890f55c Leonardo Valeri Manera2008-05-09 21:40:25 +020065 # implement autogen.sh with eclass tools
ee309134 Leonardo Valeri Manera2008-05-09 20:20:48 +020066 rm -rf autom4te.cache
10064634
LVM
Leonardo Valeri Manera2008-05-09 21:21:21 +020067 autotools_run_tool libtoolize --force --copy
68 autotools_run_tool glib-gettextize --force --copy
69 autotools_run_tool intltoolize --force --copy --automake
70 autotools_run_tool gnome-doc-common --copy
71 autotools_run_tool gnome-doc-prepare --force --copy
72 eaclocal
73 eautoconf
74 eautoheader
75 eautomake --force
76
822e1dd2 Leonardo Valeri Manera2008-05-09 21:10:34 +020077 elibtoolize ${ELTCONF} || die "elibtoolize failed"
361a2415 Leonardo Valeri Manera2008-04-28 23:59:36 +020078}