forked from hasufell/hasufell-repository
OpenSceneGraph: simulation graphics toolkit
This commit is contained in:
parent
b700481f25
commit
b7e814dabe
@ -0,0 +1,50 @@
|
|||||||
|
# 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 )
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
Author: Thomas Witt
|
||||||
|
Upstream: pending
|
||||||
|
Reason: compile fails due to deprecated symbol
|
||||||
|
|
||||||
|
|
||||||
|
diff -ur a/OpenSceneGraph-3.2.0/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp b/OpenSceneGraph-3.2.0/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp
|
||||||
|
--- a/OpenSceneGraph-3.2.0/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp 2013-02-06 13:46:03.000000000 +0100
|
||||||
|
+++ b/OpenSceneGraph-3.2.0/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp 2013-08-27 19:58:41.802656964 +0200
|
||||||
|
@@ -279,7 +279,7 @@
|
||||||
|
int error = av_read_frame(m_format_context.get(), &packet);
|
||||||
|
if (error < 0)
|
||||||
|
{
|
||||||
|
- if (error == AVERROR_EOF || url_feof(m_format_context.get()->pb))
|
||||||
|
+ if (error == AVERROR_EOF || m_format_context.get()->pb->eof_reached)
|
||||||
|
end_of_stream = true;
|
||||||
|
else {
|
||||||
|
OSG_FATAL << "av_read_frame() returned " << AvStrError(error) << std::endl;
|
Loading…
Reference in New Issue
Block a user