automatic version update by autodist [release 0.267-1mamba;Sat Jul 06 2024]

This commit is contained in:
Automatic Build System 2024-07-06 22:49:13 +02:00
parent 12e4c365dc
commit d600c50142

View File

@ -1,6 +1,6 @@
%define tagver %(echo %version | tr -d .) %define tagver %(echo %version | tr -d .)
Name: mame Name: mame
Version: 0.262 Version: 0.267
Release: 1mamba Release: 1mamba
Summary: A virtual environment where you can run software written for other platforms, namely old arcades Summary: A virtual environment where you can run software written for other platforms, namely old arcades
Group: Applications/Emulators Group: Applications/Emulators
@ -25,7 +25,6 @@ BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: liblua-devel
BuildRequires: libportaudio-devel BuildRequires: libportaudio-devel
BuildRequires: libportmidi-devel BuildRequires: libportmidi-devel
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
@ -33,10 +32,11 @@ BuildRequires: libsdl2_ttf-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libutf8proc-devel BuildRequires: libutf8proc-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
BuildRequires: pugixml-devel BuildRequires: pugixml-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libutf8proc-devel >= 2.9.0-1mamba BuildRequires: libutf8proc-devel >= 2.9.0-1mamba
BuildRequires: python3 BuildRequires: python3
@ -67,17 +67,26 @@ Summary: Data files used by MAME
%setup -q %setup -q
#-D -T #-D -T
#:<< _EOF #:<< _EOF
#remove system libs or document themes to ensure system ones are used
# Use system libraries #remove 3rdparty code not needed on Linux
sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|g' -i makefile rm -rf \
# except for asio 3rdparty/asio \
sed -e 's|USE_SYSTEM_LIB_ASIO|\# USE_SYSTEM_LIB_ASIO|g' -i makefile 3rdparty/compat \
# Use C++ LUA 3rdparty/dxsdk \
sed -e 's|ext_lib("lua")|ext_lib("lua++")|' -i scripts/src/main.lua -i scripts/src/3rdparty.lua 3rdparty/expat \
3rdparty/glm \
# Hack to force linking to lua5.4 3rdparty/flac \
#mkdir lib 3rdparty/libjpeg \
#ln -s %{_libdir}/liblua.so.5.4 lib/liblua.so 3rdparty/portaudio \
3rdparty/portmidi \
3rdparty/pugixml \
3rdparty/rapidjson \
3rdparty/sqlite3 \
3rdparty/tap-windows6 \
3rdparty/utf8proc \
3rdparty/zlib \
3rdparty/zstd \
docs/themes
# Create ini file # Create ini file
cat > %{name}.ini << EOF cat > %{name}.ini << EOF
@ -123,20 +132,35 @@ RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed "s@-O2@-Os@")
RPM_LD_FLAGS="$RPM_LD_FLAGS -Wl,--no-keep-memory -fuse-ld=gold" RPM_LD_FLAGS="$RPM_LD_FLAGS -Wl,--no-keep-memory -fuse-ld=gold"
%endif %endif
export CFLAGS+="`pkg-config lua --cflags`" %make \
export CXXFLAGS+="`pkg-config lua --cflags`"
export LDFLAGS+="`pkg-config lua --libs`"
%make_build -j2 \
PYTHON_EXECUTABLE=%{__python3} \ PYTHON_EXECUTABLE=%{__python3} \
NOWERROR=1 \ NOWERROR=1 \
OPTIMIZE=2 \ OPTIMIZE=2 \
VERBOSE=1 \
TOOLS=1 \ TOOLS=1 \
QT_HOME=%{_libdir}/qt6 \
USE_SYSTEM_LIB_ASIO=1 \
USE_SYSTEM_LIB_EXPAT=1 \
USE_SYSTEM_LIB_FLAC=1 \
USE_SYSTEM_LIB_GLM=1 \
USE_SYSTEM_LIB_JPEG=1 \
USE_SYSTEM_LIB_PORTAUDIO=1 \
USE_SYSTEM_LIB_PORTMIDI=1 \
USE_SYSTEM_LIB_PUGIXML=1 \
USE_SYSTEM_LIB_RAPIDJSON=1 \
USE_SYSTEM_LIB_SQLITE3=1 \
USE_SYSTEM_LIB_UTF8PROC=1 \
USE_SYSTEM_LIB_ZLIB=1 \
USE_SYSTEM_LIB_ZSTD=1 \
USE_WAYLAND=1 \
ARCHOPTS=-flifetime-dse=1 \ ARCHOPTS=-flifetime-dse=1 \
OPT_FLAGS="$RPM_OPT_FLAGS" \ LDOPTS="$RPM_LD_FLAGS" \
%ifarch %{ix86} arm OPT_FLAGS="$RPM_OPT_FLAGS"
LDOPTS="$RPM_LD_FLAGS"
%endif # OPT_FLAGS="$RPM_OPT_FLAGS" \
#%ifarch %{ix86} arm
# LDOPTS="$RPM_LD_FLAGS"
#%endif
#cd docs #cd docs
#% make html #% make html
@ -258,6 +282,9 @@ popd
%license COPYING docs/legal/* %license COPYING docs/legal/*
%changelog %changelog
* Sat Jul 06 2024 Automatic Build System <autodist@openmamba.org> 0.267-1mamba
- automatic version update by autodist
* Tue Feb 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.262-1mamba * Tue Feb 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.262-1mamba
- update to 0.262 - update to 0.262