/[gentoo-x86]/media-gfx/qiv/qiv-2.2.4.ebuild
Gentoo

Contents of /media-gfx/qiv/qiv-2.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon May 28 23:54:50 2012 UTC (11 months, 3 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Keyword ~mips

(Portage version: 2.1.10.49/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/qiv/qiv-2.2.4.ebuild,v 1.4 2012/05/05 07:00:23 jdhore Exp $
4
5 EAPI=4
6 inherit toolchain-funcs
7
8 DESCRIPTION="Quick Image Viewer"
9 HOMEPAGE="http://spiegl.de/qiv/"
10 SRC_URI="http://spiegl.de/qiv/download/${P}.tgz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~mips ~x86"
15 IUSE="xinerama"
16
17 RDEPEND=">=x11-libs/gtk+-2.12:2
18 media-libs/imlib2[X]
19 !<media-gfx/pqiv-0.11
20 xinerama? ( x11-libs/libXinerama )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig"
23
24 src_prepare() {
25 sed -i \
26 -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
27 Makefile || die
28
29 if ! use xinerama; then
30 sed -i \
31 -e 's:-DGTD_XINERAMA::' \
32 Makefile || die
33 fi
34 }
35
36 src_compile() {
37 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
38 }
39
40 src_install() {
41 dobin qiv
42 doman qiv.1
43 dodoc Changelog qiv-command.example README README.TODO
44 }

  ViewVC Help
Powered by ViewVC 1.1.13