forked from hasufell/hasufell-repository
Use api=2 for cmake.exlib
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user