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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Dec 5 10:17:33 2014 UTC (3 years, 11 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable for x86, wrt bug #529166

(Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

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-r1.ebuild,v 1.5 2014/12/04 08:35:47 ago Exp $
4
5 EAPI=5
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=""
16
17 RDEPEND=">=x11-libs/gtk+-2.4:2
18 virtual/libintl"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 sys-devel/gettext"
22
23 src_prepare() {
24 epatch \
25 "${FILESDIR}/${P}-windows.patch" \
26 "${FILESDIR}/${P}-glibc.patch"
27 sed -i \
28 -e '/^Encoding/d' \
29 -e '/^Icon/s/\.png//' \
30 -e '/^Categories/s/Application;//' \
31 gqview.desktop || die
32 mv configure.in configure.ac || die
33 eautoreconf
34 }
35
36 src_configure() {
37 econf --without-lcms
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install
42 # leave README uncompressed because the program reads it
43 dodoc AUTHORS ChangeLog TODO
44 rm -f "${D}/usr/share/doc/${PF}/COPYING"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20