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 82279138350 for ; Sun, 5 Apr 2020 19:47:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A34A9E0BFF; Sun, 5 Apr 2020 19:47:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [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 7CD9FE0BFF for ; Sun, 5 Apr 2020 19:47:39 +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 4A31C34EF71 for ; Sun, 5 Apr 2020 19:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E22371BB for ; Sun, 5 Apr 2020 19:47:35 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1586116034.bf12696b2f18ba3843984a54d3a1ec7ade416fbb.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/opencsg/, media-gfx/opencsg/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch media-gfx/opencsg/metadata.xml media-gfx/opencsg/opencsg-1.4.2-r1.ebuild X-VCS-Directories: media-gfx/opencsg/files/ media-gfx/opencsg/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bf12696b2f18ba3843984a54d3a1ec7ade416fbb X-VCS-Branch: master Date: Sun, 5 Apr 2020 19:47:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10c7fc89-4a36-42f6-a4e0-ec4f757ea522 X-Archives-Hash: a4e7c575a211ea6347900f5bb6144d40 commit: bf12696b2f18ba3843984a54d3a1ec7ade416fbb Author: Bernd Waibel gmail com> AuthorDate: Sun Nov 3 15:04:24 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 5 19:47:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf12696b media-gfx/opencsg: fix build failure with GLES2 Fix an issue where qmake isn't able to find opengles2 feature. Add myself as proxy-maintainer. Closes: https://bugs.gentoo.org/639314 Reported-by: Toralf Förster gentoo.org> Package-Manager: Portage-2.3.96-r1, Repoman-2.3.22 Signed-off-by: Bernd Waibel gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13537 Signed-off-by: Andreas Sturmlechner gentoo.org> .../opencsg/files/opencsg-1.4.2-includepath.patch | 4 +-- media-gfx/opencsg/metadata.xml | 9 ++++- media-gfx/opencsg/opencsg-1.4.2-r1.ebuild | 40 +++++++++++++++++----- 3 files changed, 41 insertions(+), 12 deletions(-) diff --git a/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch b/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch index 9b66ae44ed0..1a623a5629b 100644 --- a/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch +++ b/media-gfx/opencsg/files/opencsg-1.4.2-includepath.patch @@ -3,8 +3,8 @@ Gentoo-bug: 623840 ---- a/src.pro -+++ b/src.pro +--- a/src/src.pro ++++ b/src/src.pro @@ -7,14 +7,14 @@ } diff --git a/media-gfx/opencsg/metadata.xml b/media-gfx/opencsg/metadata.xml index 9fe432b2d59..a6159b39f26 100644 --- a/media-gfx/opencsg/metadata.xml +++ b/media-gfx/opencsg/metadata.xml @@ -1,7 +1,14 @@ - + + waebbl@gmail.com + Bernd Waibel + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainer Team + 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 index faa23f4458b..bf738882fe5 100644 --- a/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild +++ b/media-gfx/opencsg/opencsg-1.4.2-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit qmake-utils @@ -13,15 +13,29 @@ SRC_URI="http://www.opencsg.org/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="doc" -RDEPEND="media-libs/glew:0=" +RDEPEND=" + dev-libs/libbsd + media-libs/glew:0= + virtual/opengl + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libxcb:= +" + +# qtgui is needed for opengles2 feature by +# /usr/lib64/qt5/mkspecs/feature/unix/opengl.prf DEPEND="${RDEPEND} dev-qt/qtcore:5 - media-libs/mesa[gles2] + dev-qt/qtgui:5 " -S="${WORKDIR}/${MY_P}/src" +S="${WORKDIR}/${MY_P}" + +DOCS=( build.txt changelog.txt ) PATCHES=( "${FILESDIR}/${P}-includepath.patch" @@ -31,13 +45,21 @@ src_prepare() { default # removes duplicated headers - rm -r ../glew || die "failed to remove bundled glew" + rm -r glew || die "failed to remove bundled glew" } src_configure() { - eqmake5 src.pro INSTALLDIR="/usr" LIBDIR="$(get_libdir)" + eqmake5 opencsg.pro INSTALLDIR="${EPREFIX}/usr" LIBDIR="$(get_libdir)" +} + +src_compile() { + # rebuild Makefiles in subdirs + emake INSTALLDIR="${EPREFIX}/usr" LIBDIR="$(get_libdir)" qmake_all + emake sub-src } src_install() { - emake INSTALL_ROOT="${D}" install + emake -C src INSTALL_ROOT="${ED}" install + use doc && local HTML_DOCS=( doc/. ) + einstalldocs }