commit:     7d3c4949d5523c270366ec441fbd4297e31f44be
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 23 20:04:17 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 23 21:42:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3c4949

dev-games/openscenegraph-qt: 3.5.7 version bump, add USE webkit

Closes: https://bugs.gentoo.org/668756

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-games/openscenegraph-qt/Manifest               |  1 +
 .../openscenegraph-qt-3.5.7.ebuild                 | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-games/openscenegraph-qt/Manifest 
b/dev-games/openscenegraph-qt/Manifest
index 3accf1d3ebe..0b3cb012b19 100644
--- a/dev-games/openscenegraph-qt/Manifest
+++ b/dev-games/openscenegraph-qt/Manifest
@@ -1 +1,2 @@
 DIST osgQt-3.5.5.tar.gz 1003973 BLAKE2B 
4646fc0d01a5fc3023acb4be9d8b9e9982faf3849b9c7dbe775ff06642b9540559ef67189f31ebcf6a2fe49d24066d744ce9cfd409e76c9143ac16867648a620
 SHA512 
50faee9a1539c1e29bb1c244fa32194b22cbe43f43980b7c270aa45cd225ac5e3fe9445d63b1efb767c8a2ce8e5ffa417783d1a446ed965b23a06100a241d498
+DIST osgQt-3.5.7.tar.gz 1000217 BLAKE2B 
f0279b122fc9492d29ea0c55afa81376d2ad4a35c42b301312137ca6d375fd2ef519efacfaf2f77b9dc3a7a26313b3d3213fc0589359c89695835f12488e6efb
 SHA512 
5698b824f6e747eaf19b970784dce6e38fbe50176e6c5d0cab86dab417c8831036c0f050fc52f1ab2a79925f8356dd43559aa123aab4b70a4df28273125e4d03

diff --git a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild 
b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild
new file mode 100644
index 00000000000..1a1be79e419
--- /dev/null
+++ b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="osgQt"
+MY_P=${MY_PN}-${PV}
+inherit cmake-utils
+
+DESCRIPTION="Qt support for OpenSceneGraph"
+HOMEPAGE="http://www.openscenegraph.org/";
+SRC_URI="https://github.com/openscenegraph/${MY_PN}/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3 LGPL-2.1"
+SLOT="0/145" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples webkit"
+
+RDEPEND="
+       >=dev-games/openscenegraph-3.6.3:=
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtopengl:5
+       dev-qt/qtwidgets:5
+       webkit? ( dev-qt/qtwebkit:5 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.5.5-cmake.patch
+       "${FILESDIR}"/${PN}-3.5.5-qt-5.11b3.patch
+)
+
+src_configure() {
+       local mycmakeargs=(
+               -DDYNAMIC_OPENSCENEGRAPH=ON
+               -DDESIRED_QT_VERSION=5
+               -DBUILD_OSG_EXAMPLES=$(usex examples)
+               $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
+       )
+
+       cmake-utils_src_configure
+}

Reply via email to