summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Marlowe <mattm@gentoo.org>2018-10-23 03:09:02 -0700
committerMatthew Marlowe <mattm@gentoo.org>2018-10-23 03:09:02 -0700
commit441b460159bbfc13ec0501c77d30b43ede62eddb (patch)
treedc04223e112c230dbd923abec45f645c8fbf7ce2 /media-gfx/opencsg
parentwww-servers/apache: Bump to version 2.4.37 (diff)
downloadgentoo-441b460159bbfc13ec0501c77d30b43ede62eddb.tar.gz
gentoo-441b460159bbfc13ec0501c77d30b43ede62eddb.tar.bz2
gentoo-441b460159bbfc13ec0501c77d30b43ede62eddb.zip
media-gfx/opencsg: Attempt fix for Bug #639314
Signed-off-by: Matthew Marlowe <mattm@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'media-gfx/opencsg')
-rw-r--r--media-gfx/opencsg/metadata.xml4
-rw-r--r--media-gfx/opencsg/opencsg-1.4.2-r1.ebuild43
2 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/opencsg/metadata.xml b/media-gfx/opencsg/metadata.xml
index de418786b91f..706f6998b308 100644
--- a/media-gfx/opencsg/metadata.xml
+++ b/media-gfx/opencsg/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>mattm@gentoo.org</email>
+ <name>Matthew Marlowe</name>
+ </maintainer>
<longdescription>
OpenCSG is a library that does image-based CSG rendering using
OpenGL. OpenCSG is written in C++ and supports most modern
diff --git a/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild b/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild
new file mode 100644
index 000000000000..faa23f4458b3
--- /dev/null
+++ b/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+MY_P="OpenCSG-${PV}"
+DESCRIPTION="The Constructive Solid Geometry rendering library"
+HOMEPAGE="http://www.opencsg.org"
+SRC_URI="http://www.opencsg.org/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/glew:0="
+DEPEND="${RDEPEND}
+ dev-qt/qtcore:5
+ media-libs/mesa[gles2]
+"
+
+S="${WORKDIR}/${MY_P}/src"
+
+PATCHES=(
+ "${FILESDIR}/${P}-includepath.patch"
+)
+
+src_prepare() {
+ default
+
+ # removes duplicated headers
+ rm -r ../glew || die "failed to remove bundled glew"
+}
+
+src_configure() {
+ eqmake5 src.pro INSTALLDIR="/usr" LIBDIR="$(get_libdir)"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}