/[gentoo-x86]/media-gfx/gthumb/gthumb-2.14.0.ebuild
Gentoo

Contents of /media-gfx/gthumb/gthumb-2.14.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri May 25 08:48:03 2012 UTC (11 months, 3 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Version bump, drop old. Rekeyword on ppc/ppc64 as looks it makes repoman happy (and don't remember why were dropped).

(Portage version: 2.1.10.62/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-2.14.0.ebuild,v 1.7 2012/05/05 07:00:18 jdhore Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2
10
11 DESCRIPTION="Image viewer and browser for Gnome"
12 HOMEPAGE="https://live.gnome.org/gthumb"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc ppc64 x86"
17 IUSE="cdr exif gnome-keyring gstreamer http raw slideshow tiff test"
18
19 # We can't link against libbrasero-burn3
20 RDEPEND=">=dev-libs/glib-2.28.0:2
21 >=x11-libs/gtk+-2.24.0:2
22 >=gnome-base/gconf-2.6
23 >=dev-libs/libunique-1.1.2:1
24
25 media-libs/libpng:0
26 virtual/jpeg:0
27 x11-libs/libSM
28
29 cdr? ( >=app-cdr/brasero-2.28
30 <app-cdr/brasero-2.90 )
31 exif? ( >=media-gfx/exiv2-0.18 )
32 gnome-keyring? ( >=gnome-base/gnome-keyring-2.28 )
33 gstreamer? (
34 >=media-libs/gstreamer-0.10
35 >=media-libs/gst-plugins-base-0.10 )
36 http? (
37 >=net-libs/libsoup-2.26:2.4
38 >=net-libs/libsoup-gnome-2.26:2.4 )
39 slideshow? (
40 >=media-libs/clutter-1:1.0
41 >=media-libs/clutter-gtk-0.10:0.10 )
42 tiff? ( media-libs/tiff )
43 raw? ( >=media-libs/libopenraw-0.0.8 )
44 !raw? ( media-gfx/dcraw )"
45 DEPEND="${RDEPEND}
46 virtual/pkgconfig
47 app-text/scrollkeeper
48 >=dev-util/intltool-0.35
49 app-text/gnome-doc-utils
50 sys-devel/bison
51 sys-devel/flex
52 test? ( ~app-text/docbook-xml-dtd-4.1.2 )"
53 # eautoreconf needs:
54 # gnome-base/gnome-common
55
56 pkg_setup() {
57 # Upstream says in configure help that libchamplain support crashes
58 # frequently
59 G2CONF="${G2CONF}
60 --disable-static
61 --disable-libchamplain
62 --enable-unique
63 --disable-gnome-3
64 $(use_enable cdr libbrasero)
65 $(use_enable exif exiv2)
66 $(use_enable gstreamer)
67 $(use_enable gnome-keyring)
68 $(use_enable http libsoup)
69 $(use_enable raw libopenraw)
70 $(use_enable slideshow clutter)
71 $(use_enable test test-suite)
72 $(use_enable tiff)"
73 DOCS="AUTHORS ChangeLog NEWS README"
74 }
75
76 src_prepare() {
77 gnome2_src_prepare
78
79 # Remove unwanted CFLAGS added with USE=debug
80 sed -e 's/CFLAGS="$CFLAGS -g -O0 -DDEBUG"//' -i configure.ac -i configure || die
81
82 # GSeal doesn't get disabled with --disable-gseal
83 sed -e 's/-DGSEAL_ENABLE//g' -i configure.ac -i configure || die
84 }

  ViewVC Help
Powered by ViewVC 1.1.13