[arch-commits] Commit in megaglest/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Jul 3 08:21:36 UTC 2017


    Date: Monday, July 3, 2017 @ 08:21:35
  Author: bgyorgy
Revision: 242110

upgpkg: megaglest 3.13.0-2

Rebuild with wxgtk3

Modified:
  megaglest/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-03 07:59:41 UTC (rev 242109)
+++ PKGBUILD	2017-07-03 08:21:35 UTC (rev 242110)
@@ -4,27 +4,17 @@
 
 pkgname=megaglest
 pkgver=3.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
 arch=('i686' 'x86_64')
 url="https://megaglest.org"
 license=('GPL3')
 depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
-'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
+'libircclient' 'miniupnpc' 'wxgtk3' 'glu' 'libx11')
 makedepends=('ftjam' 'cmake' 'mesa' 'git')
-source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}" megaglest-gcc6.patch megaglest-miniupnpc2.patch)
-md5sums=('SKIP'
-         'da91416d9e8e7a2ec0dde379474ecf6a'
-         '98259043b47888d0f5e2308539c07057')
+source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}")
+md5sums=('SKIP')
 
-prepare() {
-  cd megaglest-source
-  # Fix build with GCC 6 (Fedora)
-  # patch -p1 -i ../megaglest-gcc6.patch
-  # Fix build with miniupnpc 2 (Fedora)
-  # patch -p1 -i ../megaglest-miniupnpc2.patch
-}
-
 build() {
   cd megaglest-source
 
@@ -35,7 +25,8 @@
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_CXX_FLAGS="-lX11" \
-    -DWANT_GIT_STAMP=0
+    -DWANT_GIT_STAMP=0 \
+    -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
   make VERBOSE=1
 }
 



More information about the arch-commits mailing list