forked from hasufell/hasufell-repository
Use api=2 for cmake.exlib
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cmake gtk-icon-cache
|
||||
require cmake [ api=2 ] gtk-icon-cache
|
||||
require sourceforge [ project=arx suffix=tar.xz ]
|
||||
|
||||
SUMMARY="Cross-platform port of Arx Fatalis, a first-person role-playing game"
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cmake gtk-icon-cache flag-o-matic
|
||||
WORK=${WORKBASE}/${PN}-${PV%_*}
|
||||
|
||||
require cmake [ api=2 ] gtk-icon-cache flag-o-matic
|
||||
require sourceforge [ pnv=${PNV//_/-}-src ]
|
||||
|
||||
SUMMARY="A multi-player, 3D action role-playing game"
|
||||
@@ -29,8 +31,6 @@ DEPENDENCIES="
|
||||
x11-libs/libXrandr
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/${PN}-${PV%_*}
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DCMAKE_INSTALL_PREFIX=""
|
||||
-DSUMWARS_NO_TINYXML=ON
|
||||
@@ -59,7 +59,7 @@ src_install() {
|
||||
edo rm -r "${IMAGE}"/usr/share/sumwars/translation/{potfiles,extract}
|
||||
|
||||
insinto /usr/share/icons/hicolor/128x128/apps
|
||||
newins share/icon/SumWarsIcon_128x128.png ${PN}.png
|
||||
newins "${CMAKE_SOURCE}"/share/icon/SumWarsIcon_128x128.png ${PN}.png
|
||||
|
||||
insinto /usr/share/applications
|
||||
hereins ${PN}.desktop <<EOF
|
||||
|
||||
@@ -7,11 +7,11 @@ SCM_SECONDARY_REPOSITORIES="luabind"
|
||||
SCM_EXTERNAL_REFS="src/luabind:luabind"
|
||||
SCM_CHECKOUT_TO=${PN}
|
||||
|
||||
MY_PNV=ValyriaTear-${PV}
|
||||
|
||||
require gtk-icon-cache freedesktop-desktop
|
||||
require scm-git
|
||||
require cmake
|
||||
|
||||
MY_PNV=ValyriaTear-${PV}
|
||||
require cmake [ api=2 ]
|
||||
|
||||
SUMMARY="A free 2D J-RPG based on the Hero of Allacrost engine"
|
||||
HOMEPAGE="http://valyriatear.blogspot.de/
|
||||
@@ -43,8 +43,6 @@ DEPENDENCIES="
|
||||
editor? ( x11-libs/qt:4[opengl] )
|
||||
"
|
||||
|
||||
CMAKE_SOURCE=${WORKBASE}/${MY_PNV}
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DPKG_BINDIR=/usr/$(exhost --target)/bin
|
||||
-DPKG_DATADIR=/usr/share/${PN}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cmake
|
||||
require cmake [ api=2 ]
|
||||
|
||||
SUMMARY="A free 2D Zelda fangame"
|
||||
HOMEPAGE="http://www.solarus-games.org/"
|
||||
@@ -27,9 +27,9 @@ src_install() {
|
||||
cmake_src_install
|
||||
|
||||
insinto /usr/share/icons/hicolor/256x256/apps
|
||||
newins build/icons/${PN}_icon_256.png ${PN}.png
|
||||
newins "${CMAKE_SOURCE}"/build/icons/${PN}_icon_256.png ${PN}.png
|
||||
insinto /usr/share/icons/hicolor/48x48/apps
|
||||
newins build/icons/${PN}_icon_48.png ${PN}.png
|
||||
newins "${CMAKE_SOURCE}"/build/icons/${PN}_icon_48.png ${PN}.png
|
||||
|
||||
# install proper wrapper script
|
||||
edo rm -f "${IMAGE%/}"/usr/share/${PN}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cmake
|
||||
require cmake [ api=2 ]
|
||||
|
||||
SUMMARY="A free 2D Zelda fangame parody"
|
||||
HOMEPAGE="http://www.solarus-games.org/"
|
||||
@@ -27,9 +27,9 @@ src_install() {
|
||||
cmake_src_install
|
||||
|
||||
insinto /usr/share/icons/hicolor/256x256/apps
|
||||
newins build/icons/${PN}_icon_256.png ${PN}.png
|
||||
newins "${CMAKE_SOURCE}"/build/icons/${PN}_icon_256.png ${PN}.png
|
||||
insinto /usr/share/icons/hicolor/48x48/apps
|
||||
newins build/icons/${PN}_icon_48.png ${PN}.png
|
||||
newins "${CMAKE_SOURCE}"/build/icons/${PN}_icon_48.png ${PN}.png
|
||||
|
||||
# install proper wrapper script
|
||||
edo rm -f "${IMAGE%/}"/usr/share/${PN}
|
||||
|
||||
Reference in New Issue
Block a user