[arch-commits] Commit in wesnoth/repos (12 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Wed Jul 10 14:08:14 UTC 2013


    Date: Wednesday, July 10, 2013 @ 16:08:14
  Author: svenstaro
Revision: 93809

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

Added:
  wesnoth/repos/community-staging-i686/
  wesnoth/repos/community-staging-i686/PKGBUILD
    (from rev 93808, wesnoth/trunk/PKGBUILD)
  wesnoth/repos/community-staging-i686/wesnoth.install
    (from rev 93808, wesnoth/trunk/wesnoth.install)
  wesnoth/repos/community-staging-i686/wesnoth.tmpfiles.conf
    (from rev 93808, wesnoth/trunk/wesnoth.tmpfiles.conf)
  wesnoth/repos/community-staging-i686/wesnothd.service
    (from rev 93808, wesnoth/trunk/wesnothd.service)
  wesnoth/repos/community-staging-i686/wesnothd.tmpfiles.conf
    (from rev 93808, wesnoth/trunk/wesnothd.tmpfiles.conf)
  wesnoth/repos/community-staging-x86_64/
  wesnoth/repos/community-staging-x86_64/PKGBUILD
    (from rev 93808, wesnoth/trunk/PKGBUILD)
  wesnoth/repos/community-staging-x86_64/wesnoth.install
    (from rev 93808, wesnoth/trunk/wesnoth.install)
  wesnoth/repos/community-staging-x86_64/wesnoth.tmpfiles.conf
    (from rev 93808, wesnoth/trunk/wesnoth.tmpfiles.conf)
  wesnoth/repos/community-staging-x86_64/wesnothd.service
    (from rev 93808, wesnoth/trunk/wesnothd.service)
  wesnoth/repos/community-staging-x86_64/wesnothd.tmpfiles.conf
    (from rev 93808, wesnoth/trunk/wesnothd.tmpfiles.conf)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   55 ++++++++++++++++++++++
 community-staging-i686/wesnoth.install          |   14 +++++
 community-staging-i686/wesnoth.tmpfiles.conf    |    1 
 community-staging-i686/wesnothd.service         |    9 +++
 community-staging-i686/wesnothd.tmpfiles.conf   |    1 
 community-staging-x86_64/PKGBUILD               |   55 ++++++++++++++++++++++
 community-staging-x86_64/wesnoth.install        |   14 +++++
 community-staging-x86_64/wesnoth.tmpfiles.conf  |    1 
 community-staging-x86_64/wesnothd.service       |    9 +++
 community-staging-x86_64/wesnothd.tmpfiles.conf |    1 
 10 files changed, 160 insertions(+)

Copied: wesnoth/repos/community-staging-i686/PKGBUILD (from rev 93808, wesnoth/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Jacobo Arvelo <unix4all at ya.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=wesnoth
+pkgver=1.10.6
+pkgrel=6
+pkgdesc="A turn-based strategy game on a fantasy world"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.wesnoth.org/"
+depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pango' 'lua' "wesnoth-data>=$pkgver" 'dbus-core' 'python2')
+makedepends=('boost' 'cmake')
+install=wesnoth.install
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+        wesnothd.tmpfiles.conf
+        wesnothd.service
+        https://github.com/wesnoth/wesnoth-old/commit/bbd7f6.patch)
+md5sums=('547e3489bbfa778912b11dbee612c380'
+         '2d2fea6b3d86dfd589f5ad35a3be1f97'
+         'd1b6bf1d3dc05086ee6a370adff0ae4a'
+         'edc7c0547e67cba4ca4f813ca261f572')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i $srcdir/bbd7f6.patch
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DENABLE_OMP=ON \
+      -DENABLE_TOOLS=ON \
+      -DMANDIR=share/man
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r $pkgdir/usr/share/applications
+  rm -r $pkgdir/usr/share/doc
+  rm -r $pkgdir/usr/share/pixmaps
+  rm -r $pkgdir/usr/share/wesnoth
+
+  install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
+  install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service"
+}

Copied: wesnoth/repos/community-staging-i686/wesnoth.install (from rev 93808, wesnoth/trunk/wesnoth.install)
===================================================================
--- community-staging-i686/wesnoth.install	                        (rev 0)
+++ community-staging-i686/wesnoth.install	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,14 @@
+# arg 1:  the new package version
+post_install() {
+    systemd-tmpfiles --create wesnothd.conf
+cat << EOF
+Note:
+==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma"
+==> eg. export SDL_AUDIODRIVER="dma" ; wesnoth
+==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
+EOF
+}
+
+post_upgrade() {
+    post_install
+}

Copied: wesnoth/repos/community-staging-i686/wesnoth.tmpfiles.conf (from rev 93808, wesnoth/trunk/wesnoth.tmpfiles.conf)
===================================================================
--- community-staging-i686/wesnoth.tmpfiles.conf	                        (rev 0)
+++ community-staging-i686/wesnoth.tmpfiles.conf	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1 @@
+D /run/wesnothd 0700 root root -

Copied: wesnoth/repos/community-staging-i686/wesnothd.service (from rev 93808, wesnoth/trunk/wesnothd.service)
===================================================================
--- community-staging-i686/wesnothd.service	                        (rev 0)
+++ community-staging-i686/wesnothd.service	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Wesnoth Server Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/wesnothd
+
+[Install]
+WantedBy=multi-user.target

Copied: wesnoth/repos/community-staging-i686/wesnothd.tmpfiles.conf (from rev 93808, wesnoth/trunk/wesnothd.tmpfiles.conf)
===================================================================
--- community-staging-i686/wesnothd.tmpfiles.conf	                        (rev 0)
+++ community-staging-i686/wesnothd.tmpfiles.conf	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1 @@
+d /run/wesnothd 0700 root root -

Copied: wesnoth/repos/community-staging-x86_64/PKGBUILD (from rev 93808, wesnoth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Jacobo Arvelo <unix4all at ya.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=wesnoth
+pkgver=1.10.6
+pkgrel=6
+pkgdesc="A turn-based strategy game on a fantasy world"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.wesnoth.org/"
+depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pango' 'lua' "wesnoth-data>=$pkgver" 'dbus-core' 'python2')
+makedepends=('boost' 'cmake')
+install=wesnoth.install
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+        wesnothd.tmpfiles.conf
+        wesnothd.service
+        https://github.com/wesnoth/wesnoth-old/commit/bbd7f6.patch)
+md5sums=('547e3489bbfa778912b11dbee612c380'
+         '2d2fea6b3d86dfd589f5ad35a3be1f97'
+         'd1b6bf1d3dc05086ee6a370adff0ae4a'
+         'edc7c0547e67cba4ca4f813ca261f572')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i $srcdir/bbd7f6.patch
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DENABLE_OMP=ON \
+      -DENABLE_TOOLS=ON \
+      -DMANDIR=share/man
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r $pkgdir/usr/share/applications
+  rm -r $pkgdir/usr/share/doc
+  rm -r $pkgdir/usr/share/pixmaps
+  rm -r $pkgdir/usr/share/wesnoth
+
+  install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
+  install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service"
+}

Copied: wesnoth/repos/community-staging-x86_64/wesnoth.install (from rev 93808, wesnoth/trunk/wesnoth.install)
===================================================================
--- community-staging-x86_64/wesnoth.install	                        (rev 0)
+++ community-staging-x86_64/wesnoth.install	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,14 @@
+# arg 1:  the new package version
+post_install() {
+    systemd-tmpfiles --create wesnothd.conf
+cat << EOF
+Note:
+==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma"
+==> eg. export SDL_AUDIODRIVER="dma" ; wesnoth
+==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
+EOF
+}
+
+post_upgrade() {
+    post_install
+}

Copied: wesnoth/repos/community-staging-x86_64/wesnoth.tmpfiles.conf (from rev 93808, wesnoth/trunk/wesnoth.tmpfiles.conf)
===================================================================
--- community-staging-x86_64/wesnoth.tmpfiles.conf	                        (rev 0)
+++ community-staging-x86_64/wesnoth.tmpfiles.conf	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1 @@
+D /run/wesnothd 0700 root root -

Copied: wesnoth/repos/community-staging-x86_64/wesnothd.service (from rev 93808, wesnoth/trunk/wesnothd.service)
===================================================================
--- community-staging-x86_64/wesnothd.service	                        (rev 0)
+++ community-staging-x86_64/wesnothd.service	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Wesnoth Server Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/wesnothd
+
+[Install]
+WantedBy=multi-user.target

Copied: wesnoth/repos/community-staging-x86_64/wesnothd.tmpfiles.conf (from rev 93808, wesnoth/trunk/wesnothd.tmpfiles.conf)
===================================================================
--- community-staging-x86_64/wesnothd.tmpfiles.conf	                        (rev 0)
+++ community-staging-x86_64/wesnothd.tmpfiles.conf	2013-07-10 14:08:14 UTC (rev 93809)
@@ -0,0 +1 @@
+d /run/wesnothd 0700 root root -




More information about the arch-commits mailing list