diff options
author | Christian Schmitt <chris@ilovelinux.de> | 2011-01-08 17:02:47 +0100 |
---|---|---|
committer | Christian Schmitt <chris@ilovelinux.de> | 2011-01-08 17:02:47 +0100 |
commit | 046450ab644f21f374f939f782cb429f4621a859 (patch) | |
tree | ffb1b6170120ccded1f731211e23d9865523076b /dev-games | |
parent | [games-simulation/flightgear] small dep change (diff) | |
download | gamerlay-046450ab644f21f374f939f782cb429f4621a859.tar.gz gamerlay-046450ab644f21f374f939f782cb429f4621a859.tar.bz2 gamerlay-046450ab644f21f374f939f782cb429f4621a859.zip |
[dev-games/openscenegraph-9999] removed the live version as it is unmaintainable.
The gentoo-specific cmake patches should be upstreamed so that we
don't have to adapt them permanently.
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/openscenegraph/Manifest | 2 | ||||
-rw-r--r-- | dev-games/openscenegraph/files/openscenegraph-cmake2.patch | 197 | ||||
-rw-r--r-- | dev-games/openscenegraph/openscenegraph-9999.ebuild | 131 |
3 files changed, 0 insertions, 330 deletions
diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest index b26564a..6fc2c71 100644 --- a/dev-games/openscenegraph/Manifest +++ b/dev-games/openscenegraph/Manifest @@ -1,6 +1,4 @@ AUX openscenegraph-cmake.patch 10921 RMD160 0256ec4e22ad02f6bd5dd0a573314ab9d81084fa SHA1 7917f0546df412afe2bef8b28dcc11702a2dd760 SHA256 c006673a234a53506576213aa8941a37ad0e88b6d47f0a8847c432b6699280b4 -AUX openscenegraph-cmake2.patch 7572 RMD160 1bef6cbc6bb91f80918ec99d7fe23cc3d363f377 SHA1 fae25d69fe40bfca43931c6edbf8882ead008f1d SHA256 9da7a5321f91a032e7da78fc93892d9d33edca7c585add7b11c9286f8c46d7dd DIST OpenSceneGraph-2.9.9.zip 6632745 RMD160 62f4cbc72b05cd6d8d622fbf04740fd3f22064c3 SHA1 67732d846b12ed1304f56f9ffe1cf6229d553fa0 SHA256 c7f35b675ad305ed0106151d2832f275543bf28ec25bc52314e9c49e8dce9616 EBUILD openscenegraph-2.9.9.ebuild 3514 RMD160 4cfc2b646623e7e5dc687834f43b71f37f848241 SHA1 9fc7ef19f757322029d08fddaa15159ad54628f9 SHA256 f4f646b35d2b778fa99c0a59607a69cc5c43252e912c5ad75130b92763ebab19 -EBUILD openscenegraph-9999.ebuild 3449 RMD160 10399fbd3cb5d877d94f55e86f9d52cdc117c1ac SHA1 b2b9e2910a43c46a7746e72ab07ff48ad3308468 SHA256 139862e6baf3c833295c722d55dec57e7c2e3d4a58daf69469a99b67dfa430d0 MISC metadata.xml 1115 RMD160 ca10b4eb4fdf20ffe7db6fe29ee2d290fda4a695 SHA1 eb1cb05392044f03e8d2a6ee5077d933044cabf9 SHA256 f3ea3669edf3bdc96dc9747d59447433fb9677185764d69a3aea6115b9d58643 diff --git a/dev-games/openscenegraph/files/openscenegraph-cmake2.patch b/dev-games/openscenegraph/files/openscenegraph-cmake2.patch deleted file mode 100644 index 1cf2369..0000000 --- a/dev-games/openscenegraph/files/openscenegraph-cmake2.patch +++ /dev/null @@ -1,197 +0,0 @@ ---- CMakeLists.txt (revision 11940) -+++ CMakeLists.txt (working copy) -@@ -339,6 +339,7 @@ - - # INSTALL_FILES(/include/osg/ FILES "${OPENSCENEGRAPH_CONFIG_HEADER}") - -+INCLUDE(MacroOptionalFindPackage) - - ################################################################################ - # Set Version Info resource file -@@ -365,29 +366,29 @@ - ENDIF() - - # Common to all platforms: --FIND_PACKAGE(FreeType) --FIND_PACKAGE(Inventor) --FIND_PACKAGE(Jasper) --FIND_PACKAGE(OpenEXR) --FIND_PACKAGE(COLLADA) --FIND_PACKAGE(FBX) --FIND_PACKAGE(ZLIB) --FIND_PACKAGE(Xine) --FIND_PACKAGE(OpenVRML) --FIND_PACKAGE(Performer) --FIND_PACKAGE(GDAL) --FIND_PACKAGE(CURL) --FIND_PACKAGE(ITK) --FIND_PACKAGE(LibVNCServer) --FIND_PACKAGE(OurDCMTK) --FIND_PACKAGE(OpenAL) --FIND_PACKAGE(XUL) --FIND_PACKAGE(FFmpeg) -+MACRO_OPTIONAL_FIND_PACKAGE(FreeType) -+MACRO_OPTIONAL_FIND_PACKAGE(Inventor) -+MACRO_OPTIONAL_FIND_PACKAGE(Jasper) -+MACRO_OPTIONAL_FIND_PACKAGE(OpenEXR) -+MACRO_OPTIONAL_FIND_PACKAGE(COLLADA) -+MACRO_OPTIONAL_FIND_PACKAGE(FBX) -+MACRO_OPTIONAL_FIND_PACKAGE(ZLIB) -+MACRO_OPTIONAL_FIND_PACKAGE(Xine) -+MACRO_OPTIONAL_FIND_PACKAGE(OpenVRML) -+MACRO_OPTIONAL_FIND_PACKAGE(Performer) -+MACRO_OPTIONAL_FIND_PACKAGE(GDAL) -+MACRO_OPTIONAL_FIND_PACKAGE(CURL) -+MACRO_OPTIONAL_FIND_PACKAGE(ITK) -+MACRO_OPTIONAL_FIND_PACKAGE(LibVNCServer) -+MACRO_OPTIONAL_FIND_PACKAGE(OurDCMTK) -+MACRO_OPTIONAL_FIND_PACKAGE(OpenAL) -+MACRO_OPTIONAL_FIND_PACKAGE(XUL) -+MACRO_OPTIONAL_FIND_PACKAGE(FFmpeg) -+MACRO_OPTIONAL_FIND_PACKAGE(SDL) -+MACRO_OPTIONAL_FIND_PACKAGE(Poppler-glib) -+MACRO_OPTIONAL_FIND_PACKAGE(RSVG) -+MACRO_OPTIONAL_FIND_PACKAGE(GtkGl) - FIND_PACKAGE(DirectShow) --FIND_PACKAGE(SDL) --FIND_PACKAGE(Poppler-glib) --FIND_PACKAGE(RSVG) --FIND_PACKAGE(GtkGl) - - # Include macro utilities here - INCLUDE(OsgMacroUtils) -@@ -397,17 +398,17 @@ - IF (DESIRED_QT_VERSION) - - IF (DESIRED_QT_VERSION MATCHES 4) -- FIND_PACKAGE(Qt4) -+ MACRO_OPTIONAL_FIND_PACKAGE(Qt4) - ELSE() -- FIND_PACKAGE(Qt3) -+ MACRO_OPTIONAL_FIND_PACKAGE(Qt3) - ENDIF() - - ELSE() - -- FIND_PACKAGE(Qt4) -+ MACRO_OPTIONAL_FIND_PACKAGE(Qt4) - - IF (NOT QT4_FOUND) -- FIND_PACKAGE(Qt3) -+ MACRO_OPTIONAL_FIND_PACKAGE(Qt3) - ENDIF() - - ENDIF() -@@ -416,9 +417,9 @@ - IF (BUILD_OSG_EXAMPLES) - - -- FIND_PACKAGE(FLTK) -- FIND_PACKAGE(GLUT) -- FIND_PACKAGE(FOX) -+ MACRO_OPTIONAL_FIND_PACKAGE(FLTK) -+ MACRO_OPTIONAL_FIND_PACKAGE(GLUT) -+ MACRO_OPTIONAL_FIND_PACKAGE(FOX) - - SET(wxWidgets_USE_LIBS base core gl net) - FIND_PACKAGE(wxWidgets) -@@ -441,10 +442,10 @@ - # Image readers/writers depend on 3rd party libraries except for OS X which - # can use Quicktime. - IF(NOT APPLE) -- FIND_PACKAGE(GIFLIB) -- FIND_PACKAGE(JPEG) -- FIND_PACKAGE(PNG) -- FIND_PACKAGE(TIFF) -+ MACRO_OPTIONAL_FIND_PACKAGE(GIFLIB) -+ MACRO_OPTIONAL_FIND_PACKAGE(JPEG) -+ MACRO_OPTIONAL_FIND_PACKAGE(PNG) -+ MACRO_OPTIONAL_FIND_PACKAGE(TIFF) - - # QuickTime is required for OS X, but optional for Windows. - IF(WIN32) - -diff -ruN ../OpenSceneGraph-2.9.7.old/CMakeModules/COPYING-CMAKE-SCRIPTS ./CMakeModules/COPYING-CMAKE-SCRIPTS ---- ../OpenSceneGraph-2.9.7.old/CMakeModules/COPYING-CMAKE-SCRIPTS 1970-01-01 01:00:00.000000000 +0100 -+++ ./CMakeModules/COPYING-CMAKE-SCRIPTS 2010-07-26 21:01:52.000000000 +0200 -@@ -0,0 +1,22 @@ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions -+are met: -+ -+1. Redistributions of source code must retain the copyright -+ notice, this list of conditions and the following disclaimer. -+2. Redistributions in binary form must reproduce the copyright -+ notice, this list of conditions and the following disclaimer in the -+ documentation and/or other materials provided with the distribution. -+3. The name of the author may not be used to endorse or promote products -+ derived from this software without specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -diff -ruN ../OpenSceneGraph-2.9.7.old/CMakeModules/MacroOptionalFindPackage.cmake ./CMakeModules/MacroOptionalFindPackage.cmake ---- ../OpenSceneGraph-2.9.7.old/CMakeModules/MacroOptionalFindPackage.cmake 1970-01-01 01:00:00.000000000 +0100 -+++ ./CMakeModules/MacroOptionalFindPackage.cmake 2010-07-26 21:02:42.000000000 +0200 -@@ -0,0 +1,28 @@ -+# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION() -+# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] ) -+# This macro is a combination of OPTION() and FIND_PACKAGE(), it -+# works like FIND_PACKAGE(), but additionally it automatically creates -+# an option name WITH_<name>, which can be disabled via the cmake GUI. -+# or via -DWITH_<name>=OFF -+# The standard <name>_FOUND variables can be used in the same way -+# as when using the normal FIND_PACKAGE() -+ -+# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> -+# -+# Redistribution and use is allowed according to the terms of the BSD license. -+# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -+ -+ -+macro (MACRO_OPTIONAL_FIND_PACKAGE _name ) -+ option(WITH_${_name} "Search for ${_name} package" ON) -+ if (WITH_${_name}) -+ find_package(${_name} ${ARGN}) -+ else (WITH_${_name}) -+ set(${_name}_FOUND) -+ set(${_name}_INCLUDE_DIR) -+ set(${_name}_INCLUDES) -+ set(${_name}_LIBRARY) -+ set(${_name}_LIBRARIES) -+ endif (WITH_${_name}) -+endmacro (MACRO_OPTIONAL_FIND_PACKAGE) -+ -diff -ruN ../OpenSceneGraph-2.9.7.old/CMakeModules/OsgMacroUtils.cmake ./CMakeModules/OsgMacroUtils.cmake ---- ../OpenSceneGraph-2.9.7.old/CMakeModules/OsgMacroUtils.cmake 2009-10-30 16:17:38.000000000 +0100 -+++ ./CMakeModules/OsgMacroUtils.cmake 2010-07-26 21:00:31.000000000 +0200 -@@ -318,9 +318,9 @@ - SETUP_EXE(${IS_COMMANDLINE_APP}) - - IF(APPLE) -- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin ) -+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin BUNDLE DESTINATION bin) - ELSE(APPLE) -- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples ) -+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph-examples ) - ENDIF(APPLE) - - ENDMACRO(SETUP_EXAMPLE) -diff -ruN ../OpenSceneGraph-2.9.7.old/examples/osgviewerFLTK/CMakeLists.txt ./examples/osgviewerFLTK/CMakeLists.txt ---- ../OpenSceneGraph-2.9.7.old/examples/osgviewerFLTK/CMakeLists.txt 2007-06-25 10:35:06.000000000 +0200 -+++ ./examples/osgviewerFLTK/CMakeLists.txt 2010-07-26 21:00:36.000000000 +0200 -@@ -1,6 +1,6 @@ - SET(TARGET_SRC osgviewerFLTK.cpp ) - --SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_LIBRARY} ${FLTK_GL_LIBRARY}) -+SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_BASE_LIBRARY} ${FLTK_GL_LIBRARY}) - - INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR} ) - diff --git a/dev-games/openscenegraph/openscenegraph-9999.ebuild b/dev-games/openscenegraph/openscenegraph-9999.ebuild deleted file mode 100644 index 70d6c8b..0000000 --- a/dev-games/openscenegraph/openscenegraph-9999.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit cmake-utils subversion - -DESCRIPTION="Open source high performance 3D graphics toolkit" -HOMEPAGE="http://www.openscenegraph.org/projects/osg/" -ESVN_REPO_URI="http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk" - -LICENSE="wxWinLL-3 LGPL-2.1" -SLOT="0" -KEYWORDS="" -IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk jpeg jpeg2k -openexr openinventor osgapps pdf png qt4 sdl static-libs svg tiff truetype vnc -wxwidgets xine xrandr zlib" - -# NOTE: OpenAL (support missing) -# TODO: COLLADA, FBX, OpenVRML, Performer, ITK, DCMTK -# xulrunner? ( only 1.8 supported for now, ignore it -# net-libs/xulrunner:1.8 -# x11-libs/gtk+:2 -# ) -RDEPEND=" - x11-libs/libSM - x11-libs/libXext - virtual/glu - virtual/opengl - curl? ( net-misc/curl ) - examples? ( - fltk? ( x11-libs/fltk:1.1[opengl] ) - fox? ( x11-libs/fox:1.6[opengl] ) - glut? ( media-libs/freeglut ) - gtk? ( x11-libs/gtkglext ) - qt4? ( - x11-libs/qt-core:4 - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - ) - sdl? ( media-libs/libsdl ) - wxwidgets? ( x11-libs/wxGTK[opengl,X] ) - ) - ffmpeg? ( media-video/ffmpeg ) - gdal? ( sci-libs/gdal ) - gif? ( media-libs/giflib ) - jpeg? ( virtual/jpeg ) - jpeg2k? ( media-libs/jasper ) - openexr? ( - media-libs/ilmbase - media-libs/openexr - ) - openinventor? ( - || ( - media-libs/coin - media-libs/openinventor - ) - ) - pdf? ( app-text/poppler[cairo] ) - png? ( media-libs/libpng:0 ) - svg? ( - gnome-base/librsvg - x11-libs/cairo - ) - tiff? ( media-libs/tiff:0 ) - truetype? ( media-libs/freetype:2 ) - vnc? ( net-libs/libvncserver ) - xine? ( media-libs/xine-lib ) - xrandr? ( x11-libs/libXrandr ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - app-arch/unzip - dev-util/pkgconfig - x11-proto/xextproto - doc? ( app-doc/doxygen ) - xrandr? ( x11-proto/randrproto ) -" - -DOCS=(AUTHORS.txt ChangeLog NEWS.txt) - -src_prepare() { - epatch "${FILESDIR}"/${PN}-cmake2.patch -} - -src_configure() { - # Needed by FFmpeg - append-cppflags -D__STDC_CONSTANT_MACROS - - mycmakeargs=( - -DWITH_OpenAL=OFF # Commented out in buildsystem - -DWITH_XUL=OFF # Supports only xulrunner 1.8 - -DGENTOO_DOCDIR="/usr/share/doc/${PF}" - $(cmake-utils_use_with curl) - $(cmake-utils_use_build doc DOCUMENTATION) - $(cmake-utils_use_build osgapps OSG_APPLICATIONS) - $(cmake-utils_use_build examples OSG_EXAMPLES) - $(cmake-utils_use_with ffmpeg FFmpeg) - $(cmake-utils_use_with fltk) - $(cmake-utils_use_with fox) - $(cmake-utils_use_with gdal) - $(cmake-utils_use_with gif GIFLIB) - $(cmake-utils_use_with glut) - $(cmake-utils_use_with gtk GtkGl) - $(cmake-utils_use_with jpeg) - $(cmake-utils_use_with jpeg2k Jasper) - $(cmake-utils_use_with openexr OpenEXR) - $(cmake-utils_use_with openinventor Inventor) - $(cmake-utils_use_with pdf Poppler-glib) - $(cmake-utils_use_with png) - $(cmake-utils_use_with qt4) - $(cmake-utils_use !static-libs DYNAMIC_OPENSCENEGRAPH) - $(cmake-utils_use_with sdl) - $(cmake-utils_use_with svg RSVG) - $(cmake-utils_use_with tiff) - $(cmake-utils_use_with truetype FreeType) - $(cmake-utils_use_with vnc LibVNCServer) - $(cmake-utils_use_with wxwidgets wxWidgets) - $(cmake-utils_use_with xine) - $(cmake-utils_use xrandr OSGVIEWER_USE_XRANDR) - $(cmake-utils_use_with zlib) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads -} - |