Permalink
Browse files

hedgewars: packaged for lunar, enjoy

  • Loading branch information...
1 parent 26c5b19 commit 39b6eeb39e082631697841c36a70d9c21d3565fb @v4hn v4hn committed Aug 19, 2013
Showing with 48 additions and 0 deletions.
  1. +5 −0 games/hedgewars/BUILD
  2. +19 −0 games/hedgewars/DEPENDS
  3. +16 −0 games/hedgewars/DETAILS
  4. +8 −0 games/hedgewars/PRE_BUILD
View
@@ -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
View
@@ -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"
View
@@ -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
@@ -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

0 comments on commit 39b6eeb

Please sign in to comment.