/[gentoo-x86]/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild
Gentoo

Contents of /media-gfx/gimageview/gimageview-0.2.27-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 5 07:00:22 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.3: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

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/gimageview/gimageview-0.2.27-r3.ebuild,v 1.3 2012/01/28 04:47:26 ssuominen Exp $
4
5 # TODO: USE xine could be restored if support for xine-lib-1.2.x
6 # is patched in wrt #397639
7
8 EAPI=4
9 inherit eutils libtool
10
11 DESCRIPTION="Powerful GTK+ based image & movie viewer"
12 HOMEPAGE="http://gtkmmviewer.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/gtkmmviewer/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 ~hppa ppc ppc64 x86"
18 IUSE="mng nls mplayer svg wmf" #xine
19
20 RDEPEND="app-arch/bzip2
21 x11-libs/gtk+:2
22 >=media-libs/libpng-1.2:0
23 x11-libs/libXinerama
24 wmf? ( >=media-libs/libwmf-0.2.8 )
25 mng? ( media-libs/libmng )
26 svg? ( gnome-base/librsvg )
27 mplayer? ( media-video/mplayer )"
28 #xine? ( media-libs/xine-lib )
29 DEPEND="${RDEPEND}
30 nls? ( sys-devel/gettext )
31 virtual/pkgconfig"
32
33 src_prepare() {
34 epatch \
35 "${FILESDIR}"/${P}-sort_fix.diff \
36 "${FILESDIR}"/${P}-gtk12_fix.diff \
37 "${FILESDIR}"/${P}-gtk2.patch \
38 "${FILESDIR}"/${P}-libpng15.patch
39
40 # desktop-file-validate
41 sed -i -e '/^Term/s:0:false:' -e '/^Icon/s:.png::' etc/${PN}.desktop.in || die
42
43 elibtoolize
44 }
45
46 src_configure() {
47 econf \
48 --disable-imlib \
49 $(use_enable nls) \
50 --enable-splash \
51 $(use_enable mplayer) \
52 --with-gtk2 \
53 $(use_with mng libmng) \
54 $(use_with svg librsvg) \
55 $(use_with wmf libwmf) \
56 --without-xine
57 }
58
59 src_install() {
60 einstall \
61 desktopdir="${D}"usr/share/applications \
62 gimv_docdir="${D}"usr/share/doc/${PF}
63
64 find "${ED}"usr -name '*.la' -exec rm -f {} +
65 }

  ViewVC Help
Powered by ViewVC 1.1.20