[arch-commits] Commit in sdlmame/repos (16 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Dec 23 14:32:02 UTC 2013


    Date: Monday, December 23, 2013 @ 15:32:02
  Author: spupykin
Revision: 102891

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

Added:
  sdlmame/repos/community-i686/PKGBUILD
    (from rev 102890, sdlmame/trunk/PKGBUILD)
  sdlmame/repos/community-i686/extras.tar.gz
    (from rev 102890, sdlmame/trunk/extras.tar.gz)
  sdlmame/repos/community-i686/sdlmame.install
    (from rev 102890, sdlmame/trunk/sdlmame.install)
  sdlmame/repos/community-i686/sdlmame.sh
    (from rev 102890, sdlmame/trunk/sdlmame.sh)
  sdlmame/repos/community-x86_64/PKGBUILD
    (from rev 102890, sdlmame/trunk/PKGBUILD)
  sdlmame/repos/community-x86_64/extras.tar.gz
    (from rev 102890, sdlmame/trunk/extras.tar.gz)
  sdlmame/repos/community-x86_64/sdlmame.install
    (from rev 102890, sdlmame/trunk/sdlmame.install)
  sdlmame/repos/community-x86_64/sdlmame.sh
    (from rev 102890, sdlmame/trunk/sdlmame.sh)
Deleted:
  sdlmame/repos/community-i686/PKGBUILD
  sdlmame/repos/community-i686/extras.tar.gz
  sdlmame/repos/community-i686/sdlmame.install
  sdlmame/repos/community-i686/sdlmame.sh
  sdlmame/repos/community-x86_64/PKGBUILD
  sdlmame/repos/community-x86_64/extras.tar.gz
  sdlmame/repos/community-x86_64/sdlmame.install
  sdlmame/repos/community-x86_64/sdlmame.sh

----------------------------------+
 /PKGBUILD                        |  174 +++++++++++++++++++++++++++++++++++++
 /sdlmame.install                 |   16 +++
 /sdlmame.sh                      |  116 ++++++++++++++++++++++++
 community-i686/PKGBUILD          |   87 ------------------
 community-i686/sdlmame.install   |    8 -
 community-i686/sdlmame.sh        |   58 ------------
 community-x86_64/PKGBUILD        |   87 ------------------
 community-x86_64/sdlmame.install |    8 -
 community-x86_64/sdlmame.sh      |   58 ------------
 9 files changed, 306 insertions(+), 306 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-i686/PKGBUILD	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: robb_force <robb_force at holybuffalo.net>
-# Maintainer: JJDaNiMoTh <jjdanimoth at gmail.com>
-
-pkgname=sdlmame
-pkgver=0.151.u0
-_patchlevel=`echo $pkgver | cut -f2 -du`
-_basever=`echo $pkgver | cut -f1,2 -d.`
-pkgrel=1
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
-url="http://mamedev.org/"
-license=('custom:MAME License')
-arch=('i686' 'x86_64')
-depends=('sdl>=1.2.11' 'libxinerama' 'sdl_ttf' 'alsa-lib' 'qt4')
-makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
-DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3 -O %o %u')
-install=sdlmame.install
-
-for i in `seq 1 ${_patchlevel}`; do
-	_patches="${_patches} sdlmame-${_basever/./}u${i}_diff.zip::http://mamedev.org/updates/${_basever/./}u${i}_diff.zip"
-done
-
-source=("mame${_basever/./}s.zip::http://mamedev.org/downloader.php?file=releases/mame${_basever/./}s.zip"
-	"sdlmame.sh"
-	"extras.tar.gz"
-	${_patches})
-md5sums=('b1dec00c2c77ada2d670f5392de39d62'
-         'e11a7d26704a9e2cff223b9b867d6a05'
-         '420b61240bf5ae11615ba7c6100ee00d')
-
-build() {
-  cd $srcdir/
-  if [ $NOEXTRACT -eq 0 ]; then
-    unzip mame.zip
-    find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
-    for i in `seq 1 ${_patchlevel}`; do
-      msg "Patch#$i"
-      patch -p0 -E <${_basever/./}u$i.diff
-    done
-  fi
-  make NOWERROR=1 OPTIMIZE=2 PYTHON=python2
-  make tools NOWERROR=1 OPTIMIZE=2 PYTHON=python2
-}
-
-package() {
-  cd $srcdir/
-  # Install the sdlmame script
-  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
-
-  # Install the applications and the UI font in /usr/share
-  install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
-  install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname}
-
-  install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman
-  install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil
-  install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep
-  install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp
-  install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys
-  install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html
-  install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean
-  install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify
-  install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample
-
-  # Install the extra bits
-  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps,shader}
-  install -d $pkgdir/usr/share/man/man1
-  install -d $pkgdir/usr/share/man/man6
-  install -m644 src/osd/sdl/shader/glsl*.*h $pkgdir/usr/share/${pkgname}/shader/
-  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
-  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
-
-  install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
-  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
-  install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
-
-  # Include the license
-  install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
-
-  # FS#28203
-  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-
-  find $pkgdir -type f -exec strip {} \;
-}

Copied: sdlmame/repos/community-i686/PKGBUILD (from rev 102890, sdlmame/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+# Maintainer: JJDaNiMoTh <jjdanimoth at gmail.com>
+
+pkgname=sdlmame
+pkgver=0.151.u0
+_patchlevel=`echo $pkgver | cut -f2 -du`
+_basever=`echo $pkgver | cut -f1,2 -d.`
+pkgrel=2
+pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
+url="http://mamedev.org/"
+license=('custom:MAME License')
+arch=('i686' 'x86_64')
+depends=('sdl>=1.2.11' 'libxinerama' 'sdl_ttf' 'alsa-lib' 'qt4')
+makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
+DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3 -O %o %u')
+install=sdlmame.install
+
+for i in `seq 1 ${_patchlevel}`; do
+	_patches="${_patches} sdlmame-${_basever/./}u${i}_diff.zip::http://mamedev.org/updates/${_basever/./}u${i}_diff.zip"
+done
+
+source=("mame${_basever/./}s.zip::http://mamedev.org/downloader.php?file=releases/mame${_basever/./}s.zip"
+	"sdlmame.sh"
+	"extras.tar.gz"
+	${_patches})
+md5sums=('b1dec00c2c77ada2d670f5392de39d62'
+         '3c35b4a0806a82f3210df1683337655e'
+         '420b61240bf5ae11615ba7c6100ee00d')
+
+build() {
+  cd $srcdir/
+  if [ $NOEXTRACT -eq 0 ]; then
+    unzip mame.zip
+    find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
+    for i in `seq 1 ${_patchlevel}`; do
+      msg "Patch#$i"
+      patch -p0 -E <${_basever/./}u$i.diff
+    done
+  fi
+  make NOWERROR=1 OPTIMIZE=2 PYTHON=python2
+  make tools NOWERROR=1 OPTIMIZE=2 PYTHON=python2
+}
+
+package() {
+  cd $srcdir/
+  # Install the sdlmame script
+  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
+
+  # Install the applications and the UI font in /usr/share
+  install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
+  install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname}
+
+  install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman
+  install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil
+  install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep
+  install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp
+  install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys
+  install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html
+  install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean
+  install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify
+  install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample
+
+  # Install the extra bits
+  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps,shader}
+  install -d $pkgdir/usr/share/man/man1
+  install -d $pkgdir/usr/share/man/man6
+  install -m644 src/osd/sdl/shader/glsl*.*h $pkgdir/usr/share/${pkgname}/shader/
+  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
+  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
+
+  install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
+  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
+  install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
+
+  # Include the license
+  install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
+
+  # FS#28203
+  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+
+  find $pkgdir -type f -exec strip {} \;
+}

Deleted: community-i686/extras.tar.gz
===================================================================
(Binary files differ)

Copied: sdlmame/repos/community-i686/extras.tar.gz (from rev 102890, sdlmame/trunk/extras.tar.gz)
===================================================================
(Binary files differ)

Deleted: community-i686/sdlmame.install
===================================================================
--- community-i686/sdlmame.install	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-i686/sdlmame.install	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,8 +0,0 @@
-post_install()
-{
-  echo " SDLMAME and the additional MAME utilities have been installed"
-  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
-  echo " typing sdlmame and it's options. Try running SDLMAME with"
-  echo " these options:"
-  echo " sdlmame <rom> -nowindow -noswitchres"
-}

Copied: sdlmame/repos/community-i686/sdlmame.install (from rev 102890, sdlmame/trunk/sdlmame.install)
===================================================================
--- community-i686/sdlmame.install	                        (rev 0)
+++ community-i686/sdlmame.install	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,8 @@
+post_install()
+{
+  echo " SDLMAME and the additional MAME utilities have been installed"
+  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
+  echo " typing sdlmame and it's options. Try running SDLMAME with"
+  echo " these options:"
+  echo " sdlmame <rom> -nowindow -noswitchres"
+}

Deleted: community-i686/sdlmame.sh
===================================================================
--- community-i686/sdlmame.sh	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-i686/sdlmame.sh	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-# Create a variable equal to $HOME that will be used later in the ini creation
-home=('$HOME')
-
-if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
-  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  cd $HOME/.mame
-  if [ -e mame.ini ]; then
-    echo "Your old ini file has been renamed to mameini.bak"
-    mv mame.ini mameini.bak
-  fi
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -memcard_directory $home/.mame/memcard \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-elif [ ! -e $HOME/.mame ]; then
-  echo "Running SDLMAME for the first time..."
-  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  mkdir $HOME/.mame
-  mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,memcard,nvram,samples,snap,sta}
-  cd $HOME/.mame
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -memcard_directory $home/.mame/memcard \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-else
-  cd /usr/share/sdlmame
-  ./sdlmame "$@"
-fi

Copied: sdlmame/repos/community-i686/sdlmame.sh (from rev 102890, sdlmame/trunk/sdlmame.sh)
===================================================================
--- community-i686/sdlmame.sh	                        (rev 0)
+++ community-i686/sdlmame.sh	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+# Create a variable equal to $HOME that will be used later in the ini creation
+home=('$HOME')
+
+if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
+  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  cd $HOME/.mame
+  if [ -e mame.ini ]; then
+    echo "Your old ini file has been renamed to mameini.bak"
+    mv mame.ini mameini.bak
+  fi
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -memcard_directory $home/.mame/memcard \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+elif [ ! -e $HOME/.mame ]; then
+  echo "Running SDLMAME for the first time..."
+  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  mkdir $HOME/.mame
+  mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,memcard,nvram,samples,snap,sta,roms}
+  cd $HOME/.mame
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -memcard_directory $home/.mame/memcard \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+else
+  cd /usr/share/sdlmame
+  ./sdlmame "$@"
+fi

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-x86_64/PKGBUILD	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: robb_force <robb_force at holybuffalo.net>
-# Maintainer: JJDaNiMoTh <jjdanimoth at gmail.com>
-
-pkgname=sdlmame
-pkgver=0.151.u0
-_patchlevel=`echo $pkgver | cut -f2 -du`
-_basever=`echo $pkgver | cut -f1,2 -d.`
-pkgrel=1
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
-url="http://mamedev.org/"
-license=('custom:MAME License')
-arch=('i686' 'x86_64')
-depends=('sdl>=1.2.11' 'libxinerama' 'sdl_ttf' 'alsa-lib' 'qt4')
-makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
-DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3 -O %o %u')
-install=sdlmame.install
-
-for i in `seq 1 ${_patchlevel}`; do
-	_patches="${_patches} sdlmame-${_basever/./}u${i}_diff.zip::http://mamedev.org/updates/${_basever/./}u${i}_diff.zip"
-done
-
-source=("mame${_basever/./}s.zip::http://mamedev.org/downloader.php?file=releases/mame${_basever/./}s.zip"
-	"sdlmame.sh"
-	"extras.tar.gz"
-	${_patches})
-md5sums=('b1dec00c2c77ada2d670f5392de39d62'
-         'e11a7d26704a9e2cff223b9b867d6a05'
-         '420b61240bf5ae11615ba7c6100ee00d')
-
-build() {
-  cd $srcdir/
-  if [ $NOEXTRACT -eq 0 ]; then
-    unzip mame.zip
-    find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
-    for i in `seq 1 ${_patchlevel}`; do
-      msg "Patch#$i"
-      patch -p0 -E <${_basever/./}u$i.diff
-    done
-  fi
-  make NOWERROR=1 OPTIMIZE=2 PYTHON=python2
-  make tools NOWERROR=1 OPTIMIZE=2 PYTHON=python2
-}
-
-package() {
-  cd $srcdir/
-  # Install the sdlmame script
-  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
-
-  # Install the applications and the UI font in /usr/share
-  install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
-  install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname}
-
-  install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman
-  install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil
-  install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep
-  install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp
-  install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys
-  install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html
-  install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean
-  install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify
-  install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample
-
-  # Install the extra bits
-  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps,shader}
-  install -d $pkgdir/usr/share/man/man1
-  install -d $pkgdir/usr/share/man/man6
-  install -m644 src/osd/sdl/shader/glsl*.*h $pkgdir/usr/share/${pkgname}/shader/
-  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
-  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
-
-  install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
-  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
-  install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
-
-  # Include the license
-  install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
-
-  # FS#28203
-  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-
-  find $pkgdir -type f -exec strip {} \;
-}

Copied: sdlmame/repos/community-x86_64/PKGBUILD (from rev 102890, sdlmame/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+# Maintainer: JJDaNiMoTh <jjdanimoth at gmail.com>
+
+pkgname=sdlmame
+pkgver=0.151.u0
+_patchlevel=`echo $pkgver | cut -f2 -du`
+_basever=`echo $pkgver | cut -f1,2 -d.`
+pkgrel=2
+pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
+url="http://mamedev.org/"
+license=('custom:MAME License')
+arch=('i686' 'x86_64')
+depends=('sdl>=1.2.11' 'libxinerama' 'sdl_ttf' 'alsa-lib' 'qt4')
+makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
+DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3 -O %o %u')
+install=sdlmame.install
+
+for i in `seq 1 ${_patchlevel}`; do
+	_patches="${_patches} sdlmame-${_basever/./}u${i}_diff.zip::http://mamedev.org/updates/${_basever/./}u${i}_diff.zip"
+done
+
+source=("mame${_basever/./}s.zip::http://mamedev.org/downloader.php?file=releases/mame${_basever/./}s.zip"
+	"sdlmame.sh"
+	"extras.tar.gz"
+	${_patches})
+md5sums=('b1dec00c2c77ada2d670f5392de39d62'
+         '3c35b4a0806a82f3210df1683337655e'
+         '420b61240bf5ae11615ba7c6100ee00d')
+
+build() {
+  cd $srcdir/
+  if [ $NOEXTRACT -eq 0 ]; then
+    unzip mame.zip
+    find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
+    for i in `seq 1 ${_patchlevel}`; do
+      msg "Patch#$i"
+      patch -p0 -E <${_basever/./}u$i.diff
+    done
+  fi
+  make NOWERROR=1 OPTIMIZE=2 PYTHON=python2
+  make tools NOWERROR=1 OPTIMIZE=2 PYTHON=python2
+}
+
+package() {
+  cd $srcdir/
+  # Install the sdlmame script
+  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
+
+  # Install the applications and the UI font in /usr/share
+  install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
+  install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname}
+
+  install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman
+  install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil
+  install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep
+  install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp
+  install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys
+  install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html
+  install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean
+  install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify
+  install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample
+
+  # Install the extra bits
+  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps,shader}
+  install -d $pkgdir/usr/share/man/man1
+  install -d $pkgdir/usr/share/man/man6
+  install -m644 src/osd/sdl/shader/glsl*.*h $pkgdir/usr/share/${pkgname}/shader/
+  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
+  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
+
+  install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
+  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
+  install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
+
+  # Include the license
+  install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
+
+  # FS#28203
+  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
+
+  find $pkgdir -type f -exec strip {} \;
+}

Deleted: community-x86_64/extras.tar.gz
===================================================================
(Binary files differ)

Copied: sdlmame/repos/community-x86_64/extras.tar.gz (from rev 102890, sdlmame/trunk/extras.tar.gz)
===================================================================
(Binary files differ)

Deleted: community-x86_64/sdlmame.install
===================================================================
--- community-x86_64/sdlmame.install	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-x86_64/sdlmame.install	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,8 +0,0 @@
-post_install()
-{
-  echo " SDLMAME and the additional MAME utilities have been installed"
-  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
-  echo " typing sdlmame and it's options. Try running SDLMAME with"
-  echo " these options:"
-  echo " sdlmame <rom> -nowindow -noswitchres"
-}

Copied: sdlmame/repos/community-x86_64/sdlmame.install (from rev 102890, sdlmame/trunk/sdlmame.install)
===================================================================
--- community-x86_64/sdlmame.install	                        (rev 0)
+++ community-x86_64/sdlmame.install	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,8 @@
+post_install()
+{
+  echo " SDLMAME and the additional MAME utilities have been installed"
+  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
+  echo " typing sdlmame and it's options. Try running SDLMAME with"
+  echo " these options:"
+  echo " sdlmame <rom> -nowindow -noswitchres"
+}

Deleted: community-x86_64/sdlmame.sh
===================================================================
--- community-x86_64/sdlmame.sh	2013-12-23 14:31:38 UTC (rev 102890)
+++ community-x86_64/sdlmame.sh	2013-12-23 14:32:02 UTC (rev 102891)
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-# Create a variable equal to $HOME that will be used later in the ini creation
-home=('$HOME')
-
-if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
-  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  cd $HOME/.mame
-  if [ -e mame.ini ]; then
-    echo "Your old ini file has been renamed to mameini.bak"
-    mv mame.ini mameini.bak
-  fi
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -memcard_directory $home/.mame/memcard \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-elif [ ! -e $HOME/.mame ]; then
-  echo "Running SDLMAME for the first time..."
-  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  mkdir $HOME/.mame
-  mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,memcard,nvram,samples,snap,sta}
-  cd $HOME/.mame
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -memcard_directory $home/.mame/memcard \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-else
-  cd /usr/share/sdlmame
-  ./sdlmame "$@"
-fi

Copied: sdlmame/repos/community-x86_64/sdlmame.sh (from rev 102890, sdlmame/trunk/sdlmame.sh)
===================================================================
--- community-x86_64/sdlmame.sh	                        (rev 0)
+++ community-x86_64/sdlmame.sh	2013-12-23 14:32:02 UTC (rev 102891)
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+# Create a variable equal to $HOME that will be used later in the ini creation
+home=('$HOME')
+
+if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
+  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  cd $HOME/.mame
+  if [ -e mame.ini ]; then
+    echo "Your old ini file has been renamed to mameini.bak"
+    mv mame.ini mameini.bak
+  fi
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -memcard_directory $home/.mame/memcard \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+elif [ ! -e $HOME/.mame ]; then
+  echo "Running SDLMAME for the first time..."
+  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  mkdir $HOME/.mame
+  mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,memcard,nvram,samples,snap,sta,roms}
+  cd $HOME/.mame
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -memcard_directory $home/.mame/memcard \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+else
+  cd /usr/share/sdlmame
+  ./sdlmame "$@"
+fi




More information about the arch-commits mailing list