diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-03 20:34:09 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-04 10:37:21 +0100 |
commit | 7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af (patch) | |
tree | e0665a5ce5c6e08888f9f76d783748602c5b92c8 /dev-games | |
parent | www-client/epiphany: bump to 3.32.6 (diff) | |
download | gentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.tar.gz gentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.tar.bz2 gentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.zip |
*/*: Switch games proj to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild | 6 | ||||
-rw-r--r-- | dev-games/openscenegraph/openscenegraph-3.6.4.ebuild | 64 | ||||
-rw-r--r-- | dev-games/physfs/physfs-3.0.2.ebuild | 7 | ||||
-rw-r--r-- | dev-games/physfs/physfs-9999.ebuild | 7 |
4 files changed, 43 insertions, 41 deletions
diff --git a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild index 1a1be79e4194..fd7f48f62dbc 100644 --- a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild +++ b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild @@ -5,7 +5,7 @@ EAPI=7 MY_PN="osgQt" MY_P=${MY_PN}-${PV} -inherit cmake-utils +inherit cmake DESCRIPTION="Qt support for OpenSceneGraph" HOMEPAGE="http://www.openscenegraph.org/" @@ -41,8 +41,8 @@ src_configure() { -DDYNAMIC_OPENSCENEGRAPH=ON -DDESIRED_QT_VERSION=5 -DBUILD_OSG_EXAMPLES=$(usex examples) - $(cmake-utils_use_find_package webkit Qt5WebKitWidgets) + $(cmake_use_find_package webkit Qt5WebKitWidgets) ) - cmake-utils_src_configure + cmake_src_configure } diff --git a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild index 1f0f59ca8e4f..1e0f1b579dc2 100644 --- a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild +++ b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild @@ -6,7 +6,7 @@ EAPI=7 MY_PN="OpenSceneGraph" MY_P=${MY_PN}-${PV} WX_GTK_VER="3.0" -inherit cmake-utils flag-o-matic wxwidgets +inherit cmake flag-o-matic wxwidgets DESCRIPTION="Open source high performance 3D graphics toolkit" HOMEPAGE="http://www.openscenegraph.org/" @@ -101,51 +101,51 @@ src_configure() { -DOSG_ENVVAR_SUPPORTED=ON -DOSG_PROVIDE_READFILE=ON -DOSG_USE_LOCAL_LUA_SOURCE=OFF - $(cmake-utils_use_find_package asio Asio) - $(cmake-utils_use_find_package curl CURL) + $(cmake_use_find_package asio Asio) + $(cmake_use_find_package curl CURL) -DBUILD_DOCUMENTATION=$(usex doc) - $(cmake-utils_use_find_package dicom DCMTK) - $(cmake-utils_use_find_package egl EGL) + $(cmake_use_find_package dicom DCMTK) + $(cmake_use_find_package egl EGL) -DBUILD_OSG_EXAMPLES=$(usex examples) - $(cmake-utils_use_find_package ffmpeg FFmpeg) - $(cmake-utils_use_find_package gdal GDAL) - $(cmake-utils_use_find_package gif GIFLIB) - $(cmake-utils_use_find_package gstreamer GLIB) - $(cmake-utils_use_find_package gstreamer GStreamer) - $(cmake-utils_use_find_package gtk GtkGl) - $(cmake-utils_use_find_package jpeg JPEG) + $(cmake_use_find_package ffmpeg FFmpeg) + $(cmake_use_find_package gdal GDAL) + $(cmake_use_find_package gif GIFLIB) + $(cmake_use_find_package gstreamer GLIB) + $(cmake_use_find_package gstreamer GStreamer) + $(cmake_use_find_package gtk GtkGl) + $(cmake_use_find_package jpeg JPEG) -DCMAKE_DISABLE_FIND_PACKAGE_Jasper=ON - $(cmake-utils_use_find_package las LIBLAS) - $(cmake-utils_use_find_package lua Lua51) + $(cmake_use_find_package las LIBLAS) + $(cmake_use_find_package lua Lua51) -DCMAKE_DISABLE_FIND_PACKAGE_Lua52=ON -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade=ON - $(cmake-utils_use_find_package openexr OpenEXR) - $(cmake-utils_use_find_package openinventor Inventor) + $(cmake_use_find_package openexr OpenEXR) + $(cmake_use_find_package openinventor Inventor) -DBUILD_OSG_APPLICATIONS=$(usex osgapps) - $(cmake-utils_use_find_package pdf Poppler-glib) - $(cmake-utils_use_find_package png PNG) - $(cmake-utils_use_find_package sdl SDL) - $(cmake-utils_use_find_package sdl2 SDL2) - $(cmake-utils_use_find_package svg RSVG) - $(cmake-utils_use_find_package tiff TIFF) - $(cmake-utils_use_find_package truetype Freetype) - $(cmake-utils_use_find_package vnc LibVNCServer) + $(cmake_use_find_package pdf Poppler-glib) + $(cmake_use_find_package png PNG) + $(cmake_use_find_package sdl SDL) + $(cmake_use_find_package sdl2 SDL2) + $(cmake_use_find_package svg RSVG) + $(cmake_use_find_package tiff TIFF) + $(cmake_use_find_package truetype Freetype) + $(cmake_use_find_package vnc LibVNCServer) -DOSGVIEWER_USE_XRANDR=$(usex xrandr) - $(cmake-utils_use_find_package zlib ZLIB) + $(cmake_use_find_package zlib ZLIB) ) if use examples; then mycmakeargs+=( - $(cmake-utils_use_find_package fltk FLTK) - $(cmake-utils_use_find_package fox FOX) - $(cmake-utils_use_find_package glut GLUT) - $(cmake-utils_use_find_package wxwidgets wxWidgets) + $(cmake_use_find_package fltk FLTK) + $(cmake_use_find_package fox FOX) + $(cmake_use_find_package glut GLUT) + $(cmake_use_find_package wxwidgets wxWidgets) ) fi - cmake-utils_src_configure + cmake_src_configure } src_compile() { - cmake-utils_src_compile - use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads + cmake_src_compile + use doc && cmake_src_compile doc_openscenegraph doc_openthreads } diff --git a/dev-games/physfs/physfs-3.0.2.ebuild b/dev-games/physfs/physfs-3.0.2.ebuild index 37c14d9804c5..774fa791efd5 100644 --- a/dev-games/physfs/physfs-3.0.2.ebuild +++ b/dev-games/physfs/physfs-3.0.2.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake inherit cmake-multilib DESCRIPTION="Abstraction layer for filesystem and archive access" @@ -40,14 +41,14 @@ multilib_src_configure() { -DPHYSFS_ARCHIVE_QPAK="$(usex qpak)" -DPHYSFS_ARCHIVE_ZIP="$(usex zip)" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_compile() { - cmake-utils_src_compile + cmake_src_compile if multilib_is_native_abi && use doc; then - cmake-utils_src_compile docs + cmake_src_compile docs HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) fi } diff --git a/dev-games/physfs/physfs-9999.ebuild b/dev-games/physfs/physfs-9999.ebuild index dbaa669aacc9..9490039a10a7 100644 --- a/dev-games/physfs/physfs-9999.ebuild +++ b/dev-games/physfs/physfs-9999.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake inherit cmake-multilib DESCRIPTION="Abstraction layer for filesystem and archive access" @@ -40,14 +41,14 @@ multilib_src_configure() { -DPHYSFS_ARCHIVE_QPAK="$(usex qpak)" -DPHYSFS_ARCHIVE_ZIP="$(usex zip)" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_compile() { - cmake-utils_src_compile + cmake_src_compile if multilib_is_native_abi && use doc; then - cmake-utils_src_compile docs + cmake_src_compile docs HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) fi } |