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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 11 03:41:59 2014 UTC (5 years, 2 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-2.0.ebuild,v 1.3 2013/12/24 12:57:00 ago Exp $
4
5 EAPI=5
6 inherit linux-info toolchain-funcs eutils
7
8 DESCRIPTION="Modern rewrite of Quick Image Viewer"
9 HOMEPAGE="http://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/"
10 SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="kernel_linux"
16
17 RDEPEND="dev-libs/glib:2
18 x11-libs/cairo
19 x11-libs/gtk+:3"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 pkg_setup() {
24 if use kernel_linux; then
25 CONFIG_CHECK="~INOTIFY_USER"
26 linux-info_pkg_setup
27 fi
28 }
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${P}-ldflags.patch
32 }
33
34 src_configure() {
35 ./configure --prefix=/usr --destdir="${D}" || die
36 }
37
38 src_compile() {
39 tc-export CC
40 emake CFLAGS="${CFLAGS}"
41 }
42
43 src_install() {
44 default
45 dodoc README.markdown
46 }

  ViewVC Help
Powered by ViewVC 1.1.20