Date: Wednesday, October 31, 2018 @ 21:57:45 Author: arojas Revision: 400513
archrelease: copy trunk to community-x86_64 Added: mame/repos/community-x86_64/PKGBUILD (from rev 400512, mame/trunk/PKGBUILD) mame/repos/community-x86_64/mame.sh (from rev 400512, mame/trunk/mame.sh) Deleted: mame/repos/community-x86_64/PKGBUILD mame/repos/community-x86_64/mame.sh ----------+ PKGBUILD | 142 ++++++++++++++++++++++++++++++------------------------------- mame.sh | 112 ++++++++++++++++++++++++------------------------ 2 files changed, 127 insertions(+), 127 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-31 21:57:12 UTC (rev 400512) +++ PKGBUILD 2018-10-31 21:57:45 UTC (rev 400513) @@ -1,71 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: robb_force <robb_fo...@holybuffalo.net> -# Contributor: JJDaNiMoTh <jjdanim...@gmail.com> - -pkgname=mame -pkgver=0.202 -pkgrel=1 -pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support." -url="http://mamedev.org/" -license=(GPL2) -arch=(x86_64) -depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio) -makedepends=(nasm python asio rapidjson glm libxinerama) -conflicts=(sdlmame) -replaces=(sdlmame) -source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh) -sha256sums=('a5cef3e7e606e2a36d25b559a5410c1c3105acd24ddbff03352cacb1f1ca7053' - 'd089e182d3aadf3b9efb7948329923e24feedd64d107f9582f2550c2e3bb6d1d') - - -prepare() { - cd mame-mame${pkgver/./} - -# Use system libraries - sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|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 imgtool jedutil nltool nlwav pngcmp regrep romcmp src2html \ - split srcclean ldverify ldresample; do - install -m755 $_i -t "$pkgdir"/usr/lib/mame - 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/ -} Copied: mame/repos/community-x86_64/PKGBUILD (from rev 400512, mame/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-31 21:57:45 UTC (rev 400513) @@ -0,0 +1,71 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: robb_force <robb_fo...@holybuffalo.net> +# Contributor: JJDaNiMoTh <jjdanim...@gmail.com> + +pkgname=mame +pkgver=0.203 +pkgrel=1 +pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support." +url="http://mamedev.org/" +license=(GPL2) +arch=(x86_64) +depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio) +makedepends=(nasm python asio rapidjson glm libxinerama) +conflicts=(sdlmame) +replaces=(sdlmame) +source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh) +sha256sums=('e17aa95f8897217d433e44e2f4b75ac7b5e13184549b7d14098d52652b7eb49a' + 'd089e182d3aadf3b9efb7948329923e24feedd64d107f9582f2550c2e3bb6d1d') + + +prepare() { + cd mame-mame${pkgver/./} + +# Use system libraries + sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|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 imgtool jedutil nltool nlwav pngcmp regrep romcmp src2html \ + split srcclean ldverify ldresample; do + install -m755 $_i -t "$pkgdir"/usr/lib/mame + 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/ +} Deleted: mame.sh =================================================================== --- mame.sh 2018-10-31 21:57:12 UTC (rev 400512) +++ mame.sh 2018-10-31 21:57:45 UTC (rev 400513) @@ -1,56 +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 MAME" - echo "options and paths before running MAME 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/lib/mame/mame \ - -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 \ - -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 MAME for the first time..." - 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." - mkdir $HOME/.mame - mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms} - cd $HOME/.mame - /usr/lib/mame/mame \ - -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 \ - -nvram_directory $home/.mame/nvram \ - -snapshot_directory $home/.mame/snap \ - -state_directory $home/.mame/sta \ - -video opengl \ - -createconfig -else - cd /usr/lib/mame - ./mame "$@" -fi Copied: mame/repos/community-x86_64/mame.sh (from rev 400512, mame/trunk/mame.sh) =================================================================== --- mame.sh (rev 0) +++ mame.sh 2018-10-31 21:57:45 UTC (rev 400513) @@ -0,0 +1,56 @@ +#!/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 MAME" + echo "options and paths before running MAME 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/lib/mame/mame \ + -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 \ + -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 MAME for the first time..." + 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." + mkdir $HOME/.mame + mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms} + cd $HOME/.mame + /usr/lib/mame/mame \ + -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 \ + -nvram_directory $home/.mame/nvram \ + -snapshot_directory $home/.mame/snap \ + -state_directory $home/.mame/sta \ + -video opengl \ + -createconfig +else + cd /usr/lib/mame + ./mame "$@" +fi