summaryrefslogtreecommitdiff
path: root/media-gfx/opencsg
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/opencsg')
-rw-r--r--media-gfx/opencsg/Manifest3
-rw-r--r--media-gfx/opencsg/metadata.xml4
-rw-r--r--media-gfx/opencsg/opencsg-1.4.2-r1.ebuild43
3 files changed, 49 insertions, 1 deletions
diff --git a/media-gfx/opencsg/Manifest b/media-gfx/opencsg/Manifest
index a6e50927dc0b..d83aafacc1cb 100644
--- a/media-gfx/opencsg/Manifest
+++ b/media-gfx/opencsg/Manifest
@@ -1,4 +1,5 @@
AUX opencsg-1.4.2-includepath.patch 529 BLAKE2B 300ed0021302cf3c14ea3039c52ca579473b83672227bff2261b1243e4914237e26649c14bdd3e1014cf5a7e5c43a28b55a4658727ccc41b1d361078106d86ae SHA512 352fc772b678336734ee625b708732560e212162279126a368a6f1adeb4f29b8b29960e7a5cf06a2b6c5d1c6a369c8a9347b050c49d6a301c07b6ed259340e87
DIST OpenCSG-1.4.2.tar.gz 933135 BLAKE2B 20882afaddf40cc4e0c43c3e70bad334aae3885241a3993ce7083de20f9b10d6e6c4eb3a55abba2b1eca64fdae784c491492543a5012b8b2d67eb63a16dd693b SHA512 fbe6f925982717ecca7bd0eacc4fc5b362c80c7663b1ff0d9a228f2b5e1d3625d3e6d324d9e634665c74e9c0fc37d10290ece293e59a3eba67035b6b700b7778
+EBUILD opencsg-1.4.2-r1.ebuild 775 BLAKE2B d41ff856ec2ee82e6bba5c318b656adf1ca234c97a80f9c565a23fda444d6d1cd7f6cb4aeb3b9c1f7d5b6c368ffa2195f693fd469073b0a86363a181eadae1a1 SHA512 fd959b3c0a5e70b7d89a21747de355b05d6ceb4ce18fc78a5f20beea074869a02585d27415dc4b999cca3dbb62730d1953c9681f3eb827f454ff2a870b91dbef
EBUILD opencsg-1.4.2.ebuild 754 BLAKE2B 32fb0c21ba6f023852e258035a33339f72d74d0806176d794f46bf9a17a198a8c2e4b22ffa31a866b2a11815dde170907cbe3c6c5b21fdfeb67779eabba8b7e9 SHA512 356eb205e3de711d0bea816a0b284cf31abbeb5ba5de13bafa71231872c31983e3bf28f04ff2daff92c6905347ce6bcff3f7eb86669f5c9fa098e1887f962d92
-MISC metadata.xml 1042 BLAKE2B ab289bedb79db79ffaf3fb3bde7d77c01810c0feeae050c8b69fd3211fb30dfe8155e3a837309216c69875edcf9a3b0b8543277fe12641089b2d4991e06dff99 SHA512 cdb89984408b1924505708101f87193794a54be3893e776ad889b3f2ace5af4e8a0c189799f5dc70a5d964cbe5f8e9f14277c2b488faaa2c7e814b60cfa5a485
+MISC metadata.xml 1150 BLAKE2B aa7c35a3fbd4c2a1251d40cdeb5ca95be0b06ee8c55d7c597d656681859e5c746ebaaaa7c90e65e1a68cef0393112d156d338c4cc490a6a1193d186db9f08db3 SHA512 1ae03d7d7bc61ee9e07d52dc7d717108d03343f4c48c512dc7f8336eaec846ba8de7a10380d47c155d0c280f0bb72722fde2aeff972e8da21606dfaf9f0eb226
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
+}