/[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.16 - (show annotations) (download)
Thu Jul 26 18:41:29 2012 UTC (2 years ago) by blueness
Branch: MAIN
Changes since 1.15: +2 -2 lines
Keyword ~arm

(Portage version: 2.1.10.65/cvs/Linux x86_64)

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/gqview/gqview-2.1.5.ebuild,v 1.15 2012/05/28 23:56:35 blueness Exp $
4
5 EAPI=2
6 inherit eutils
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 "${FILESDIR}/${P}-windows.patch"
26 sed -i \
27 -e '/^Encoding/d' \
28 -e '/^Icon/s/\.png//' \
29 -e '/^Categories/s/Application;//' \
30 gqview.desktop \
31 || die
32 }
33
34 src_configure() {
35 econf \
36 --disable-dependency-tracking \
37 $(use_with lcms)
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
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