summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-23 12:35:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-23 12:35:21 +0000
commit246bdd90f2e85de1370586221bf3585456eb004b (patch)
tree44baa1ec5e747cb6c18a39b4f7a0d9d71f0a3dd0 /media-gfx/qiv
parentDisable rake tasks for fakegem since the package does not ship a Rakefile. Cl... (diff)
downloadgentoo-2-246bdd90f2e85de1370586221bf3585456eb004b.tar.gz
gentoo-2-246bdd90f2e85de1370586221bf3585456eb004b.tar.bz2
gentoo-2-246bdd90f2e85de1370586221bf3585456eb004b.zip
Initial commit.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/qiv')
-rw-r--r--media-gfx/qiv/ChangeLog9
-rw-r--r--media-gfx/qiv/metadata.xml5
-rw-r--r--media-gfx/qiv/qiv-2.2.2.ebuild45
3 files changed, 59 insertions, 0 deletions
diff --git a/media-gfx/qiv/ChangeLog b/media-gfx/qiv/ChangeLog
new file mode 100644
index 000000000000..d5d150008f42
--- /dev/null
+++ b/media-gfx/qiv/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-gfx/qiv
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qiv/ChangeLog,v 1.29 2009/12/23 12:35:21 ssuominen Exp $
+
+*qiv-2.2.2 (23 Dec 2009)
+
+ 23 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> +qiv-2.2.2.ebuild:
+ Initial commit.
+
diff --git a/media-gfx/qiv/metadata.xml b/media-gfx/qiv/metadata.xml
new file mode 100644
index 000000000000..9be90a258970
--- /dev/null
+++ b/media-gfx/qiv/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+</pkgmetadata>
diff --git a/media-gfx/qiv/qiv-2.2.2.ebuild b/media-gfx/qiv/qiv-2.2.2.ebuild
new file mode 100644
index 000000000000..b737c4cf90a1
--- /dev/null
+++ b/media-gfx/qiv/qiv-2.2.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qiv/qiv-2.2.2.ebuild,v 1.1 2009/12/23 12:35:21 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="Quick Image Viewer"
+HOMEPAGE="http://spiegl.de/qiv/"
+SRC_URI="http://spiegl.de/qiv/download/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="xinerama"
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/imlib2
+ media-libs/libexif
+ !media-gfx/pqiv
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
+ Makefile || die
+
+ if ! use xinerama; then
+ sed -i \
+ -e 's:-DGTD_XINERAMA::' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin qiv || die
+ doman qiv.1
+ dodoc Changelog qiv-command.example README README.TODO
+}