/[gentoo-x86]/media-gfx/gqview/gqview-2.1.5.ebuild
Gentoo

Contents of /media-gfx/gqview/gqview-2.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (show annotations) (download)
Fri Dec 5 16:59:17 2014 UTC (3 years, 9 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +1 -1 lines
FILE REMOVED
clean old

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.1.5.ebuild,v 1.18 2014/09/25 21:35:42 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils autotools
7
8 DESCRIPTION="A GTK-based image browser"
9 HOMEPAGE="http://gqview.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/gqview/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ~arm ia64 ~mips ppc ppc64 sparc x86"
15 IUSE="lcms"
16
17 RDEPEND=">=x11-libs/gtk+-2.4:2
18 lcms? ( media-libs/lcms:0 )
19 virtual/libintl"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig
22 sys-devel/gettext"
23
24 src_prepare() {
25 epatch \
26 "${FILESDIR}/${P}-windows.patch" \
27 "${FILESDIR}/${P}-glibc.patch"
28 sed -i \
29 -e '/^Encoding/d' \
30 -e '/^Icon/s/\.png//' \
31 -e '/^Categories/s/Application;//' \
32 gqview.desktop || die
33 eautoreconf
34 }
35
36 src_configure() {
37 econf \
38 --disable-dependency-tracking \
39 $(use_with lcms)
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die
44 # leave README uncompressed because the program reads it
45 dodoc AUTHORS ChangeLog TODO
46 rm -f "${D}/usr/share/doc/${PF}/COPYING"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20