[arch-commits] Commit in xmoto/repos (10 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Mon Apr 29 17:03:01 UTC 2013


    Date: Monday, April 29, 2013 @ 19:03:01
  Author: foutrelis
Revision: 89520

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

Added:
  xmoto/repos/community-staging-i686/
  xmoto/repos/community-staging-i686/PKGBUILD
    (from rev 89519, xmoto/trunk/PKGBUILD)
  xmoto/repos/community-staging-i686/system.cpp.patch
    (from rev 89519, xmoto/trunk/system.cpp.patch)
  xmoto/repos/community-staging-i686/xmoto-0.5.10-libpng15.patch
    (from rev 89519, xmoto/trunk/xmoto-0.5.10-libpng15.patch)
  xmoto/repos/community-staging-i686/xmoto.install
    (from rev 89519, xmoto/trunk/xmoto.install)
  xmoto/repos/community-staging-x86_64/
  xmoto/repos/community-staging-x86_64/PKGBUILD
    (from rev 89519, xmoto/trunk/PKGBUILD)
  xmoto/repos/community-staging-x86_64/system.cpp.patch
    (from rev 89519, xmoto/trunk/system.cpp.patch)
  xmoto/repos/community-staging-x86_64/xmoto-0.5.10-libpng15.patch
    (from rev 89519, xmoto/trunk/xmoto-0.5.10-libpng15.patch)
  xmoto/repos/community-staging-x86_64/xmoto.install
    (from rev 89519, xmoto/trunk/xmoto.install)

------------------------------------------------------+
 community-staging-i686/PKGBUILD                      |   48 +++++++++++++++++
 community-staging-i686/system.cpp.patch              |   10 +++
 community-staging-i686/xmoto-0.5.10-libpng15.patch   |   10 +++
 community-staging-i686/xmoto.install                 |   11 +++
 community-staging-x86_64/PKGBUILD                    |   48 +++++++++++++++++
 community-staging-x86_64/system.cpp.patch            |   10 +++
 community-staging-x86_64/xmoto-0.5.10-libpng15.patch |   10 +++
 community-staging-x86_64/xmoto.install               |   11 +++
 8 files changed, 158 insertions(+)

Copied: xmoto/repos/community-staging-i686/PKGBUILD (from rev 89519, xmoto/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Travis Willard <travisw at wmpub.ca> 
+# Contributor: Denis (dtonator at gmail.com)
+
+pkgname=xmoto
+pkgver=0.5.10
+pkgrel=4
+pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
+arch=('i686' 'x86_64')
+url="http://xmoto.tuxfamily.org"
+license=('GPL')
+depends=('libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl' 
+	 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'glu'
+         'libxdg-basedir' 'libxml++')
+makedepends=('mesa')
+install=xmoto.install
+source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+        'xmoto-0.5.10-libpng15.patch'
+        'system.cpp.patch')
+sha1sums=('692d50a9c91791cd06ee84846632651b44544fcc'
+          '9d13fa09f1c558a0fc504f7e7b1ceac6b4b7b20d'
+          'e741f769d1fc5779a6688970ee97e2a61a50c7ae')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  patch -Np1 -i "${srcdir}/xmoto-0.5.10-libpng15.patch"
+  patch -Np1 -i "${srcdir}/system.cpp.patch"
+
+  # build and install 
+  ./configure LDFLAGS="-L/usr/lib" --prefix=/usr --disable-sdltest
+
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} mangdir=/usr/share/man/man6 install
+
+  # install desktop file
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.desktop \
+        ${pkgdir}/usr/share/applications/xmoto.desktop
+
+  # install icon for desktop file
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.xpm \
+        ${pkgdir}/usr/share/pixmaps/xmoto.xpm
+}

Copied: xmoto/repos/community-staging-i686/system.cpp.patch (from rev 89519, xmoto/trunk/system.cpp.patch)
===================================================================
--- community-staging-i686/system.cpp.patch	                        (rev 0)
+++ community-staging-i686/system.cpp.patch	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,10 @@
+--- a/src/helpers/System.cpp	2011-10-11 22:18:14.000000000 +0200
++++ b/src/helpers/System.cpp	2012-07-21 21:28:40.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include <sstream>
++#include <unistd.h>
+ 
+ std::vector<std::string>* System::getDisplayModes(int windowed) {
+     std::vector<std::string>* modes = new std::vector<std::string>;

Copied: xmoto/repos/community-staging-i686/xmoto-0.5.10-libpng15.patch (from rev 89519, xmoto/trunk/xmoto-0.5.10-libpng15.patch)
===================================================================
--- community-staging-i686/xmoto-0.5.10-libpng15.patch	                        (rev 0)
+++ community-staging-i686/xmoto-0.5.10-libpng15.patch	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,10 @@
+--- a/src/image/tim_png.cpp	2011-12-29 22:13:37.000000000 +0100
++++ b/src/image/tim_png.cpp	2012-07-21 21:36:34.000000000 +0200
+@@ -24,6 +24,7 @@
+  */
+ #include <stdio.h>
+ #include <string.h>
++#include <zlib.h>
+ #include "tim.h"
+ #include <png.h>
+ #include <zlib.h>

Copied: xmoto/repos/community-staging-i686/xmoto.install (from rev 89519, xmoto/trunk/xmoto.install)
===================================================================
--- community-staging-i686/xmoto.install	                        (rev 0)
+++ community-staging-i686/xmoto.install	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: xmoto/repos/community-staging-x86_64/PKGBUILD (from rev 89519, xmoto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Travis Willard <travisw at wmpub.ca> 
+# Contributor: Denis (dtonator at gmail.com)
+
+pkgname=xmoto
+pkgver=0.5.10
+pkgrel=4
+pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
+arch=('i686' 'x86_64')
+url="http://xmoto.tuxfamily.org"
+license=('GPL')
+depends=('libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl' 
+	 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'glu'
+         'libxdg-basedir' 'libxml++')
+makedepends=('mesa')
+install=xmoto.install
+source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+        'xmoto-0.5.10-libpng15.patch'
+        'system.cpp.patch')
+sha1sums=('692d50a9c91791cd06ee84846632651b44544fcc'
+          '9d13fa09f1c558a0fc504f7e7b1ceac6b4b7b20d'
+          'e741f769d1fc5779a6688970ee97e2a61a50c7ae')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  patch -Np1 -i "${srcdir}/xmoto-0.5.10-libpng15.patch"
+  patch -Np1 -i "${srcdir}/system.cpp.patch"
+
+  # build and install 
+  ./configure LDFLAGS="-L/usr/lib" --prefix=/usr --disable-sdltest
+
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} mangdir=/usr/share/man/man6 install
+
+  # install desktop file
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.desktop \
+        ${pkgdir}/usr/share/applications/xmoto.desktop
+
+  # install icon for desktop file
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.xpm \
+        ${pkgdir}/usr/share/pixmaps/xmoto.xpm
+}

Copied: xmoto/repos/community-staging-x86_64/system.cpp.patch (from rev 89519, xmoto/trunk/system.cpp.patch)
===================================================================
--- community-staging-x86_64/system.cpp.patch	                        (rev 0)
+++ community-staging-x86_64/system.cpp.patch	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,10 @@
+--- a/src/helpers/System.cpp	2011-10-11 22:18:14.000000000 +0200
++++ b/src/helpers/System.cpp	2012-07-21 21:28:40.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include <sstream>
++#include <unistd.h>
+ 
+ std::vector<std::string>* System::getDisplayModes(int windowed) {
+     std::vector<std::string>* modes = new std::vector<std::string>;

Copied: xmoto/repos/community-staging-x86_64/xmoto-0.5.10-libpng15.patch (from rev 89519, xmoto/trunk/xmoto-0.5.10-libpng15.patch)
===================================================================
--- community-staging-x86_64/xmoto-0.5.10-libpng15.patch	                        (rev 0)
+++ community-staging-x86_64/xmoto-0.5.10-libpng15.patch	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,10 @@
+--- a/src/image/tim_png.cpp	2011-12-29 22:13:37.000000000 +0100
++++ b/src/image/tim_png.cpp	2012-07-21 21:36:34.000000000 +0200
+@@ -24,6 +24,7 @@
+  */
+ #include <stdio.h>
+ #include <string.h>
++#include <zlib.h>
+ #include "tim.h"
+ #include <png.h>
+ #include <zlib.h>

Copied: xmoto/repos/community-staging-x86_64/xmoto.install (from rev 89519, xmoto/trunk/xmoto.install)
===================================================================
--- community-staging-x86_64/xmoto.install	                        (rev 0)
+++ community-staging-x86_64/xmoto.install	2013-04-29 17:03:01 UTC (rev 89520)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list