[arch-commits] Commit in megaglest/repos (8 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Apr 11 15:02:29 UTC 2016


    Date: Monday, April 11, 2016 @ 17:02:29
  Author: svenstaro
Revision: 170469

archrelease: copy trunk to community-i686, community-x86_64

Added:
  megaglest/repos/community-i686/PKGBUILD
    (from rev 170468, megaglest/trunk/PKGBUILD)
  megaglest/repos/community-i686/miniupnpc14.patch
    (from rev 170468, megaglest/trunk/miniupnpc14.patch)
  megaglest/repos/community-x86_64/PKGBUILD
    (from rev 170468, megaglest/trunk/PKGBUILD)
  megaglest/repos/community-x86_64/miniupnpc14.patch
    (from rev 170468, megaglest/trunk/miniupnpc14.patch)
Deleted:
  megaglest/repos/community-i686/PKGBUILD
  megaglest/repos/community-i686/miniupnpc14.patch
  megaglest/repos/community-x86_64/PKGBUILD
  megaglest/repos/community-x86_64/miniupnpc14.patch

------------------------------------+
 /PKGBUILD                          |   76 +++++++++++++++++++++++++++++++++++
 /miniupnpc14.patch                 |   44 ++++++++++++++++++++
 community-i686/PKGBUILD            |   47 ---------------------
 community-i686/miniupnpc14.patch   |   22 ----------
 community-x86_64/PKGBUILD          |   47 ---------------------
 community-x86_64/miniupnpc14.patch |   22 ----------
 6 files changed, 120 insertions(+), 138 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-04-11 15:02:23 UTC (rev 170468)
+++ community-i686/PKGBUILD	2016-04-11 15:02:29 UTC (rev 170469)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=megaglest
-pkgver=3.11.1
-pkgrel=5
-pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/megaglest/"
-license=('GPL3')
-depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
-'libircclient' 'miniupnpc' 'wxgtk2.8' 'glu' 'libx11')
-makedepends=('ftjam' 'cmake' 'mesa' 'git')
-source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}"
-        "miniupnpc14.patch")
-md5sums=('SKIP'
-         '9774a0ab4daa635d3ea7bb6d3ec9834c')
-
-prepare() {
-  cd megaglest-source
-  patch -Np1 -i ../miniupnpc14.patch
-}
-
-build() {
-  cd megaglest-source
-
-  [[ -d build ]] && rm -r build
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_CXX_FLAGS="-lX11" \
-    -DWANT_GIT_STAMP=0 \
-    -DwxWidgets_CONFIG_EXECUTABLE="/usr/bin/wx-config-2.8" \
-    -DwxWidgets_wxrc_EXECUTABLE="/usr/bin/wxrc-2.8"
-  make VERBOSE=1
-}
-
-package() {
-  cd megaglest-source/build
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: sw=2:ts=2 et:

Copied: megaglest/repos/community-i686/PKGBUILD (from rev 170468, megaglest/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-04-11 15:02:29 UTC (rev 170469)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=megaglest
+pkgver=3.12.0
+pkgrel=1
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/megaglest/"
+license=('GPL3')
+depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
+'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
+makedepends=('ftjam' 'cmake' 'mesa' 'git')
+source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}")
+md5sums=('SKIP')
+
+build() {
+  cd megaglest-source
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_CXX_FLAGS="-lX11" \
+    -DWANT_GIT_STAMP=0
+  make VERBOSE=1
+}
+
+package() {
+  cd megaglest-source/build
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: sw=2:ts=2 et:

Deleted: community-i686/miniupnpc14.patch
===================================================================
--- community-i686/miniupnpc14.patch	2016-04-11 15:02:23 UTC (rev 170468)
+++ community-i686/miniupnpc14.patch	2016-04-11 15:02:29 UTC (rev 170469)
@@ -1,22 +0,0 @@
-diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
-index a5d4b92..4cac74f 100644
---- a/source/shared_lib/sources/platform/posix/socket.cpp
-+++ b/source/shared_lib/sources/platform/posix/socket.cpp
-@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
- 		const char *upnp_minissdpdsock = NULL;
- 		int upnp_sameport = 0;
- 		int upnp_ipv6 = 0;
-+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		unsigned char upnp_ttl = 2;
-+#endif
- 		int upnp_error = 0;
- 
- #ifndef MINIUPNPC_VERSION_PRE1_6
-+# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
-+# else
- 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
-+# endif
- 
- 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
- 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);

Copied: megaglest/repos/community-i686/miniupnpc14.patch (from rev 170468, megaglest/trunk/miniupnpc14.patch)
===================================================================
--- community-i686/miniupnpc14.patch	                        (rev 0)
+++ community-i686/miniupnpc14.patch	2016-04-11 15:02:29 UTC (rev 170469)
@@ -0,0 +1,22 @@
+diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
+index a5d4b92..4cac74f 100644
+--- a/source/shared_lib/sources/platform/posix/socket.cpp
++++ b/source/shared_lib/sources/platform/posix/socket.cpp
+@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
+ 		const char *upnp_minissdpdsock = NULL;
+ 		int upnp_sameport = 0;
+ 		int upnp_ipv6 = 0;
++#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
++		unsigned char upnp_ttl = 2;
++#endif
+ 		int upnp_error = 0;
+ 
+ #ifndef MINIUPNPC_VERSION_PRE1_6
++# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
++		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
++# else
+ 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
++# endif
+ 
+ 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
+ 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-04-11 15:02:23 UTC (rev 170468)
+++ community-x86_64/PKGBUILD	2016-04-11 15:02:29 UTC (rev 170469)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=megaglest
-pkgver=3.11.1
-pkgrel=5
-pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/megaglest/"
-license=('GPL3')
-depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
-'libircclient' 'miniupnpc' 'wxgtk2.8' 'glu' 'libx11')
-makedepends=('ftjam' 'cmake' 'mesa' 'git')
-source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}"
-        "miniupnpc14.patch")
-md5sums=('SKIP'
-         '9774a0ab4daa635d3ea7bb6d3ec9834c')
-
-prepare() {
-  cd megaglest-source
-  patch -Np1 -i ../miniupnpc14.patch
-}
-
-build() {
-  cd megaglest-source
-
-  [[ -d build ]] && rm -r build
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_CXX_FLAGS="-lX11" \
-    -DWANT_GIT_STAMP=0 \
-    -DwxWidgets_CONFIG_EXECUTABLE="/usr/bin/wx-config-2.8" \
-    -DwxWidgets_wxrc_EXECUTABLE="/usr/bin/wxrc-2.8"
-  make VERBOSE=1
-}
-
-package() {
-  cd megaglest-source/build
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: sw=2:ts=2 et:

Copied: megaglest/repos/community-x86_64/PKGBUILD (from rev 170468, megaglest/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-04-11 15:02:29 UTC (rev 170469)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=megaglest
+pkgver=3.12.0
+pkgrel=1
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/megaglest/"
+license=('GPL3')
+depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
+'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
+makedepends=('ftjam' 'cmake' 'mesa' 'git')
+source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}")
+md5sums=('SKIP')
+
+build() {
+  cd megaglest-source
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_CXX_FLAGS="-lX11" \
+    -DWANT_GIT_STAMP=0
+  make VERBOSE=1
+}
+
+package() {
+  cd megaglest-source/build
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: sw=2:ts=2 et:

Deleted: community-x86_64/miniupnpc14.patch
===================================================================
--- community-x86_64/miniupnpc14.patch	2016-04-11 15:02:23 UTC (rev 170468)
+++ community-x86_64/miniupnpc14.patch	2016-04-11 15:02:29 UTC (rev 170469)
@@ -1,22 +0,0 @@
-diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
-index a5d4b92..4cac74f 100644
---- a/source/shared_lib/sources/platform/posix/socket.cpp
-+++ b/source/shared_lib/sources/platform/posix/socket.cpp
-@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
- 		const char *upnp_minissdpdsock = NULL;
- 		int upnp_sameport = 0;
- 		int upnp_ipv6 = 0;
-+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		unsigned char upnp_ttl = 2;
-+#endif
- 		int upnp_error = 0;
- 
- #ifndef MINIUPNPC_VERSION_PRE1_6
-+# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
-+# else
- 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
-+# endif
- 
- 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
- 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);

Copied: megaglest/repos/community-x86_64/miniupnpc14.patch (from rev 170468, megaglest/trunk/miniupnpc14.patch)
===================================================================
--- community-x86_64/miniupnpc14.patch	                        (rev 0)
+++ community-x86_64/miniupnpc14.patch	2016-04-11 15:02:29 UTC (rev 170469)
@@ -0,0 +1,22 @@
+diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
+index a5d4b92..4cac74f 100644
+--- a/source/shared_lib/sources/platform/posix/socket.cpp
++++ b/source/shared_lib/sources/platform/posix/socket.cpp
+@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
+ 		const char *upnp_minissdpdsock = NULL;
+ 		int upnp_sameport = 0;
+ 		int upnp_ipv6 = 0;
++#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
++		unsigned char upnp_ttl = 2;
++#endif
+ 		int upnp_error = 0;
+ 
+ #ifndef MINIUPNPC_VERSION_PRE1_6
++# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
++		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
++# else
+ 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
++# endif
+ 
+ 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
+ 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);



More information about the arch-commits mailing list