mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
*/*: Switch games proj to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils desktop xdg-utils
|
||||
inherit cmake desktop xdg-utils
|
||||
|
||||
COMMIT="42b6acd19af00689e8f34355e3b13323d8ea3f79"
|
||||
DATA_PV="0.8"
|
||||
@@ -26,7 +26,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
ln -snf ../../${PN}-${DATA_PV}/data/{music,sfx} data/ || die
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -35,11 +35,11 @@ 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
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
@@ -32,7 +32,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i \
|
||||
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
|
||||
@@ -44,7 +44,7 @@ src_configure() {
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE
|
||||
-DLUGARU_FORCE_INTERNAL_OPENGL=False
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/"
|
||||
@@ -56,7 +56,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
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
|
||||
@@ -78,11 +78,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/"
|
||||
@@ -29,7 +29,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
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.
|
||||
@@ -42,11 +42,11 @@ src_configure() {
|
||||
-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.
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
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}"
|
||||
@@ -58,11 +58,11 @@ src_configure() {
|
||||
-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}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A simple volleyball game"
|
||||
HOMEPAGE="http://slime.tuxfamily.org/index.php"
|
||||
@@ -38,8 +38,7 @@ S="${WORKDIR}/${PN}"
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DDATA_DIR=/usr/share/slimevolley
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
: ${CMAKE_MAKEFILE_GENERATOR:=emake}
|
||||
inherit cmake-utils flag-o-matic
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
MY_P="SuperTux-v${PV}-Source"
|
||||
|
||||
@@ -37,7 +37,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
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@' \
|
||||
@@ -56,5 +56,5 @@ src_configure() {
|
||||
-DENABLE_BOOST_STATIC_LIBS=OFF # bug! Please check if this is still required.
|
||||
-DUSE_SYSTEM_PHYSFS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
: ${CMAKE_MAKEFILE_GENERATOR:=emake}
|
||||
inherit cmake-utils flag-o-matic
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
MY_P="SuperTux-v${PV}-Source"
|
||||
|
||||
@@ -37,7 +37,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
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@' \
|
||||
@@ -55,5 +55,5 @@ src_configure() {
|
||||
-DENABLE_SQDBG="$(usex debug)"
|
||||
-DUSE_SYSTEM_PHYSFS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
@@ -67,5 +67,5 @@ src_configure() {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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/"
|
||||
@@ -48,7 +48,7 @@ DOCS=(
|
||||
|
||||
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
|
||||
@@ -71,10 +71,10 @@ src_configure() {
|
||||
-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}/
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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"
|
||||
@@ -62,11 +62,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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"
|
||||
@@ -58,11 +58,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/"
|
||||
@@ -50,7 +50,7 @@ BDEPEND="
|
||||
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
|
||||
@@ -79,14 +79,14 @@ src_configure() {
|
||||
-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/. )
|
||||
@@ -94,7 +94,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
|
||||
local DOC_CONTENTS="
|
||||
You need the original Morrowind data files. If you haven't
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
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"
|
||||
@@ -45,7 +45,7 @@ S="${WORKDIR}/${P}/${PN}"
|
||||
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
|
||||
@@ -58,11 +58,11 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# 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/"
|
||||
@@ -37,7 +37,7 @@ PATCHES=(
|
||||
|
||||
src_prepare() {
|
||||
sed '/find_package(Boost/s@ signals@@' -i CMakeLists.txt || die
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
strip-flags
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
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/"
|
||||
@@ -28,7 +28,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
sed -i "s/@PF@/${PF}/" src/config.cpp || die
|
||||
hprefixify src/config.cpp
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake-utils xdg-utils
|
||||
inherit cmake xdg-utils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
|
||||
@@ -88,11 +88,11 @@ src_configure() {
|
||||
# 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
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
# 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
|
||||
@@ -55,7 +56,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
if ! use doc ; then
|
||||
sed -i \
|
||||
@@ -106,14 +107,13 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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
|
||||
@@ -50,7 +50,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
if ! use doc ; then
|
||||
sed -i \
|
||||
@@ -100,14 +100,13 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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
|
||||
@@ -50,7 +50,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
if ! use doc ; then
|
||||
sed -i \
|
||||
@@ -100,14 +100,13 @@ src_configure() {
|
||||
-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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop cmake-utils
|
||||
inherit desktop cmake
|
||||
|
||||
MY_PV="build$(ver_cut 2-)"
|
||||
MY_P="${PN}-${MY_PV/_/-}"
|
||||
@@ -43,7 +43,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
|
||||
}
|
||||
@@ -57,11 +57,11 @@ src_configure() {
|
||||
# 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop cmake-utils
|
||||
inherit desktop cmake
|
||||
|
||||
MY_PV="build$(ver_cut 2-)"
|
||||
MY_P="${PN}-${MY_PV/_/-}"
|
||||
@@ -43,7 +43,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
|
||||
}
|
||||
@@ -57,11 +57,11 @@ src_configure() {
|
||||
# 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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Unofficial GOG.com downloader for Linux"
|
||||
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
|
||||
@@ -35,10 +35,10 @@ src_configure() {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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/"
|
||||
@@ -30,10 +30,10 @@ src_configure() {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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"
|
||||
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
|
||||
PATCHES=( "${FILESDIR}/${PN}-4.3.0-cmake.patch" )
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
|
||||
local i
|
||||
cd icons || die
|
||||
|
||||
@@ -38,5 +38,5 @@ multilib_src_configure() {
|
||||
-DBUILD_RECORDER_WITH_SOUND=$(usex sound)
|
||||
-DBUILD_WITH_VPX=$(usex vpx)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user