Gentoo Archives: gentoo-commits

From: Matthew Marlowe <mattm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/opencsg/
Date: Tue, 23 Oct 2018 10:10:19
Message-Id: 1540289342.441b460159bbfc13ec0501c77d30b43ede62eddb.mattm@gentoo
1 commit: 441b460159bbfc13ec0501c77d30b43ede62eddb
2 Author: Matthew Marlowe <mattm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 23 10:09:02 2018 +0000
4 Commit: Matthew Marlowe <mattm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 23 10:09:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=441b4601
7
8 media-gfx/opencsg: Attempt fix for Bug #639314
9
10 Signed-off-by: Matthew Marlowe <mattm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 media-gfx/opencsg/metadata.xml | 4 +++
14 media-gfx/opencsg/opencsg-1.4.2-r1.ebuild | 43 +++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/media-gfx/opencsg/metadata.xml b/media-gfx/opencsg/metadata.xml
18 index de418786b91..706f6998b30 100644
19 --- a/media-gfx/opencsg/metadata.xml
20 +++ b/media-gfx/opencsg/metadata.xml
21 @@ -1,6 +1,10 @@
22 <?xml version="1.0" encoding="UTF-8"?>
23 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 <pkgmetadata>
25 + <maintainer type="person">
26 + <email>mattm@g.o</email>
27 + <name>Matthew Marlowe</name>
28 + </maintainer>
29 <longdescription>
30 OpenCSG is a library that does image-based CSG rendering using
31 OpenGL. OpenCSG is written in C++ and supports most modern
32
33 diff --git a/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild b/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild
34 new file mode 100644
35 index 00000000000..faa23f4458b
36 --- /dev/null
37 +++ b/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild
38 @@ -0,0 +1,43 @@
39 +# Copyright 1999-2018 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +
44 +inherit qmake-utils
45 +
46 +MY_P="OpenCSG-${PV}"
47 +DESCRIPTION="The Constructive Solid Geometry rendering library"
48 +HOMEPAGE="http://www.opencsg.org"
49 +SRC_URI="http://www.opencsg.org/${MY_P}.tar.gz"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE=""
55 +
56 +RDEPEND="media-libs/glew:0="
57 +DEPEND="${RDEPEND}
58 + dev-qt/qtcore:5
59 + media-libs/mesa[gles2]
60 +"
61 +
62 +S="${WORKDIR}/${MY_P}/src"
63 +
64 +PATCHES=(
65 + "${FILESDIR}/${P}-includepath.patch"
66 +)
67 +
68 +src_prepare() {
69 + default
70 +
71 + # removes duplicated headers
72 + rm -r ../glew || die "failed to remove bundled glew"
73 +}
74 +
75 +src_configure() {
76 + eqmake5 src.pro INSTALLDIR="/usr" LIBDIR="$(get_libdir)"
77 +}
78 +
79 +src_install() {
80 + emake INSTALL_ROOT="${D}" install
81 +}