diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-07-04 23:23:29 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-04 23:29:40 +1000 |
commit | 62743237f197457f7c43bc71620ff143b9acc7c2 (patch) | |
tree | 50383fef2b331d828f23fff848907504fc3bd2d7 /media-gfx | |
parent | kde-misc/kio-stash: new package (diff) | |
download | gentoo-62743237f197457f7c43bc71620ff143b9acc7c2.tar.gz gentoo-62743237f197457f7c43bc71620ff143b9acc7c2.tar.bz2 gentoo-62743237f197457f7c43bc71620ff143b9acc7c2.zip |
media-gfx/opencsg: version bump 1.4.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/opencsg/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/opencsg/opencsg-1.4.2.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/opencsg/Manifest b/media-gfx/opencsg/Manifest index c066167c2ba3..58c54267f470 100644 --- a/media-gfx/opencsg/Manifest +++ b/media-gfx/opencsg/Manifest @@ -1 +1,2 @@ DIST OpenCSG-1.4.0.tar.gz 852213 SHA256 ecb46be54cfb8a338d2a9b62dec90ec8da6c769078c076f58147d4a6ba1c878d SHA512 da465c07201002834787dbe79ec29898310f4d726d9c44072e5ce947078fd7342ab1347886cab53b7f75458989aa4218738a7a8969d03184dc5fdcc1f96ce190 WHIRLPOOL 1d29789275926c9847486314c693e33873d97aa3e74f892634c9b72ec2f518a4e5a048934346033dec731fd45be4f5f1755ab11465fc8488ebf0c5976946bc36 +DIST OpenCSG-1.4.2.tar.gz 933135 SHA256 d952ec5d3a2e46a30019c210963fcddff66813efc9c29603b72f9553adff4afb SHA512 fbe6f925982717ecca7bd0eacc4fc5b362c80c7663b1ff0d9a228f2b5e1d3625d3e6d324d9e634665c74e9c0fc37d10290ece293e59a3eba67035b6b700b7778 WHIRLPOOL 6b8666021549e93de0de6ebe3a16a93c3719fec9630623165791ae3761553c339bb19833f73802067cdeabb2f07017db363bee75f49a03eef6a6819349e0e9ee diff --git a/media-gfx/opencsg/opencsg-1.4.2.ebuild b/media-gfx/opencsg/opencsg-1.4.2.ebuild new file mode 100644 index 000000000000..1c905349bf89 --- /dev/null +++ b/media-gfx/opencsg/opencsg-1.4.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 +" + +S="${WORKDIR}/${MY_P}/src" + +src_prepare() { + default + + # removes duplicated headers + rm -r ../glew || die "failed to remove bundled glew" + + sed -i -e "s:^target.path.*:target.path = \$\$INSTALLDIR/$(get_libdir):" \ + src.pro \ + || die 'failed to fix target.path in src.pro' +} + +src_configure() { + eqmake5 src.pro INSTALLDIR="/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |