[arch-commits] Commit in mame/trunk (PKGBUILD mame.desktop)

Antonio Rojas arojas at archlinux.org
Thu Jul 2 08:11:25 UTC 2020


    Date: Thursday, July 2, 2020 @ 08:11:06
  Author: arojas
Revision: 657463

Build with lua 5.3, remove path from desktop file exec line (FS#67172)

Modified:
  mame/trunk/PKGBUILD
  mame/trunk/mame.desktop

--------------+
 PKGBUILD     |   14 +++++++++++---
 mame.desktop |    2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-02 06:28:23 UTC (rev 657462)
+++ PKGBUILD	2020-07-02 08:11:06 UTC (rev 657463)
@@ -5,12 +5,12 @@
 
 pkgname=mame
 pkgver=0.222
-pkgrel=1
+pkgrel=2
 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)
+depends=(sdl2_ttf qt5-base lua53 libutf8proc pugixml portmidi portaudio flac)
 makedepends=(nasm python asio rapidjson glm libxinerama)
 conflicts=(sdlmame)
 replaces=(sdlmame)
@@ -18,7 +18,7 @@
          mame.sh mame.desktop mame.svg)
 sha256sums=('295cfc8edd132f7175818ed7bcbefdf292ba74ff1e3595a97c0cd49145b4b721'
             'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba'
-            '6beb883c8efed5b7466d43d0658b47c3e4a9928b5d0245ed56446b230e28306b'
+            '0e5e93f84673c2d17a1bf7a6b256cfa54ef89a086a828df19bc054c12776d821'
             '17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4')
 
 
@@ -33,6 +33,14 @@
 
 build() {
   cd mame-mame${pkgver/./}
+  export CFLAGS+=" -I/usr/include/lua5.3/"
+  export CXXFLAGS+=" -I/usr/include/lua5.3/"
+
+# Hack to force linking to lua5.3
+  mkdir lib
+  ln -s /usr/lib/liblua5.3.so lib/liblua.so
+  export LDFLAGS+=" -L${PWD}/lib"
+
   make \
     NOWERROR=1 \
     OPTIMIZE=2 \

Modified: mame.desktop
===================================================================
--- mame.desktop	2020-07-02 06:28:23 UTC (rev 657462)
+++ mame.desktop	2020-07-02 08:11:06 UTC (rev 657463)
@@ -11,7 +11,7 @@
 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
+Exec=mame
 Icon=mame
 Terminal=false
 Type=Application



More information about the arch-commits mailing list