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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Oct 25 20:24:33 2012 UTC (22 months, 3 weeks ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Pin gstreamer dependencies to slot 0.10.

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

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.3.ebuild,v 1.6 2012/05/24 13:58:42 ssuominen 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 jpeg 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 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 slideshow? (
41 >=media-libs/clutter-1:1.0
42 >=media-libs/clutter-gtk-0.10:0.10 )
43 tiff? ( media-libs/tiff )
44 raw? ( >=media-libs/libopenraw-0.0.8 )
45 !raw? ( media-gfx/dcraw )"
46 DEPEND="${RDEPEND}
47 virtual/pkgconfig
48 app-text/scrollkeeper
49 >=dev-util/intltool-0.35
50 app-text/gnome-doc-utils
51 sys-devel/bison
52 sys-devel/flex
53 test? ( ~app-text/docbook-xml-dtd-4.1.2 )"
54 # eautoreconf needs:
55 # gnome-base/gnome-common
56
57 pkg_setup() {
58 # Upstream says in configure help that libchamplain support crashes
59 # frequently
60 G2CONF="${G2CONF}
61 --disable-static
62 --disable-libchamplain
63 --enable-unique
64 --disable-gnome-3
65 $(use_enable cdr libbrasero)
66 $(use_enable exif exiv2)
67 $(use_enable gstreamer)
68 $(use_enable gnome-keyring)
69 $(use_enable http libsoup)
70 $(use_enable jpeg)
71 $(use_enable raw libopenraw)
72 $(use_enable slideshow clutter)
73 $(use_enable test test-suite)
74 $(use_enable tiff)"
75 DOCS="AUTHORS ChangeLog NEWS README"
76 }
77
78 src_prepare() {
79 gnome2_src_prepare
80
81 # Remove unwanted CFLAGS added with USE=debug
82 sed -e 's/CFLAGS="$CFLAGS -g -O0 -DDEBUG"//' -i configure.ac -i configure || die
83
84 # GSeal doesn't get disabled with --disable-gseal
85 sed -e 's/-DGSEAL_ENABLE//g' -i configure.ac -i configure || die
86 }

  ViewVC Help
Powered by ViewVC 1.1.20