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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Dec 5 22:18:46 2012 UTC (5 months, 2 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +11 -13 lines
Drop slideshow USE flag for gthumb-2 due to pending clutter-gtk-0.10 removal (bug #435164). Drop old. Update to EAPI5.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

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.4.ebuild,v 1.6 2012/10/25 20:24:33 eva Exp $
4
5 EAPI="5"
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 jpeg raw 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 sys-libs/zlib
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 jpeg? ( virtual/jpeg:0= )
40 tiff? ( media-libs/tiff:= )
41 raw? ( >=media-libs/libopenraw-0.0.8:= )
42 !raw? ( media-gfx/dcraw )"
43 DEPEND="${RDEPEND}
44 virtual/pkgconfig
45 app-text/scrollkeeper
46 >=dev-util/intltool-0.35
47 app-text/gnome-doc-utils
48 sys-devel/bison
49 sys-devel/flex
50 test? ( ~app-text/docbook-xml-dtd-4.1.2 )"
51 # eautoreconf needs:
52 # gnome-base/gnome-common
53
54 pkg_setup() {
55 # Upstream says in configure help that libchamplain support crashes
56 # frequently
57 # Clutter disabled for bug #435164
58 G2CONF="${G2CONF}
59 --disable-static
60 --disable-libchamplain
61 --enable-unique
62 --disable-gnome-3
63 $(use_enable cdr libbrasero)
64 $(use_enable exif exiv2)
65 $(use_enable gstreamer)
66 $(use_enable gnome-keyring)
67 $(use_enable http libsoup)
68 $(use_enable jpeg)
69 $(use_enable raw libopenraw)
70 --disable-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