Use api=2 for cmake.exlib

This commit is contained in:
2016-04-23 04:22:08 +02:00
parent 94e0b52466
commit d6439f0765
20 changed files with 55 additions and 57 deletions

View File

@@ -1,8 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require cmake
require github [ user=clintbellanger project=flare-engine tag=v${PV} pn=flare-engine ]
require cmake [ api=2 ]
SUMMARY="Free/Libre Action Roleplaying game engine"

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
require lua [ whitelist="5.1" multibuild=false ]
require cmake
require cmake [ api=2 ]
SUMMARY="An open-source Zelda-like 2D game engine"
HOMEPAGE="http://www.solarus-games.org/"
@@ -30,6 +30,6 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
src_install() {
cmake_src_install
doman solarus.6
doman "${CMAKE_SOURCE}"/solarus.6
}

View File

@@ -1,8 +1,10 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
WORK=${WORKBASE}/${PN}_${PV}.orig
require lua [ whitelist="5.1" multibuild=false ]
require cmake
require cmake [ api=2 ]
require launchpad [ branch=trunk pv=${PV%.*} pnv=stratagus_${PV} suffix=orig.tar.gz ]
SUMMARY="A realtime strategy game engine"
@@ -31,8 +33,6 @@ DEPENDENCIES="
x11-libs/libX11
"
WORK=${WORKBASE}/${PN}_${PV}.orig
CMAKE_SRC_CONFIGURE_PARAMS=(
-DBINDIR="/usr/$(exhost --target)/bin"
-DDOCDIR="/usr/share/doc/${PNVR}"