makedeb


zod-engine 0.2011.09.06-2


The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers

Click here to go back to the commit logs for zod-engine.

Commit:


Hash: 318008b5703822d604f6138d73004094c72bae4c

Message: update for debian 12

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9786af0..0986bd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = zod-engine
 pkgbase = zod-engine
 pkgdesc = The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers
-pkgrel = 0
+pkgrel = 1
 pkgver = 0.2011.09.06
 url = http://zod.sourceforge.net/
 arch = i386
@@ -12,19 +12,41 @@ depends = libsdl-mixer1.2
 depends = libsdl-ttf2.0-0
 depends = libsdl-image1.2
 depends = libmariadb3
-depends = libwxgtk3.0-gtk3-0v5
+depends = libwxgtk3.2-1
 license = GPL
 makedepends = libsdl1.2-dev
 makedepends = libsdl-mixer1.2-dev
 makedepends = libsdl-ttf2.0-dev
 makedepends = libsdl-image1.2-dev
 makedepends = libmariadb-dev-compat
-makedepends = libwxgtk3.0-gtk3-dev
+makedepends = libwxgtk3.2-dev
+makedepends = sed
 source = https://sourceforge.net/projects/zod/files/linux_releases/zod_linux-2011-09-06.tar.gz
 b2sums = 01ce342df4f95bdc2feedb759dd8b8e1e5fd91d5a0b71a159f706b42ba8c47ffdedb9f98a756bd8f978043e78b4ef1f7b6380d8585efb7ef7fa81cd019e79533
+bullseye_depends = libsdl1.2debian
+bullseye_depends = libsdl-mixer1.2
+bullseye_depends = libsdl-ttf2.0-0
+bullseye_depends = libsdl-image1.2
+bullseye_depends = libmariadb3
+bullseye_depends = libwxgtk3.0-gtk3-0v5
+bullseye_makedepends = libsdl1.2-dev
+bullseye_makedepends = libsdl-mixer1.2-dev
+bullseye_makedepends = libsdl-ttf2.0-dev
+bullseye_makedepends = libsdl-image1.2-dev
+bullseye_makedepends = libmariadb-dev-compat
+bullseye_makedepends = libwxgtk3.0-gtk3-dev
+bullseye_makedepends = sed
 makedepends = libsdl1.2-dev
 makedepends = libsdl-mixer1.2-dev
 makedepends = libsdl-ttf2.0-dev
 makedepends = libsdl-image1.2-dev
 makedepends = libmariadb-dev-compat
-makedepends = libwxgtk3.0-gtk3-dev
+makedepends = libwxgtk3.2-dev
+makedepends = sed
+bullseye_makedepends = libsdl1.2-dev
+bullseye_makedepends = libsdl-mixer1.2-dev
+bullseye_makedepends = libsdl-ttf2.0-dev
+bullseye_makedepends = libsdl-image1.2-dev
+bullseye_makedepends = libmariadb-dev-compat
+bullseye_makedepends = libwxgtk3.0-gtk3-dev
+bullseye_makedepends = sed
diff --git a/PKGBUILD b/PKGBUILD
index 2cb7e85..4bbfd61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=zod-engine
 _version=2011_09_06
 pkgver=0.2011.09.06
-pkgrel=0
+pkgrel=1
 # fork "zed online" https://sourceforge.net/projects/zedonline/
 pkgdesc="The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers"
 depends=('libsdl1.2debian'
@@ -11,13 +11,27 @@ depends=('libsdl1.2debian'
          'libsdl-ttf2.0-0'
          'libsdl-image1.2'
          'libmariadb3'
+         'libwxgtk3.2-1')
+bullseye_depends=('libsdl1.2debian'
+         'libsdl-mixer1.2' 
+         'libsdl-ttf2.0-0'
+         'libsdl-image1.2'
+         'libmariadb3'
          'libwxgtk3.0-gtk3-0v5')
 makedepends=('libsdl1.2-dev'
              'libsdl-mixer1.2-dev'
              'libsdl-ttf2.0-dev'
              'libsdl-image1.2-dev'
              'libmariadb-dev-compat'
-             'libwxgtk3.0-gtk3-dev')
+             'libwxgtk3.2-dev'
+             'sed')
+bullseye_makedepends=('libsdl1.2-dev'
+             'libsdl-mixer1.2-dev'
+             'libsdl-ttf2.0-dev'
+             'libsdl-image1.2-dev'
+             'libmariadb-dev-compat'
+             'libwxgtk3.0-gtk3-dev'
+             'sed')
 arch=('i386' 'amd64')
 license=('GPL')
 url="http://zod.sourceforge.net/"
@@ -26,6 +40,7 @@ b2sums=('01ce342df4f95bdc2feedb759dd8b8e1e5fd91d5a0b71a159f706b42ba8c47ffdedb9f9
 
 prepare(){
   cd $srcdir
+  sed -i 's/#include <dirent.h>/#include <dirent.h>\n#include <ctime>/' zod_engine/zod_src/common.cpp
   sed -i 's!check\.replace(i,1,1,'\''_'\'');!check\.replace(i,1,1, (wxUniChar)'\''_'\'');!' 'zod_engine/zod_launcher_src/zod_launcherFrm.cpp'
   find $srcdir/zod_engine/assets/ -name Thumbs.db -delete
   rm $srcdir/zod_engine/assets/{splash.png,splash.xcf}