hasufell-repository/packages/dev-games/OpenSceneGraph/OpenSceneGraph-3.2.0.exheres-0

54 lines
1.6 KiB
Bash
Raw Normal View History

# 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
2013-09-03 20:39:24 +00:00
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
2014-03-15 11:14:56 +00:00
x11-libs/qt:4[opengl]
"
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 )