/[gentoo-x86]/media-gfx/pqiv/pqiv-0.11.ebuild
Gentoo

Contents of /media-gfx/pqiv/pqiv-0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu May 10 07:44:14 2012 UTC (7 years, 10 months ago) by ssuominen
Branch: MAIN
Changes since 1.2: +10 -6 lines
Fix building with dev-libs/glib >= 2.31 wrt #415325 by Paul Hartman

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 jdhore 1.2 # Copyright 1999-2012 Gentoo Foundation
2 ssuominen 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.11.ebuild,v 1.2 2012/05/05 07:00:25 jdhore Exp $
4 ssuominen 1.1
5 ssuominen 1.3 EAPI=4
6     inherit eutils toolchain-funcs
7 ssuominen 1.1
8     DESCRIPTION="Modern rewrite of Quick Image Viewer"
9     HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv"
10     SRC_URI="http://www.pberndt.com/raw/Programme/Linux/${PN}/_download/${P}.tbz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~x86"
15     IUSE=""
16    
17 ssuominen 1.3 RDEPEND="x11-libs/gtk+:2"
18 ssuominen 1.1 DEPEND="${RDEPEND}
19 jdhore 1.2 virtual/pkgconfig"
20 ssuominen 1.1
21 ssuominen 1.3 src_prepare() {
22     epatch "${FILESDIR}"/${P}-glib-2.31.patch
23     }
24    
25 ssuominen 1.1 src_configure() {
26     ./configure --prefix=/usr --destdir="${D}" || die
27     }
28    
29     src_compile() {
30     tc-export CC
31 ssuominen 1.3 emake
32 ssuominen 1.1 }
33    
34     src_install() {
35 ssuominen 1.3 emake install
36 ssuominen 1.1 dodoc README
37     }

  ViewVC Help
Powered by ViewVC 1.1.20