/[gentoo-x86]/media-gfx/geeqie/geeqie-1.0-r4.ebuild
Gentoo

Contents of /media-gfx/geeqie/geeqie-1.0-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Aug 14 12:56:30 2012 UTC (2 years ago) by ago
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable for amd64, wrt bug #429116

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 voyageur 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/geeqie/geeqie-1.0-r4.ebuild,v 1.1 2012/06/15 09:36:53 voyageur Exp $
4 voyageur 1.1
5     EAPI=4
6     inherit autotools base eutils
7    
8     DESCRIPTION="A lightweight GTK image viewer forked from GQview"
9     HOMEPAGE="http://geeqie.sourceforge.net/"
10     SRC_URI="mirror://sourceforge/geeqie/${P}.tar.gz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14 ago 1.2 KEYWORDS="amd64 ~ppc ~x86"
15 voyageur 1.1 IUSE="doc exif lcms lirc xmp"
16    
17     RDEPEND="x11-libs/gtk+:2
18     virtual/libintl
19     doc? ( app-text/gnome-doc-utils )
20     lcms? ( =media-libs/lcms-1* )
21     lirc? ( app-misc/lirc )
22     xmp? ( >=media-gfx/exiv2-0.17[xmp] )
23     !xmp? ( exif? ( >=media-gfx/exiv2-0.17 ) )"
24     DEPEND="${RDEPEND}
25     virtual/pkgconfig
26     dev-util/intltool
27     sys-devel/gettext"
28    
29     PATCHES=(
30     "${FILESDIR}"/${P}-automake-1.11.patch
31     "${FILESDIR}"/${P}-copy_chown.patch
32     "${FILESDIR}"/${P}-filedata_compare.patch
33     "${FILESDIR}"/${P}-fix_fullscreen.patch
34     "${FILESDIR}"/${P}-lfs_support.patch
35     "${FILESDIR}"/${P}-ui_pathsel.patch
36     "${FILESDIR}"/${P}-vflist-refresh.patch
37     "${FILESDIR}"/${P}-up_path_restore.patch
38     )
39    
40     src_prepare() {
41     base_src_prepare
42     eautoreconf
43     }
44    
45     src_configure() {
46     local myconf="--disable-dependency-tracking
47     --with-readmedir=/usr/share/doc/${PF}
48     $(use_enable lcms)
49     $(use_enable lirc)"
50    
51     if use exif || use xmp; then
52     myconf="${myconf} --enable-exiv2"
53     else
54     myconf="${myconf} --disable-exiv2"
55     fi
56    
57     econf ${myconf}
58     }
59    
60     src_install() {
61     emake DESTDIR="${D}" install
62     rm -f "${D}/usr/share/doc/${MY_P}/COPYING"
63     }
64    
65     pkg_postinst() {
66     elog "Some plugins may require additional packages"
67     elog "- Image rotate plugin: media-gfx/fbida (JPEG), media-gfx/imagemagick (TIFF/PNG)"
68     elog "- RAW images plugin: media-gfx/ufraw"
69     }

  ViewVC Help
Powered by ViewVC 1.1.20