summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-09-08 05:09:06 +0000
committerTim Harder <radhermit@gentoo.org>2013-09-08 05:09:06 +0000
commit18667ee9ec55b6dfe2ff67d96f0eb54c9f998447 (patch)
tree437b9b51359f03f9cccf2ddd8b73266be509e96e /media-gfx
parentVersion bump. (diff)
downloadgentoo-2-18667ee9ec55b6dfe2ff67d96f0eb54c9f998447.tar.gz
gentoo-2-18667ee9ec55b6dfe2ff67d96f0eb54c9f998447.tar.bz2
gentoo-2-18667ee9ec55b6dfe2ff67d96f0eb54c9f998447.zip
Version bump.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pqiv/ChangeLog8
-rw-r--r--media-gfx/pqiv/files/pqiv-2.0-ldflags.patch11
-rw-r--r--media-gfx/pqiv/pqiv-2.0.ebuild46
3 files changed, 64 insertions, 1 deletions
diff --git a/media-gfx/pqiv/ChangeLog b/media-gfx/pqiv/ChangeLog
index 6a60eb5ec5fd..c19a492d80e0 100644
--- a/media-gfx/pqiv/ChangeLog
+++ b/media-gfx/pqiv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/pqiv
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.36 2013/08/27 05:52:57 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.37 2013/09/08 05:09:05 radhermit Exp $
+
+*pqiv-2.0 (08 Sep 2013)
+
+ 08 Sep 2013; Tim Harder <radhermit@gentoo.org> +pqiv-2.0.ebuild,
+ +files/pqiv-2.0-ldflags.patch:
+ Version bump.
*pqiv-1.0 (27 Aug 2013)
diff --git a/media-gfx/pqiv/files/pqiv-2.0-ldflags.patch b/media-gfx/pqiv/files/pqiv-2.0-ldflags.patch
new file mode 100644
index 000000000000..a141e53b75d5
--- /dev/null
+++ b/media-gfx/pqiv/files/pqiv-2.0-ldflags.patch
@@ -0,0 +1,11 @@
+--- pqiv-2.0/Makefile.orig
++++ pqiv-2.0/Makefile
+@@ -28,7 +28,7 @@
+ endif
+
+ pqiv$(EXECUTABLE_EXTENSION): pqiv.c lib/strnatcmp.o
+- $(CROSS)$(CC) $(PQIV_WARNING_FLAGS) -std=gnu99 -o $@ `$(CROSS)pkg-config --cflags $(LIBS)` $+ `$(CROSS)pkg-config --libs $(LIBS)` $(CFLAGS)
++ $(CROSS)$(CC) $(PQIV_WARNING_FLAGS) -std=gnu99 -o $@ `$(CROSS)pkg-config --cflags $(LIBS)` $+ `$(CROSS)pkg-config --libs $(LIBS)` $(CFLAGS) $(LDFLAGS)
+
+ lib/strnatcmp.o: lib/strnatcmp.c
+ $(CROSS)$(CC) -c -o $@ $+ $(CFLAGS)
diff --git a/media-gfx/pqiv/pqiv-2.0.ebuild b/media-gfx/pqiv/pqiv-2.0.ebuild
new file mode 100644
index 000000000000..97a81cfd9b79
--- /dev/null
+++ b/media-gfx/pqiv/pqiv-2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-2.0.ebuild,v 1.1 2013/09/08 05:09:06 radhermit Exp $
+
+EAPI=5
+inherit linux-info toolchain-funcs eutils
+
+DESCRIPTION="Modern rewrite of Quick Image Viewer"
+HOMEPAGE="http://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/"
+SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kernel_linux"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ if use kernel_linux; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_configure() {
+ ./configure --prefix=/usr --destdir="${D}" || die
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ default
+ dodoc README.markdown
+}