summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-15 06:52:19 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-15 06:52:19 +0000
commit00d66a8df5635f804039390b272d57c1389ae378 (patch)
treebc93afb0e5a8a5d474f781e2df0fc842963aecdc /media-gfx/panini
parentDie if the extract binary doesn't exist. (diff)
downloadgentoo-2-00d66a8df5635f804039390b272d57c1389ae378.tar.gz
gentoo-2-00d66a8df5635f804039390b272d57c1389ae378.tar.bz2
gentoo-2-00d66a8df5635f804039390b272d57c1389ae378.zip
Add dep on virtual/glu and fix linking with GLU (bug #408301).
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/panini')
-rw-r--r--media-gfx/panini/ChangeLog8
-rw-r--r--media-gfx/panini/files/panini-0.71.104-glu.patch10
-rw-r--r--media-gfx/panini/panini-0.71.104.ebuild11
3 files changed, 24 insertions, 5 deletions
diff --git a/media-gfx/panini/ChangeLog b/media-gfx/panini/ChangeLog
index b6db6f9fccd2..cfcbcf0723a8 100644
--- a/media-gfx/panini/ChangeLog
+++ b/media-gfx/panini/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/panini
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/panini/ChangeLog,v 1.1 2011/02/27 07:08:43 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/panini/ChangeLog,v 1.2 2012/09/15 06:52:19 radhermit Exp $
+
+ 15 Sep 2012; Tim Harder <radhermit@gentoo.org> panini-0.71.104.ebuild,
+ +files/panini-0.71.104-glu.patch:
+ Add dep on virtual/glu and fix linking with GLU (bug #408301).
*panini-0.71.104 (27 Feb 2011)
diff --git a/media-gfx/panini/files/panini-0.71.104-glu.patch b/media-gfx/panini/files/panini-0.71.104-glu.patch
new file mode 100644
index 000000000000..6b1a17352e24
--- /dev/null
+++ b/media-gfx/panini/files/panini-0.71.104-glu.patch
@@ -0,0 +1,10 @@
+--- Panini-0.71.104-src/panini.pro
++++ Panini-0.71.104-src/panini.pro
+@@ -3,6 +3,7 @@
+ TARGET = Panini
+ CONFIG += debug_and_release
+ QT = gui core opengl
++LIBS += -lGLU
+
+ # # Directories ##
+ OBJECTS_DIR = build
diff --git a/media-gfx/panini/panini-0.71.104.ebuild b/media-gfx/panini/panini-0.71.104.ebuild
index 47bc8d3c0316..309dd9e47d00 100644
--- a/media-gfx/panini/panini-0.71.104.ebuild
+++ b/media-gfx/panini/panini-0.71.104.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/panini/panini-0.71.104.ebuild,v 1.1 2011/02/27 07:08:43 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/panini/panini-0.71.104.ebuild,v 1.2 2012/09/15 06:52:19 radhermit Exp $
-EAPI=3
+EAPI=4
inherit qt4-r2 eutils
@@ -18,12 +18,17 @@ IUSE=""
RDEPEND="x11-libs/qt-core:4
x11-libs/qt-opengl:4
+ virtual/glu
sys-libs/zlib"
DEPEND="${RDEPEND}
app-arch/unzip"
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-glu.patch
+}
+
src_install() {
newbin Panini panini
dodoc panini-usage.txt panini-0.71-release.txt