diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2016-07-21 02:07:00 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2016-07-21 02:07:26 +0200 |
commit | ec1054af6d98fdf5342d870d2e60f27408966a03 (patch) | |
tree | 1e2278ad6bea5562a232dca5844794352729ef67 /dev-games/openscenegraph | |
parent | sci-libs/fftw: imported live ebuild from sci (diff) | |
download | gentoo-ec1054af6d98fdf5342d870d2e60f27408966a03.tar.gz gentoo-ec1054af6d98fdf5342d870d2e60f27408966a03.tar.bz2 gentoo-ec1054af6d98fdf5342d870d2e60f27408966a03.zip |
dev-games/openscenegraph: Version bump 3.5.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-games/openscenegraph')
-rw-r--r-- | dev-games/openscenegraph/Manifest | 1 | ||||
-rw-r--r-- | dev-games/openscenegraph/openscenegraph-3.5.1.ebuild | 166 |
2 files changed, 167 insertions, 0 deletions
diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest index 681704b9a815..ed06f4a0cfe4 100644 --- a/dev-games/openscenegraph/Manifest +++ b/dev-games/openscenegraph/Manifest @@ -1,2 +1,3 @@ DIST OpenSceneGraph-3.2.1.zip 7219212 SHA256 d9ae72263d0191855b0f804d93c586d489f119aca0499292acc09bb0fa0b3e6d SHA512 f7bd9aedd3a1f48094a0ad95d267c2f2c946b042f7459d6b33e6038a4b16aeda9cfd69f339ea0a2a478dadadf1875313a4132564b8fcade5ad93511ecd8c1a9e WHIRLPOOL ef47a41a316fae86341cdebecaeceb41cf56b5f11fdf93e8218bb9aa9eaa28fc2fc9122efbeb8dce69fa01d8c8b6a2460fab69190714ca53abfa5d347a0ae1bc DIST OpenSceneGraph-3.4.0.zip 7975023 SHA256 5c727d84755da276adf8c4a4a3a8ba9c9570fc4b4969f06f1d2e9f89b1e3040e SHA512 b598a7d68c9e5bf840d7b0a59a334037c3b6efe4d2dce333280b63a8ccef1b9a37cd5ff32b98f18e110ff9cbc48226f588e143cb1d68405edda3c60ab2f3f73a WHIRLPOOL fa2ede4e0f9300d122390338ebea15814ffbe80887c3f8d6cb392c0cb478eaf7ba2f67c310f17658620b8c1745a453d4c47c26c5702fa549b7ef73257321b639 +DIST OpenSceneGraph-3.5.1.zip 8353019 SHA256 c409e9095d77faab3db8fe2047d75e7ef348fd9f06ecd8b7629fceb8fe1d24e0 SHA512 5d419cb2e59efaf1e9b2efdb3a28e1deb5bf8b62a1be2ab4fed06e50064c4c4fb9f1332e65e0bfe0c6d8e99fe0cc134f863ba46965eda9546d125fbd22151057 WHIRLPOOL bf57ea2d55c8cb8d45cc392a4bddd603e9835329b074e14a6d4454695da8cdd899160b60a7d7f3c395ac1fd30f4125ef37c3932d876576ebec84a53fea96bbd4 diff --git a/dev-games/openscenegraph/openscenegraph-3.5.1.ebuild b/dev-games/openscenegraph/openscenegraph-3.5.1.ebuild new file mode 100644 index 000000000000..d86aac2e17f7 --- /dev/null +++ b/dev-games/openscenegraph/openscenegraph-3.5.1.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WX_GTK_VER="3.0" + +inherit eutils cmake-utils flag-o-matic wxwidgets + +MY_PN="OpenSceneGraph" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Open source high performance 3D graphics toolkit" +HOMEPAGE="http://www.openscenegraph.org/projects/osg/" +SRC_URI="http://trac.openscenegraph.org/downloads/developer_releases/${MY_P}.zip" + +LICENSE="wxWinLL-3 LGPL-2.1" +SLOT="0/34" # Subslot consists of major + minor version number +KEYWORDS="~amd64 ~x86" +IUSE="asio curl debug doc examples ffmpeg fltk fox gdal gif glut gstreamer gtk jpeg +jpeg2k las lua openexr openinventor osgapps pdf png qt4 qt5 sdl sdl2 svg tiff truetype +vnc wxwidgets xine xrandr zlib" + +REQUIRED_USE=" + qt4? ( !qt5 ) + qt5? ( !qt4 ) + sdl2? ( sdl ) +" + +# TODO: COLLADA, FBX, GTA, ITK, OpenVRML, Performer, DCMTK +RDEPEND=" + x11-libs/libSM + x11-libs/libXext + virtual/glu + virtual/opengl + asio? ( dev-cpp/asio ) + curl? ( net-misc/curl ) + examples? ( + fltk? ( x11-libs/fltk:1[opengl] ) + fox? ( x11-libs/fox:1.6[opengl] ) + glut? ( media-libs/freeglut ) + gtk? ( x11-libs/gtkglext ) + sdl2? ( media-libs/libsdl2 ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[opengl,X] ) + ) + ffmpeg? ( virtual/ffmpeg ) + gdal? ( sci-libs/gdal ) + gif? ( media-libs/giflib:= ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/jasper ) + las? ( >=sci-geosciences/liblas-1.8.0 ) + lua? ( >=dev-lang/lua-5.1.5:* ) + openexr? ( + media-libs/ilmbase + media-libs/openexr + ) + openinventor? ( media-libs/coin ) + pdf? ( app-text/poppler[cairo] ) + png? ( media-libs/libpng:0 ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl ) + 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 + virtual/pkgconfig + x11-proto/xextproto + doc? ( app-doc/doxygen ) + xrandr? ( x11-proto/randrproto ) +" + +S=${WORKDIR}/${MY_P} + +DOCS=(AUTHORS.txt ChangeLog NEWS.txt) + +PATCHES=( + "${FILESDIR}"/${PN}-3.4.0-cmake.patch +) + +src_configure() { + if use examples && use wxwidgets; then + need-wxwidgets unicode + fi + + # Needed by FFmpeg + append-cppflags -D__STDC_CONSTANT_MACROS + + mycmakeargs=( + -DDYNAMIC_OPENSCENEGRAPH=ON + -DWITH_ITK=OFF + -DGENTOO_DOCDIR="/usr/share/doc/${PF}" + -DOPENGL_PROFILE=GL2 #GL1 GL2 GL3 GLES1 GLES3 GLES3 + -DOSG_PROVIDE_READFILE=ON + -DOSG_USE_LOCAL_LUA_SOURCE=OFF + -DWITH_Lua51=OFF # We use CMake-version FindLua.cmake instead + -DWITH_Lua52=OFF + $(cmake-utils_use_with asio) + $(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 gstreamer GStreamer) + $(cmake-utils_use_with gstreamer GLIB) + $(cmake-utils_use_with gtk GtkGl) + $(cmake-utils_use_with jpeg) + $(cmake-utils_use_with jpeg2k Jasper) + $(cmake-utils_use_with las LIBLAS) + $(cmake-utils_use_with lua) + $(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 sdl) + $(cmake-utils_use_with sdl2) + $(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) + ) + if use qt4; then + mycmakeargs+=( -DOSG_USE_QT=ON -DDESIRED_QT_VERSION=4 ) + elif use qt5; then + mycmakeargs+=( -DOSG_USE_QT=ON -DDESIRED_QT_VERSION=5 ) + else + mycmakeargs+=( -DOSG_USE_QT=OFF ) + fi + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads +} |