[Lunar-commits] <moonbase-other> hedgewars: packaged for lunar, enjoy

v4hn me at v4hn.de
Mon Aug 19 21:32:30 CEST 2013


commit 39b6eeb39e082631697841c36a70d9c21d3565fb
Author: v4hn <me at v4hn.de>
Date: Mon, 19 Aug 2013 12:32:07 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/39b6eeb39e082631697841c36a70d9c21d3565fb

hedgewars: packaged for lunar, enjoy
---
  games/hedgewars/BUILD     | +5/-0     
  games/hedgewars/DEPENDS   | +19/-0    
  games/hedgewars/DETAILS   | +16/-0    
  games/hedgewars/PRE_BUILD | +8/-0     
  4 files changed, 48 insertions(+)

--- /dev/null
+++ b/games/hedgewars/BUILD
@@ -0,0 +1,5 @@
+# have fun porting the resp. haskell modules
+# if you want the server
+OPTS+=" -DNOSERVER=1 -DDATA_INSTALL_DIR='share/games/hedgewars'" &&
+
+default_cmake_build
--- /dev/null
+++ b/games/hedgewars/DEPENDS
@@ -0,0 +1,19 @@
+depends cmake
+depends fpc
+depends qt4
+depends SDL
+depends SDL_net
+depends SDL_mixer
+depends SDL_image
+depends SDL_ttf
+
+# lua 5.2 is not supported yet
+#depends lua
+
+# They require physfs 2.1 which is not released yet
+#depends physfs
+
+optional_depends libpng   "-DNOPNG=0" "-DNOPNG=1" "for compressed screenshots"
+
+optional_depends ffmpeg   ""          "-DNOVIDEOREC=1" "for video recording (say yes to freeglut as well)"
+optional_depends freeglut ""          "-DNOVIDEOREC=1" "for video recording"
--- /dev/null
+++ b/games/hedgewars/DETAILS
@@ -0,0 +1,16 @@
+          MODULE=hedgewars
+         VERSION=src-0.9.19.3
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://download.gna.org/$MODULE
+      SOURCE_VFY=sha1:029fce66d04ed73d69500ca8723bfe63714e05a9
+        WEB_SITE=http://www.hedgewars.org
+         ENTERED=20130819
+         UPDATED=20130819
+           SHORT="turn based strategy game"
+
+cat << EOF
+Hedgewars is a turn based strategy, artillery, action
+and comedy game, featuring the antics of pink hedgehogs
+with attitude as they battle from the depths of hell
+to the depths of space.
+EOF
--- /dev/null
+++ b/games/hedgewars/PRE_BUILD
@@ -0,0 +1,8 @@
+default_pre_build &&
+
+# make sure it does not detect lua 5.2 as lua 5.1
+sedit "s:lua PATHS:PATHS:" cmake_modules/FindLua.cmake &&
+
+sedit 's:"-k-lreadline":\0 "-k-lm":' CMakeLists.txt &&
+
+sedit 's:"bin":"games":' CMakeLists.txt




More information about the Lunar-commits mailing list