2021-10-01.2
This commit is contained in:
parent
7ed285961e
commit
ed838d2505
1
dev-games/openscenegraph-qt/Manifest
Normal file
1
dev-games/openscenegraph-qt/Manifest
Normal file
@ -0,0 +1 @@
|
||||
EBUILD openscenegraph-qt-9999.ebuild 1242 BLAKE2B 5a8fbffa5c612c6694c53a1e3f6932dba1204fdcadc7e68cb2c075899cec1948aebb47b8f7fb99d030b817759337e8531fdba52ddb18ed0659fec3949219bc61 SHA512 dd70ea0af27cdd840e66e15643d22ccf09f6277eaadab86801ed2dae5cd9936af7ce84a5cb90d117c5835333d0922b7b6b521293a59e8be97d7c6c49166c9ca2
|
54
dev-games/openscenegraph-qt/openscenegraph-qt-9999.ebuild
Normal file
54
dev-games/openscenegraph-qt/openscenegraph-qt-9999.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="osgQt"
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Qt support for OpenSceneGraph"
|
||||
HOMEPAGE="http://www.openscenegraph.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/openscenegraph/${MY_PN}.git"
|
||||
S="${WORKDIR}/${PN}-${PV}"
|
||||
else
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/openscenegraph/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
fi
|
||||
|
||||
|
||||
LICENSE="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0/145" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-games/openscenegraph-3.6.3:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# THESE PATCHES DON'T WORK FOR SOME REASON... HOPEFULLY NOTHING LOST BY OMITTING THEM? -bronze
|
||||
# "${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)
|
||||
-DCMAKE_DISABLE_USE_FIND_PACKAGE_Qt5WebKitWidgets=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Loading…
Reference in New Issue
Block a user