From 82ac4ff4482c94c122b7bc2d3c66214c7ccd6a9b Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Thu, 7 Feb 2013 23:14:45 +0000 Subject: Build shared libs exclusively, bug 448050. Remove related pkg_postinst message. (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B1E955DB) --- dev-games/openscenegraph/ChangeLog | 10 +- .../openscenegraph/openscenegraph-3.0.1-r1.ebuild | 138 +++++++++++++++++++ .../openscenegraph/openscenegraph-3.0.1.ebuild | 147 --------------------- 3 files changed, 146 insertions(+), 149 deletions(-) create mode 100644 dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild delete mode 100644 dev-games/openscenegraph/openscenegraph-3.0.1.ebuild (limited to 'dev-games') diff --git a/dev-games/openscenegraph/ChangeLog b/dev-games/openscenegraph/ChangeLog index f7db6863411e..97692f527858 100644 --- a/dev-games/openscenegraph/ChangeLog +++ b/dev-games/openscenegraph/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/openscenegraph -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.51 2012/07/14 16:22:56 reavertm Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.52 2013/02/07 23:14:45 reavertm Exp $ + +*openscenegraph-3.0.1-r1 (07 Feb 2013) + + 07 Feb 2013; Maciej Mrozowski + -openscenegraph-3.0.1.ebuild, +openscenegraph-3.0.1-r1.ebuild: + Build shared libs exclusively, bug 448050. 14 Jul 2012; Maciej Mrozowski -files/openscenegraph-2.8.3-cmake.patch, diff --git a/dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild b/dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild new file mode 100644 index 000000000000..c1a499fa7355 --- /dev/null +++ b/dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild,v 1.1 2013/02/07 23:14:45 reavertm Exp $ + +EAPI=3 + +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://www.openscenegraph.org/downloads/stable_releases/${MY_P}/source/${MY_P}.zip" + +LICENSE="wxWinLL-3 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk itk jpeg jpeg2k +openexr openinventor osgapps pdf png qt4 sdl svg tiff truetype vnc wxwidgets xine xrandr zlib" + +# NOTE: OpenAL (support missing) +# TODO: COLLADA, FBX, OpenVRML, Performer, DCMTK +RDEPEND=" + x11-libs/libSM + x11-libs/libXext + virtual/glu + virtual/opengl + 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 ) + 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? ( virtual/ffmpeg ) + gdal? ( sci-libs/gdal ) + gif? ( media-libs/giflib ) + itk? ( dev-tcltk/itk ) + 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 + 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.0.1-cmake.patch + "${FILESDIR}"/${PN}-3.0.1-libav-0.7.patch + "${FILESDIR}"/${PN}-3.0.1-xinelib12x.patch +) + +src_configure() { + if use examples && use wxwidgets; then + WX_GTK_VER="2.8" + need-wxwidgets unicode + fi + + # Needed by FFmpeg + append-cppflags -D__STDC_CONSTANT_MACROS + + mycmakeargs=( + -DDYNAMIC_OPENSCENEGRAPH=ON + -DWITH_OpenAL=OFF # Commented out in buildsystem + -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 itk) + $(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_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 +} diff --git a/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild b/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild deleted file mode 100644 index 91004525b302..000000000000 --- a/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-3.0.1.ebuild,v 1.8 2012/07/10 04:51:17 xmw Exp $ - -EAPI=3 - -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://www.openscenegraph.org/downloads/stable_releases/${MY_P}/source/${MY_P}.zip" - -LICENSE="wxWinLL-3 LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk itk 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, DCMTK -RDEPEND=" - x11-libs/libSM - x11-libs/libXext - virtual/glu - virtual/opengl - 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 ) - 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? ( virtual/ffmpeg ) - gdal? ( sci-libs/gdal ) - gif? ( media-libs/giflib ) - itk? ( dev-tcltk/itk ) - 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 - 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.0.1-cmake.patch - "${FILESDIR}"/${PN}-3.0.1-libav-0.7.patch - "${FILESDIR}"/${PN}-3.0.1-xinelib12x.patch -) - -src_configure() { - if use examples && use wxwidgets; then - WX_GTK_VER="2.8" - need-wxwidgets unicode - fi - - # Needed by FFmpeg - append-cppflags -D__STDC_CONSTANT_MACROS - - mycmakeargs=( - -DWITH_OpenAL=OFF # Commented out in buildsystem - -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 itk) - $(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 -} - -pkg_postinst() { - if has_version 'dev-games/simgear'; then - ewarn "dev-games/simgear has been detected and may need to be rebuilt now." - ewarn "Please run the following:" - ewarn " # emerge -1 dev-games/simgear" - fi -} -- cgit v1.2.3-65-gdbad