update to 0.262 [release 0.262-1mamba;Tue Feb 06 2024]
This commit is contained in:
parent
de2b25eaa0
commit
12e4c365dc
27
mame.spec
27
mame.spec
@ -1,13 +1,13 @@
|
|||||||
%define tagver %(echo %version | tr -d .)
|
%define tagver %(echo %version | tr -d .)
|
||||||
Name: mame
|
Name: mame
|
||||||
Version: 0.252
|
Version: 0.262
|
||||||
Release: 2mamba
|
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
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://sdlmame.wallyweek.org/
|
URL: https://www.mamedev.org/
|
||||||
Source: https://gitlab.com/mamedev/mame.git/mame%{tagver}/mame-%{version}.tar.bz2
|
Source: https://gitlab.com/mamedev/mame.git/mame%{tagver}/mame-%{version}.tar.bz2
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -34,13 +34,13 @@ BuildRequires: libsqlite-devel
|
|||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libutf8proc-devel
|
BuildRequires: libutf8proc-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: pugixml-devel
|
BuildRequires: pugixml-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libutf8proc-devel >= 2.9.0-1mamba
|
BuildRequires: libutf8proc-devel >= 2.9.0-1mamba
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: librapidjson-devel
|
BuildRequires: librapidjson-devel
|
||||||
BuildRequires: liblua53-devel
|
|
||||||
Requires: %{name}-data = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-data = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -72,10 +72,12 @@ Summary: Data files used by MAME
|
|||||||
sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|g' -i makefile
|
sed -e 's|\# USE_SYSTEM_LIB|USE_SYSTEM_LIB|g' -i makefile
|
||||||
# except for asio
|
# except for asio
|
||||||
sed -e 's|USE_SYSTEM_LIB_ASIO|\# USE_SYSTEM_LIB_ASIO|g' -i makefile
|
sed -e 's|USE_SYSTEM_LIB_ASIO|\# USE_SYSTEM_LIB_ASIO|g' -i makefile
|
||||||
|
# Use C++ LUA
|
||||||
|
sed -e 's|ext_lib("lua")|ext_lib("lua++")|' -i scripts/src/main.lua -i scripts/src/3rdparty.lua
|
||||||
|
|
||||||
# Hack to force linking to lua5.3
|
# Hack to force linking to lua5.4
|
||||||
mkdir lib
|
#mkdir lib
|
||||||
ln -s %{_libdir}/liblua5.3.so lib/liblua.so
|
#ln -s %{_libdir}/liblua.so.5.4 lib/liblua.so
|
||||||
|
|
||||||
# Create ini file
|
# Create ini file
|
||||||
cat > %{name}.ini << EOF
|
cat > %{name}.ini << EOF
|
||||||
@ -121,9 +123,9 @@ 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+="-I%{_includedir}/lua5.3/"
|
export CFLAGS+="`pkg-config lua --cflags`"
|
||||||
export CXXFLAGS+="-I%{_includedir}/lua5.3/"
|
export CXXFLAGS+="`pkg-config lua --cflags`"
|
||||||
export LDFLAGS+=" -L${PWD}/lib"
|
export LDFLAGS+="`pkg-config lua --libs`"
|
||||||
|
|
||||||
%make_build -j2 \
|
%make_build -j2 \
|
||||||
PYTHON_EXECUTABLE=%{__python3} \
|
PYTHON_EXECUTABLE=%{__python3} \
|
||||||
@ -132,7 +134,9 @@ export LDFLAGS+=" -L${PWD}/lib"
|
|||||||
TOOLS=1 \
|
TOOLS=1 \
|
||||||
ARCHOPTS=-flifetime-dse=1 \
|
ARCHOPTS=-flifetime-dse=1 \
|
||||||
OPT_FLAGS="$RPM_OPT_FLAGS" \
|
OPT_FLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
%ifarch %{ix86} arm
|
||||||
LDOPTS="$RPM_LD_FLAGS"
|
LDOPTS="$RPM_LD_FLAGS"
|
||||||
|
%endif
|
||||||
|
|
||||||
#cd docs
|
#cd docs
|
||||||
#% make html
|
#% make html
|
||||||
@ -254,6 +258,9 @@ popd
|
|||||||
%license COPYING docs/legal/*
|
%license COPYING docs/legal/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.262-1mamba
|
||||||
|
- update to 0.262
|
||||||
|
|
||||||
* Sat Nov 18 2023 Automatic Build System <autodist@mambasoft.it> 0.252-2mamba
|
* Sat Nov 18 2023 Automatic Build System <autodist@mambasoft.it> 0.252-2mamba
|
||||||
- rebuilt by autoport with build requirements: libutf8proc-devel>=2.9.0-1mamba
|
- rebuilt by autoport with build requirements: libutf8proc-devel>=2.9.0-1mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user