diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-09 12:06:50 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-09 19:59:27 -0500 |
commit | 46742e4263ff2b9b1172ddc89f0f8881d58ac645 (patch) | |
tree | 85ecf0350d40f0c2931a4b701fa0092d8b827861 /libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | |
parent | d9fc6872d1f4669e6f9d3175e1985af858590e27 (diff) | |
download | slackbuilds-46742e4263ff2b9b1172ddc89f0f8881d58ac645.tar.gz |
libraries/OpenSceneGraph: Updated for version 3.0.1.
Also disabled ffmpeg (incompatible)
and added two fixes for curl and xine.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r-- | libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index 4f04780df2..29297d8776 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -6,7 +6,7 @@ # Maintained by Jordan Evans <jordanevans19@gmail.com> PRGNAM=OpenSceneGraph -VERSION=${VERSION:-2.8.3} +VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,10 +54,24 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# One fix for xine>=1.2.x and for curl>=0.7.24 (tnx Gentoo) +patch -p0 < $CWD/openscenegraph-3.0.1-xinelib12x.patch +sed -i 's|#include <curl/types.h>||' src/osgPlugins/curl/ReaderWriterCURL.cpp + +# Our ffmpeg is incompatible ATM cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DFFMPEG_LIBAVCODEC_INCLUDE_DIRS="PATH=FFMPEG_LIBAVCODEC_INCLUDE_DIRS-NOTFOUND" \ + -DFFMPEG_LIBAVCODEC_LIBRARIES="FILEPATH=FFMPEG_LIBAVCODEC_LIBRARIES-NOTFOUND" \ + -DFFMPEG_LIBAVDEVICE_INCLUDE_DIRS="PATH=FFMPEG_LIBAVDEVICE_INCLUDE_DIRS-NOTFOUND" \ + -DFFMPEG_LIBAVDEVICE_LIBRARIES="FILEPATH=FFMPEG_LIBAVDEVICE_LIBRARIES-NOTFOUND" \ + -DFFMPEG_LIBAVFORMAT_INCLUDE_DIRS="PATH=FFMPEG_LIBAVFORMAT_INCLUDE_DIRS-NOTFOUND" \ + -DFFMPEG_LIBAVFORMAT_LIBRARIES="FILEPATH=FFMPEG_LIBAVFORMAT_LIBRARIES-NOTFOUND" \ + -DFFMPEG_LIBAVUTIL_INCLUDE_DIRS="PATH=FFMPEG_LIBAVUTIL_INCLUDE_DIRS-NOTFOUND" \ + -DFFMPEG_LIBAVUTIL_LIBRARIES="FILEPATH=FFMPEG_LIBAVUTIL_LIBRARIES-NOTFOUND" \ + -DFFMPEG_LIBSWSCALE_INCLUDE_DIRS="PATH=FFMPEG_LIBSWSCALE_INCLUDE_DIRS-NOTFOUND" \ + -DFFMPEG_LIBSWSCALE_LIBRARIES="FILEPATH=FFMPEG_LIBSWSCALE_LIBRARIES-NOTFOUND" \ -DCMAKE_INSTALL_PREFIX=/usr make |