[arch-commits] Commit in mame/repos/community-x86_64 (8 files)

Antonio Rojas arojas at archlinux.org
Sun Apr 5 19:48:19 UTC 2020


    Date: Sunday, April 5, 2020 @ 19:48:18
  Author: arojas
Revision: 611955

archrelease: copy trunk to community-x86_64

Added:
  mame/repos/community-x86_64/PKGBUILD
    (from rev 611949, mame/trunk/PKGBUILD)
  mame/repos/community-x86_64/mame.desktop
    (from rev 611951, mame/trunk/mame.desktop)
  mame/repos/community-x86_64/mame.sh
    (from rev 611951, mame/trunk/mame.sh)
  mame/repos/community-x86_64/mame.svg
    (from rev 611952, mame/trunk/mame.svg)
Deleted:
  mame/repos/community-x86_64/PKGBUILD
  mame/repos/community-x86_64/mame.desktop
  mame/repos/community-x86_64/mame.sh
  mame/repos/community-x86_64/mame.svg

--------------+
 PKGBUILD     |  162 ++++++++++++++++++++++++++++-----------------------------
 mame.desktop |   40 +++++++-------
 mame.sh      |  110 +++++++++++++++++++-------------------
 3 files changed, 156 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-05 19:48:17 UTC (rev 611954)
+++ PKGBUILD	2020-04-05 19:48:18 UTC (rev 611955)
@@ -1,81 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: robb_force <robb_force at holybuffalo.net>
-# Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
-
-pkgname=mame
-pkgver=0.219
-pkgrel=1
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
-url="https://mamedev.org/"
-license=(GPL2)
-arch=(x86_64)
-depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio flac)
-makedepends=(nasm python asio rapidjson glm libxinerama)
-conflicts=(sdlmame)
-replaces=(sdlmame)
-source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz"
-         mame.sh mame.desktop mame.svg)
-sha256sums=('9513c046033e451d86adfdd297da8a2ad9b6642a2f3ef669e1443d0acc2c2e0b'
-            'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba'
-            '6beb883c8efed5b7466d43d0658b47c3e4a9928b5d0245ed56446b230e28306b'
-            '17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4')
-
-
-prepare() {
-  cd mame-mame${pkgver/./}
-
-# Use system libraries
-  sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|g' -i makefile
-# except for asio
-  sed -e 's|USE_SYSTEM_LIB_ASIO|\# USE_SYSTEM_LIB_ASIO|g' -i makefile
-}
-
-build() {
-  cd mame-mame${pkgver/./}
-  make -j1 \
-    NOWERROR=1 \
-    OPTIMIZE=2 \
-    TOOLS=1 \
-    ARCHOPTS=-flifetime-dse=1
-}
-
-package() {
-  cd mame-mame${pkgver/./}
-
-  # Install the mame script
-  install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
-
-  # Install the binaries
-  install -Dm755 mame64 "$pkgdir"/usr/lib/mame/mame
-  for _i in castool chdman imgtool jedutil nltool nlwav pngcmp regrep romcmp src2html \
-            split srcclean ldverify ldresample; do
-    install -m755 $_i -t "$pkgdir"/usr/lib/mame
-    ln -s /usr/lib/mame/$_i "$pkgdir"/usr/bin/mame-$_i
-  done
-
-  # Install the extra bits
-  install -Dm644 src/osd/modules/opengl/shader/glsl*.*h -t "$pkgdir"/usr/lib/$pkgname/shader/
-  cp -ar {artwork,bgfx,plugins,language,ctrlr,keymaps,hash} "$pkgdir"/usr/lib/$pkgname/
-
-  # Include the license
-  install -Dm644 docs/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # FS#28203
-  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
-
-  # documentation
-  install -dm0755 "$pkgdir"/usr/share/doc
-  cp -a docs "$pkgdir"/usr/share/doc/$pkgname
-  rm -r "$pkgdir"/usr/share/doc/$pkgname/man
-  install -d "$pkgdir"/usr/share/man/man{1,6}
-  install -m644 docs/man/*.1* "$pkgdir"/usr/share/man/man1/
-  install -m644 docs/man/*.6* "$pkgdir"/usr/share/man/man6/
-
-  # install desktop file and icon
-  install -Dm644 "$srcdir"/mame.desktop -t "$pkgdir"/usr/share/applications
-  install -Dm644 "$srcdir"/mame.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps
-}

Copied: mame/repos/community-x86_64/PKGBUILD (from rev 611949, mame/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-05 19:48:18 UTC (rev 611955)
@@ -0,0 +1,81 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+# Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
+
+pkgname=mame
+pkgver=0.220
+pkgrel=1
+pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
+url="https://mamedev.org/"
+license=(GPL2)
+arch=(x86_64)
+depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio flac)
+makedepends=(nasm python asio rapidjson glm libxinerama)
+conflicts=(sdlmame)
+replaces=(sdlmame)
+source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz"
+         mame.sh mame.desktop mame.svg)
+sha256sums=('8150bc8c60e4704ec222a22a8d4dc89c2de92781d0e52e2820126b4357c36c12'
+            'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba'
+            '6beb883c8efed5b7466d43d0658b47c3e4a9928b5d0245ed56446b230e28306b'
+            '17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4')
+
+
+prepare() {
+  cd mame-mame${pkgver/./}
+
+# Use system libraries
+  sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|g' -i makefile
+# except for asio
+  sed -e 's|USE_SYSTEM_LIB_ASIO|\# USE_SYSTEM_LIB_ASIO|g' -i makefile
+}
+
+build() {
+  cd mame-mame${pkgver/./}
+  make \
+    NOWERROR=1 \
+    OPTIMIZE=2 \
+    TOOLS=1 \
+    ARCHOPTS=-flifetime-dse=1
+}
+
+package() {
+  cd mame-mame${pkgver/./}
+
+  # Install the mame script
+  install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
+
+  # Install the binaries
+  install -Dm755 mame64 "$pkgdir"/usr/lib/mame/mame
+  for _i in castool chdman floptool imgtool jedutil ldresample ldverify nltool nlwav pngcmp regrep romcmp \
+            split srcclean testkeys unidasm; do
+    install -m755 $_i -t "$pkgdir"/usr/lib/mame
+    ln -s /usr/lib/mame/$_i "$pkgdir"/usr/bin/mame-$_i
+  done
+
+  # Install the extra bits
+  install -Dm644 src/osd/modules/opengl/shader/glsl*.*h -t "$pkgdir"/usr/lib/$pkgname/shader/
+  cp -ar {artwork,bgfx,plugins,language,ctrlr,keymaps,hash} "$pkgdir"/usr/lib/$pkgname/
+
+  # Include the license
+  install -Dm644 docs/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # FS#28203
+  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' "$pkgdir"/usr/lib/mame/ctrlr/*.cfg
+
+  # documentation
+  install -dm0755 "$pkgdir"/usr/share/doc
+  cp -a docs "$pkgdir"/usr/share/doc/$pkgname
+  rm -r "$pkgdir"/usr/share/doc/$pkgname/man
+  install -d "$pkgdir"/usr/share/man/man{1,6}
+  install -m644 docs/man/*.1* "$pkgdir"/usr/share/man/man1/
+  install -m644 docs/man/*.6* "$pkgdir"/usr/share/man/man6/
+
+  # install desktop file and icon
+  install -Dm644 "$srcdir"/mame.desktop -t "$pkgdir"/usr/share/applications
+  install -Dm644 "$srcdir"/mame.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps
+}

Deleted: mame.desktop
===================================================================
--- mame.desktop	2020-04-05 19:48:17 UTC (rev 611954)
+++ mame.desktop	2020-04-05 19:48:18 UTC (rev 611955)
@@ -1,20 +0,0 @@
-[Desktop Entry]
-Name=MAME™ Arcade Emulator
-Name[ca]=Emulador de jocs arcade MAME™
-Name[fr]=Emulateur arcade MAME™
-Name[it]=Emulatore di giochi arcade MAME™
-GenericName=Arcade Emulator
-GenericName[ca]=Emulador de jocs arcade
-GenericName[fr]=Emulateur arcade
-GenericName[it]=Emulatore di giochi arcade
-Comment=Play vintage arcade games using the MAME™ emulator
-Comment[ca]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
-Comment[fr]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
-Comment[it]=Gioca ai vecchi arcade con l'emulatore MAME™
-Exec=/usr/bin/mame
-Icon=mame
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
-Keywords=Game;Emulator;Arcade;
-

Copied: mame/repos/community-x86_64/mame.desktop (from rev 611951, mame/trunk/mame.desktop)
===================================================================
--- mame.desktop	                        (rev 0)
+++ mame.desktop	2020-04-05 19:48:18 UTC (rev 611955)
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Name=MAME™ Arcade Emulator
+Name[ca]=Emulador de jocs arcade MAME™
+Name[fr]=Emulateur arcade MAME™
+Name[it]=Emulatore di giochi arcade MAME™
+GenericName=Arcade Emulator
+GenericName[ca]=Emulador de jocs arcade
+GenericName[fr]=Emulateur arcade
+GenericName[it]=Emulatore di giochi arcade
+Comment=Play vintage arcade games using the MAME™ emulator
+Comment[ca]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
+Comment[fr]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
+Comment[it]=Gioca ai vecchi arcade con l'emulatore MAME™
+Exec=/usr/bin/mame
+Icon=mame
+Terminal=false
+Type=Application
+Categories=Game;Emulator;
+Keywords=Game;Emulator;Arcade;
+

Deleted: mame.sh
===================================================================
--- mame.sh	2020-04-05 19:48:17 UTC (rev 611954)
+++ mame.sh	2020-04-05 19:48:18 UTC (rev 611955)
@@ -1,55 +0,0 @@
-#!/bin/sh
-mame=/usr/lib/mame/mame
-
-mame_first_run() {
-  echo "Creating an ini file for MAME at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your MAME"
-  echo "options and paths before running MAME again."
-
-  cd -- ~/.mame || exit
-
-  if [ -e mame.ini ]; then
-    mv mame.ini mameini.bak || exit
-    echo "Your old ini file has been renamed to mameini.bak"
-  fi
-
-  # Note: the single quotes here are not a mistake; MAME will save these
-  # strings verbatim into its configuration file, and expand the variables when
-  # it is run in future.
-  "$mame" \
-    -artpath '$HOME/.mame/artwork;/usr/lib/mame/artwork' \
-    -bgfx_path '$HOME/.mame/bgfx;/usr/lib/mame/bgfx' \
-    -ctrlrpath '$HOME/.mame/ctrlr;/usr/lib/mame/ctrlr' \
-    -hashpath '$HOME/.mame/hash;/usr/lib/mame/hash' \
-    -languagepath '$HOME/.mame/language;/usr/lib/mame/language' \
-    -pluginspath '/usr/lib/mame/plugins' \
-    -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' \
-    -nvram_directory '$HOME/.mame/nvram' \
-    -snapshot_directory '$HOME/.mame/snap' \
-    -state_directory '$HOME/.mame/sta' \
-    -video opengl \
-    -createconfig
-}
-
-if [ "$1" = "--newini" ]; then
-  mame_first_run
-  exit
-elif ! [ -e ~/.mame ]; then
-  echo "Running MAME for the first time..."
-
-  mkdir -- ~/.mame
-  (
-    cd -- ~/.mame || exit
-    mkdir artwork bgfx cfg comments ctrlr diff hash ini inp language nvram samples snap sta roms
-
-    mame_first_run
-  ) || exit
-fi
-
-exec "$mame" "$@"

Copied: mame/repos/community-x86_64/mame.sh (from rev 611951, mame/trunk/mame.sh)
===================================================================
--- mame.sh	                        (rev 0)
+++ mame.sh	2020-04-05 19:48:18 UTC (rev 611955)
@@ -0,0 +1,55 @@
+#!/bin/sh
+mame=/usr/lib/mame/mame
+
+mame_first_run() {
+  echo "Creating an ini file for MAME at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your MAME"
+  echo "options and paths before running MAME again."
+
+  cd -- ~/.mame || exit
+
+  if [ -e mame.ini ]; then
+    mv mame.ini mameini.bak || exit
+    echo "Your old ini file has been renamed to mameini.bak"
+  fi
+
+  # Note: the single quotes here are not a mistake; MAME will save these
+  # strings verbatim into its configuration file, and expand the variables when
+  # it is run in future.
+  "$mame" \
+    -artpath '$HOME/.mame/artwork;/usr/lib/mame/artwork' \
+    -bgfx_path '$HOME/.mame/bgfx;/usr/lib/mame/bgfx' \
+    -ctrlrpath '$HOME/.mame/ctrlr;/usr/lib/mame/ctrlr' \
+    -hashpath '$HOME/.mame/hash;/usr/lib/mame/hash' \
+    -languagepath '$HOME/.mame/language;/usr/lib/mame/language' \
+    -pluginspath '/usr/lib/mame/plugins' \
+    -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' \
+    -nvram_directory '$HOME/.mame/nvram' \
+    -snapshot_directory '$HOME/.mame/snap' \
+    -state_directory '$HOME/.mame/sta' \
+    -video opengl \
+    -createconfig
+}
+
+if [ "$1" = "--newini" ]; then
+  mame_first_run
+  exit
+elif ! [ -e ~/.mame ]; then
+  echo "Running MAME for the first time..."
+
+  mkdir -- ~/.mame
+  (
+    cd -- ~/.mame || exit
+    mkdir artwork bgfx cfg comments ctrlr diff hash ini inp language nvram samples snap sta roms
+
+    mame_first_run
+  ) || exit
+fi
+
+exec "$mame" "$@"

Deleted: mame.svg
===================================================================
(Binary files differ)

Copied: mame/repos/community-x86_64/mame.svg (from rev 611952, mame/trunk/mame.svg)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list