From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 548B7138334 for ; Tue, 23 Oct 2018 10:10:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EB4AE0863; Tue, 23 Oct 2018 10:10:17 +0000 (UTC) Received: from smtp.gentoo.org (unknown [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D44AE0863 for ; Tue, 23 Oct 2018 10:10:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83E54335C8C for ; Tue, 23 Oct 2018 10:09:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B2B943B for ; Tue, 23 Oct 2018 10:09:50 +0000 (UTC) From: "Matthew Marlowe" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Marlowe" Message-ID: <1540289342.441b460159bbfc13ec0501c77d30b43ede62eddb.mattm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/opencsg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/opencsg/metadata.xml media-gfx/opencsg/opencsg-1.4.2-r1.ebuild X-VCS-Directories: media-gfx/opencsg/ X-VCS-Committer: mattm X-VCS-Committer-Name: Matthew Marlowe X-VCS-Revision: 441b460159bbfc13ec0501c77d30b43ede62eddb X-VCS-Branch: master Date: Tue, 23 Oct 2018 10:09:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d00d1aa-5fd6-400d-a708-1f9b03d2412b X-Archives-Hash: df91a6e67f94fc6268563d649e215da3 commit: 441b460159bbfc13ec0501c77d30b43ede62eddb Author: Matthew Marlowe gentoo org> AuthorDate: Tue Oct 23 10:09:02 2018 +0000 Commit: Matthew Marlowe gentoo org> CommitDate: Tue Oct 23 10:09:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=441b4601 media-gfx/opencsg: Attempt fix for Bug #639314 Signed-off-by: Matthew Marlowe gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 media-gfx/opencsg/metadata.xml | 4 +++ media-gfx/opencsg/opencsg-1.4.2-r1.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/media-gfx/opencsg/metadata.xml b/media-gfx/opencsg/metadata.xml index de418786b91..706f6998b30 100644 --- a/media-gfx/opencsg/metadata.xml +++ b/media-gfx/opencsg/metadata.xml @@ -1,6 +1,10 @@ + + mattm@gentoo.org + Matthew Marlowe + 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 00000000000..faa23f4458b --- /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 +}