[packages/mame] - rel 1, reworg flags macros for convenience

baggins baggins at pld-linux.org
Tue Dec 2 00:07:24 CET 2025


commit a5771f0d31522e12f7c219d87aa1dc9803d1d6ac
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Dec 2 02:07:00 2025 +0100

    - rel 1, reworg flags macros for convenience

 mame.spec | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/mame.spec b/mame.spec
index fbbcb96..6427150 100644
--- a/mame.spec
+++ b/mame.spec
@@ -9,7 +9,7 @@ Summary:	MAME - Multiple Arcade Machine Emulator
 Summary(pl.UTF-8):	MAME (Multiple Arcade Machine Emulator) - emulator wielu automatów do gier
 Name:		mame
 Version:	0.283
-Release:	0.1
+Release:	1
 License:	GPL v2+ (BSD for core part, LGPL v2.1+/GPL v2+ for some drivers)
 Group:		X11/Applications/Games
 #Source0Download: https://www.mamedev.org/release.html
@@ -127,8 +127,13 @@ Data files used by MAME.
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
 	LD="%{__cxx}" \
-	OPT_FLAGS="%{rpmcflags}%{?with_system_lua: $(pkg-config --cflags lua5.4)}" \
-	LDFLAGS="%{rpmldflags}%{?with_system_lua: $(pkg-config --libs lua5.4)}" \
+%if %{with system_lua}
+	OPT_FLAGS="%{rpmcflags} $(pkg-config --cflags lua5.4)" \
+	LDFLAGS="%{rpmldflags} $(pkg-config --libs lua5.4)" \
+%else
+	OPT_FLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}" \
+%endif
 	QT_HOME=%{_libdir}/qt6 \
 	NOWERROR=1 \
 	OSD=sdl \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mame.git/commitdiff/a5771f0d31522e12f7c219d87aa1dc9803d1d6ac




More information about the pld-cvs-commit mailing list