hasufell-repository/packages/dev-games/OpenSceneGraph/OpenSceneGraph-3.2.0.exheres-0
Heiko Becker 4f3c74dc72
OpenSceneGraph: disable building against Qt5
It currently fails with the following error message:
"moc: Too many input files specified"

Change-Id: I3bb3b1c291b2c60062da72896055df8f194107e0
2016-05-22 13:00:07 +02:00

54 lines
1.6 KiB
Bash

# Copyright 2013 Thomas Witt
# Distributed under the terms of the GNU General Public License v2
require cmake [ api=2 ]
SUMMARY="High performance 3D graphics toolkit"
DESCRIPTION="
The OpenSceneGraph is an open source high performance 3D graphics toolkit,
used by application developers in fields such as visual simulation, games,
virtual reality, scientific visualization and modelling. Written entirely
in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux,
IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph
is now well established as the world leading scene graph technology, used
widely in the vis-sim, space, scientific, oil-gas, games and virtual reality
industries.
"
HOMEPAGE="http://www.openscenegraph.org"
DOWNLOADS="${HOMEPAGE}/downloads/developer_releases/${PNV}.zip"
LICENCES="OpenSceneGraph"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS=""
# TODO Some of these may be optional
# TODO SDL gtkglxext
DEPENDENCIES="
build:
app-arch/zip
build+run:
app-text/poppler[cairo]
dev-libs/boost
dev-libs/libxml2:*
gnome-desktop/librsvg:*
media-libs/freetype:*
media-libs/giflib
media-libs/jpeg
media-libs/libpng
media-libs/tiff
net-misc/curl
sys-libs/zlib
x11-dri/mesa
x11-libs/gtk+:2
x11-libs/qt:4
"
BUGS_TO="pyromaniac@thwitt.de"
DEFAULT_SRC_PREPARE_PATCHES=( -p2 "${FILES}"/${PNV}-libav.patch )
# Building against Qt5 fails atm, would need qtbase and cmake[>=2.8.8]
CMAKE_SRC_CONFIGURE_PARAMS+=( -DDESIRED_QT_VERSION=4 )