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

@@ -6,7 +6,7 @@ SCM_REPOSITORY="http://svn.code.sf.net/p/freesynd/code/freesynd/trunk"
require desktop-utils
require gtk-icon-cache
require cmake [ out_of_source=false ]
require cmake [ api=2 out_of_source=false ]
require sourceforge
require scm-svn

View File

@@ -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
WORK=${WORKBASE}/${PN}_${PV}.orig
require cmake [ api=2 ] gtk-icon-cache
require launchpad [ branch=trunk pv=${PV%.*} pnv=${PN}_${PV} suffix=orig.tar.gz ]
SUMMARY="Warcraft II for the Stratagus game engine"
@@ -28,8 +30,6 @@ DEPENDENCIES="
media/cdparanoia [[ description = [ Needed for rip audio CD tracks ] ]]
"
WORK=${WORKBASE}/${PN}_${PV}.orig
CMAKE_SRC_CONFIGURE_PARAMS=(
-DGAMEDIR="/usr/$(exhost --target)/bin"
-DBINDIR="/usr/$(exhost --target)/bin"