From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/openscenegraph/
Date: Sun, 4 Dec 2016 00:55:43 +0000 (UTC) [thread overview]
Message-ID: <1480812932.be537b66363ce7c9111ac1bd048389afdf7cdd21.monsieurp@gentoo> (raw)
commit: be537b66363ce7c9111ac1bd048389afdf7cdd21
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Oct 27 23:54:09 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 4 00:55:32 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be537b66
dev-games/openscenegraph: Drop USE=qt4, bump to EAPI 6.
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2681
.../openscenegraph/openscenegraph-3.5.1-r1.ebuild | 155 +++++++++++++++++++++
1 file changed, 155 insertions(+)
diff --git a/dev-games/openscenegraph/openscenegraph-3.5.1-r1.ebuild b/dev-games/openscenegraph/openscenegraph-3.5.1-r1.ebuild
new file mode 100644
index 00000000..383f78e
--- /dev/null
+++ b/dev-games/openscenegraph/openscenegraph-3.5.1-r1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+WX_GTK_VER="3.0"
+
+inherit 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 qt5 sdl sdl2 svg tiff truetype
+vnc wxwidgets xine xrandr zlib"
+
+REQUIRED_USE="sdl2? ( sdl )"
+
+# TODO: COLLADA, FBX, GTA, 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= )
+ 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
+
+ local mycmakeargs=(
+ -DDYNAMIC_OPENSCENEGRAPH=ON
+ -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_Asio=$(usex asio)
+ -DWITH_CURL=$(usex curl)
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DBUILD_OSG_APPLICATIONS=$(usex osgapps)
+ -DBUILD_OSG_EXAMPLES=$(usex examples)
+ -DWITH_FFmpeg=$(usex ffmpeg)
+ -DWITH_GDAL=$(usex gdal)
+ -DWITH_GIFLIB=$(usex gif)
+ -DWITH_GStreamer=$(usex gstreamer)
+ -DWITH_GLIB=$(usex gstreamer)
+ -DWITH_GtkGl=$(usex gtk)
+ -DWITH_JPEG=$(usex jpeg)
+ -DWITH_Jasper=$(usex jpeg2k)
+ -DWITH_LIBLAS=$(usex las)
+ -DWITH_Lua=$(usex lua)
+ -DWITH_OpenEXR=$(usex openexr)
+ -DWITH_Inventor=$(usex openinventor)
+ -DWITH_Poppler-glib=$(usex pdf)
+ -DWITH_PNG=$(usex png)
+ -DOSG_USE_QT=$(usex qt5)
+ $(usex qt5 "-DDESIRED_QT_VERSION=5" "")
+ -DWITH_SDL=$(usex sdl)
+ -DWITH_SDL2=$(usex sdl2)
+ -DWITH_RSVG=$(usex svg rsvg)
+ -DWITH_TIFF=$(usex tiff)
+ -DWITH_Freetype=$(usex truetype)
+ -DWITH_LibVNCServer=$(usex vnc)
+ -DWITH_Xine=$(usex xine)
+ -DOSGVIEWER_USE_XRANDR=$(usex xrandr)
+ -DWITH_ZLIB=$(usex zlib)
+ )
+ if use examples; then
+ mycmakeargs+=(
+ -DWITH_FLTK=$(usex fltk)
+ -DWITH_FOX=$(usex fox)
+ -DWITH_GLUT=$(usex glut)
+ -DWITH_wxWidgets=$(usex wxwidgets)
+ )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads
+}
next reply other threads:[~2016-12-04 0:55 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-04 0:55 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-25 23:02 [gentoo-commits] repo/gentoo:master commit in: dev-games/openscenegraph/ Sam James
2024-11-24 21:46 Sam James
2024-11-23 20:33 Arthur Zamarin
2024-06-16 9:18 Pacho Ramos
2023-07-05 20:49 Conrad Kostecki
2023-07-02 20:28 James Le Cuirot
2023-02-16 14:04 David Seifert
2023-02-15 6:46 Sam James
2022-08-11 7:37 Ionen Wolkens
2022-03-01 0:01 Sam James
2022-02-28 23:58 Sam James
2022-02-28 5:21 Sam James
2022-02-28 1:38 Sam James
2021-12-08 3:33 Sam James
2021-12-08 3:33 Sam James
2021-10-16 9:15 Sam James
2021-07-31 1:15 Ionen Wolkens
2021-07-31 1:15 Ionen Wolkens
2021-03-02 0:21 Maciej Mrozowski
2021-02-28 15:59 Sam James
2021-02-28 12:22 Sergei Trofimovich
2021-02-27 21:41 Sam James
2021-02-27 19:34 Sam James
2020-12-03 22:58 Marek Szuba
2020-09-04 3:42 Sam James
2020-09-04 3:20 Sam James
2020-08-30 19:10 Thomas Deutschmann
2020-08-29 12:57 Sam James
2020-08-02 22:30 Maciej Mrozowski
2020-04-25 18:35 Mikle Kolyada
2020-04-13 21:37 Sergei Trofimovich
2020-03-14 17:59 Andreas Sturmlechner
2020-01-10 22:43 Andreas Sturmlechner
2019-11-09 8:57 Andreas Sturmlechner
2019-11-09 8:57 Andreas Sturmlechner
2019-08-28 8:19 David Seifert
2018-03-12 4:33 Matt Turner
2018-03-11 2:16 Thomas Deutschmann
2018-03-04 22:30 Sergei Trofimovich
2018-02-26 19:58 Sergei Trofimovich
2018-02-26 19:35 Sergei Trofimovich
2017-09-23 2:23 Michael Palimaka
2017-07-26 8:20 Sergei Trofimovich
2017-07-20 20:57 Sergei Trofimovich
2017-05-18 0:29 Maciej Mrozowski
2017-04-21 3:30 Maciej Mrozowski
2017-04-20 8:26 Jeroen Roovers
2017-04-05 20:25 Michael Weber
2017-02-19 13:33 Agostino Sarubbo
2017-02-19 13:11 Agostino Sarubbo
2017-02-18 15:56 Andreas Sturmlechner
2017-02-18 15:52 Andreas Sturmlechner
2016-12-04 0:55 Patrice Clement
2016-11-29 20:19 Pacho Ramos
2016-11-24 12:25 Michael Palimaka
2016-11-24 12:25 Michael Palimaka
2016-11-12 23:37 David Seifert
2016-11-04 1:35 Maciej Mrozowski
2016-07-21 0:07 Maciej Mrozowski
2016-01-13 14:10 Patrice Clement
2016-01-11 13:25 Lars Wendler
2015-10-25 13:29 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480812932.be537b66363ce7c9111ac1bd048389afdf7cdd21.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox