From 69e9e86a556fc034e62f7bfb72cd8b5cc9486a1f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 24 Feb 2016 19:04:54 +0100 Subject: [PATCH] games-engines/stratagus: initial import of version 2.2.7 --- .../stratagus/stratagus-2.2.7.exheres-0 | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 packages/games-engines/stratagus/stratagus-2.2.7.exheres-0 diff --git a/packages/games-engines/stratagus/stratagus-2.2.7.exheres-0 b/packages/games-engines/stratagus/stratagus-2.2.7.exheres-0 new file mode 100644 index 0000000..bdfbbac --- /dev/null +++ b/packages/games-engines/stratagus/stratagus-2.2.7.exheres-0 @@ -0,0 +1,51 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require cmake + +SUMMARY="A realtime strategy game engine" +HOMEPAGE="http://stratagus.sourceforge.net/" +DOWNLOADS="http://launchpad.net/stratagus/trunk/${PV}/+download/stratagus_${PV}.orig.tar.gz" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + app-arch/bzip2 + dev-db/sqlite:3 + dev-lang/lua:= + dev-lang/toluapp + media-libs/SDL:0[X] + media-libs/libmikmod + media-libs/libmng + media-libs/libogg + media-libs/libpng:= + media-libs/libtheora + media-libs/libvorbis + sys-libs/zlib + x11-dri/mesa + x11-libs/libX11 +" + +WORK=${WORKBASE}/${PN}_${PV}.orig + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBINDIR=/usr/$(exhost --target)/bin + -DDOCDIR="/usr/share/doc/${PNVR}" + -DGAMEDIR=/usr/$(exhost --target)/bin + -DSBINDIR=/usr/$(exhost --target)/bin + + -DENABLE_DEV=ON + -DENABLE_DOC=OFF + -DWITH_BZIP2=ON + -DWITH_MIKMOD=ON + -DWITH_MNG=ON + -DWITH_OGGVORBIS=ON + -DWITH_THEORA=ON +) +