MY_PN="osgQt"
MY_P=${MY_PN}-${PV}
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Qt support for OpenSceneGraph"
HOMEPAGE="http://www.openscenegraph.org/"
-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
}
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/"
-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
}
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Abstraction layer for filesystem and archive access"
-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
}
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Abstraction layer for filesystem and archive access"
-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
}
EAPI=7
-inherit cmake-utils desktop xdg-utils
+inherit cmake desktop xdg-utils
COMMIT="42b6acd19af00689e8f34355e3b13323d8ea3f79"
DATA_PV="0.8"
src_prepare() {
ln -snf ../../${PN}-${DATA_PV}/data/{music,sfx} data/ || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_SHARED_LIBS=OFF
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doicon -s 32 doc/${PN}.png
make_desktop_entry abuse Abuse
}
EAPI=7
-inherit cmake-utils desktop
+inherit cmake desktop
DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DLUGARU_FORCE_INTERNAL_OPENGL=False
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
EAPI=7
-inherit cmake-utils desktop xdg-utils
+inherit cmake desktop xdg-utils
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
HOMEPAGE="https://supertuxkart.net/"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# remove bundled libraries, just to be sure
rm -r lib/{angelscript,enet,glew,jpeglib,libpng,zlib} || die
-DSTK_INSTALL_DATA_DIR=share/${PN}
-DBUILD_SHARED_LIBS=OFF # build bundled libsquish as static library
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc CHANGELOG.md
doicon -s 64 "${DISTDIR}"/${PN}.png
EAPI=7
-inherit cmake-utils desktop xdg-utils
+inherit cmake desktop xdg-utils
DESCRIPTION="Help a girl named Violet in the struggle with hordes of monsters"
HOMEPAGE="https://violetland.github.io/"
"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# Bizarrely fcitx is only bundled for a CMake module to find libintl
# but let's make sure the rest remains unused.
-DLOCALE_INSTALL_DIR=share/locale
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc CHANGELOG.md CONTRIBUTORS.md
# Remove duplicate READMEs.
PYTHON_COMPAT=( python3_{5,6,7} )
-inherit cmake-utils desktop python-single-r1 xdg-utils
+inherit cmake desktop python-single-r1 xdg-utils
MY_PN="Commander-Genius"
MY_P="${MY_PN}-v${PV}"
-DBUILD_SHARED_LIBS=OFF
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# The normal executable name is weird.
dosym CGeniusExe /usr/bin/${PN}
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="A simple volleyball game"
HOMEPAGE="http://slime.tuxfamily.org/index.php"
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=TRUE
- -DCMAKE_INSTALL_PREFIX=/usr
-DDATA_DIR=/usr/share/slimevolley
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
: ${CMAKE_MAKEFILE_GENERATOR:=emake}
-inherit cmake-utils flag-o-matic
+inherit cmake flag-o-matic
MY_P="SuperTux-v${PV}-Source"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# This is not a developer release so switch the logo to the non-dev one.
sed -e 's@logo_dev@logo@' \
-DENABLE_BOOST_STATIC_LIBS=OFF # bug! Please check if this is still required.
-DUSE_SYSTEM_PHYSFS=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
: ${CMAKE_MAKEFILE_GENERATOR:=emake}
-inherit cmake-utils flag-o-matic
+inherit cmake flag-o-matic
MY_P="SuperTux-v${PV}-Source"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# This is not a developer release so switch the logo to the non-dev one.
sed -e 's@logo_dev@logo@' \
-DENABLE_SQDBG="$(usex debug)"
-DUSE_SYSTEM_PHYSFS=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
-inherit cmake-utils
+inherit cmake
MY_PV="2019-03-04-Release-2.7.0"
DESCRIPTION="An open-source multiplatform software for playing card games over a network"
sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY \"'${SHA1}'\")/' \
-i cmake/getversion.cmake || die "sed failed!"
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7}} )
-inherit cmake-utils python-single-r1 xdg
+inherit cmake python-single-r1 xdg
DESCRIPTION="Atari ST emulator"
HOMEPAGE="https://hatari.tuxfamily.org/"
src_prepare() {
xdg_environment_reset
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i "s/\.1\.gz\b/.1/g;T;s/gzip[^\$]*/cat /g" {*/,}*/CMakeLists.txt || die
sed -i "s:\"doc\" + sep + \"hatari\":\"doc/${PF}\":" python-ui/uihelpers.py || die
-DCMAKE_DISABLE_FIND_PACKAGE_Udev=$(usex !udev)
-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=$(usex !zlib)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
python_fix_shebang "${ED}"/usr/share/${PN}/
}
EAPI=7
WX_GTK_VER="3.0-gtk3"
-inherit wxwidgets xdg cmake-utils
+inherit wxwidgets xdg cmake
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git"
-DENABLE_ASM_SCALERS=$(usex x86)
-DCMAKE_SKIP_RPATH=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use sdl ; then
dodoc doc/ReadMe.SDL.txt
EAPI=7
WX_GTK_VER="3.0-gtk3"
-inherit wxwidgets xdg cmake-utils
+inherit wxwidgets xdg cmake
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git"
-DENABLE_ASM_SCALERS=$(usex x86)
-DCMAKE_SKIP_RPATH=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use sdl ; then
dodoc doc/ReadMe.SDL.txt
EAPI=7
-inherit cmake-utils xdg-utils readme.gentoo-r1
+inherit cmake xdg-utils readme.gentoo-r1
DESCRIPTION="Open source reimplementation of TES III: Morrowind"
HOMEPAGE="https://openmw.org/"
S="${WORKDIR}/${PN}-${P}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# We don't install license files
sed -i '/LICDIR/d' CMakeLists.txt || die
-DDESIRED_QT_VERSION=5
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc ; then
- cmake-utils_src_compile doc
+ cmake_src_compile doc
find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
-name '*.md5' -type f -delete || die
HTML_DOCS=( "${CMAKE_BUILD_DIR}"/docs/Doxygen/html/. )
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
local DOC_CONTENTS="
You need the original Morrowind data files. If you haven't
PYTHON_COMPAT=( python2_7 python3_{6,7} )
-inherit cmake-utils python-any-r1 readme.gentoo-r1
+inherit cmake python-any-r1 readme.gentoo-r1
DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
HOMEPAGE="https://www.dengine.net"
DOC_CONTENTS="You need to copy Doom, Doom 2, Chex Quest, Heretic, Hexen, HexenDD, or Doom64 wads to a folder of your choice and then tell the game engine where that folder is. This is different to older versions, which had separate launchers for each game and required the files to be in a specific place."
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# Fix QA warning for "installing to one or more unexpected paths"
sed -e "10s:/texc:/${PF}:" -i tools/texc/CMakeLists.txt || die
-DDENG_ENABLE_TOOLS="$(usex tools)"
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use tools; then
mv -v "${ED}"/usr/bin/md2tool{,.${PN}} || die
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-utils toolchain-funcs flag-o-matic xdg-utils
+inherit cmake toolchain-funcs flag-o-matic xdg-utils
DESCRIPTION="free Lemmings clone"
HOMEPAGE="http://pingus.gitlab.io/"
src_prepare() {
sed '/find_package(Boost/s@ signals@@' -i CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
strip-flags
}
EAPI=7
CMAKE_IN_SOURCE_BUILD="yes"
-inherit cmake-utils prefix
+inherit cmake prefix
DESCRIPTION="The Dungeons of Moria, a single player roguelike game, also known as Umoria"
HOMEPAGE="https://umoria.org/"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i "s/@PF@/${PF}/" src/config.cpp || die
hprefixify src/config.cpp
}
EAPI=7
CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
MY_P=${PN}-src-${PV}
# https://bugzilla.redhat.com/show_bug.cgi?id=1200193
-DCMAKE_SKIP_RPATH=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doman man/${PN}.6
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-utils user
+
+inherit cmake user
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
HOMEPAGE="http://www.wesnoth.org
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
if ! use doc ; then
sed -i \
-DENABLE_FRIBIDI="$(usex fribidi)"
-DENABLE_OMP="$(usex openmp)"
-DENABLE_STRICT_COMPILATION="OFF"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
local DOCS=( README.md changelog.md )
- cmake-utils_src_install
+ cmake_src_install
if use dedicated || use server; then
rmdir "${ED}/run/wesnothd" || die
newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
EAPI=7
-inherit cmake-utils user xdg
+inherit cmake user xdg
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
HOMEPAGE="http://www.wesnoth.org
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
if ! use doc ; then
sed -i \
-DENABLE_NOTIFICATIONS="$(usex dbus)"
-DENABLE_FRIBIDI="$(usex fribidi)"
-DENABLE_STRICT_COMPILATION="OFF"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
local DOCS=( README.md changelog.md )
- cmake-utils_src_install
+ cmake_src_install
if use dedicated || use server; then
rmdir "${ED}/run/wesnothd" || die
newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
EAPI=7
-inherit cmake-utils user xdg
+inherit cmake user xdg
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
HOMEPAGE="http://www.wesnoth.org
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
if ! use doc ; then
sed -i \
-DENABLE_NOTIFICATIONS="$(usex dbus)"
-DENABLE_FRIBIDI="$(usex fribidi)"
-DENABLE_STRICT_COMPILATION="OFF"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
local DOCS=( README.md changelog.md )
- cmake-utils_src_install
+ cmake_src_install
if use dedicated || use server; then
rmdir "${ED}/run/wesnothd" || die
newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
EAPI=7
-inherit desktop cmake-utils
+inherit desktop cmake
MY_PV="build$(ver_cut 2-)"
MY_P="${PN}-${MY_PV/_/-}"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
}
# Game is NOT happy being moved from /usr/share/games
-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# move game binary to correct location
dodir /usr/bin
EAPI=7
-inherit desktop cmake-utils
+inherit desktop cmake
MY_PV="build$(ver_cut 2-)"
MY_P="${PN}-${MY_PV/_/-}"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
}
# Game is NOT happy being moved from /usr/share/games
-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# move game binary to correct location
dodir /usr/bin
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
local mycmakeargs=(
-DUSE_QT_GUI=$(usex gui)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
}
EAPI=7
-inherit cmake-utils git-r3
+inherit cmake git-r3
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
local mycmakeargs=(
-DUSE_QT_GUI=$(usex gui)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
}
EAPI=7
-inherit cmake-utils desktop
+inherit cmake desktop
DESCRIPTION="Translate gamepad/joystick input into key strokes/mouse actions in X"
HOMEPAGE="https://github.com/panzi/qjoypad"
PATCHES=( "${FILESDIR}/${PN}-4.3.0-cmake.patch" )
src_install() {
- cmake-utils_src_install
+ cmake_src_install
local i
cd icons || die
-DBUILD_RECORDER_WITH_SOUND=$(usex sound)
-DBUILD_WITH_VPX=$(usex vpx)
)
- cmake-utils_src_configure
+ cmake_src_configure
}