mirror of
https://abf.rosa.ru/djam/0ad.git
synced 2025-02-23 15:02:47 +00:00
New version 0.0.18, adjust BuildRequires and build options
This commit is contained in:
parent
065af37f4c
commit
cb5cb1903a
2 changed files with 5 additions and 13 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
0ad-0.0.17-alpha-unix-build.tar.xz: a5abc81b450cbb766750ac44a172643389eca3d8
|
0ad-0.0.18-alpha-unix-build.tar.xz: cd233c684d9dcc81d1ae4b42d84f06aedc8398a8
|
||||||
|
|
16
0ad.spec
16
0ad.spec
|
@ -12,11 +12,10 @@
|
||||||
|
|
||||||
%global with_system_nvtt 0
|
%global with_system_nvtt 0
|
||||||
%global without_nvtt 1
|
%global without_nvtt 1
|
||||||
%global with_system_enet 1
|
|
||||||
|
|
||||||
Summary: Cross-Platform RTS Game of Ancient Warfare
|
Summary: Cross-Platform RTS Game of Ancient Warfare
|
||||||
Name: 0ad
|
Name: 0ad
|
||||||
Version: 0.0.17
|
Version: 0.0.18
|
||||||
Release: 1
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+ and BSD and MIT and IBM
|
License: GPLv2+ and BSD and MIT and IBM
|
||||||
|
@ -47,7 +46,7 @@ BuildRequires: miniupnpc-devel
|
||||||
%if %{with_system_nvtt}
|
%if %{with_system_nvtt}
|
||||||
BuildRequires: nvidia-texture-tools-devel
|
BuildRequires: nvidia-texture-tools-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: wxgtku-devel
|
BuildRequires: wxgtku3.0-devel
|
||||||
BuildRequires: pkgconfig(gloox)
|
BuildRequires: pkgconfig(gloox)
|
||||||
BuildRequires: pkgconfig(icu-i18n)
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
BuildRequires: pkgconfig(IL)
|
BuildRequires: pkgconfig(IL)
|
||||||
|
@ -56,7 +55,7 @@ BuildRequires: pkgconfig(libenet)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(libzip)
|
BuildRequires: pkgconfig(libzip)
|
||||||
BuildRequires: pkgconfig(mozjs-24)
|
BuildRequires: pkgconfig(mozjs-31)
|
||||||
BuildRequires: pkgconfig(openal)
|
BuildRequires: pkgconfig(openal)
|
||||||
BuildRequires: pkgconfig(sdl)
|
BuildRequires: pkgconfig(sdl)
|
||||||
BuildRequires: pkgconfig(vorbis)
|
BuildRequires: pkgconfig(vorbis)
|
||||||
|
@ -111,10 +110,7 @@ build/workspaces/update-workspaces.sh \
|
||||||
--bindir %{_gamesbindir} \
|
--bindir %{_gamesbindir} \
|
||||||
--datadir %{_gamesdatadir}/%{name} \
|
--datadir %{_gamesdatadir}/%{name} \
|
||||||
--libdir %{_libdir}/%{name} \
|
--libdir %{_libdir}/%{name} \
|
||||||
%if %{with_system_enet}
|
--with-system-mozjs31 \
|
||||||
--with-system-enet \
|
|
||||||
%endif
|
|
||||||
--with-system-mozjs24 \
|
|
||||||
--with-system-miniupnpc \
|
--with-system-miniupnpc \
|
||||||
%if %{with_system_nvtt}
|
%if %{with_system_nvtt}
|
||||||
--with-system-nvtt \
|
--with-system-nvtt \
|
||||||
|
@ -136,10 +132,6 @@ for name in AtlasUI%{dbg} Collada%{dbg}; do
|
||||||
install -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
|
install -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
|
||||||
done
|
done
|
||||||
|
|
||||||
%if !%{with_system_enet}
|
|
||||||
install -p -m 755 binaries/system/libenet.so.1 %{buildroot}%{_libdir}/%{name}/libenet.so.1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if !%{without_nvtt} && !%{with_system_nvtt}
|
%if !%{without_nvtt} && !%{with_system_nvtt}
|
||||||
for name in nvcore nvimage nvmath nvtt; do
|
for name in nvcore nvimage nvmath nvtt; do
|
||||||
install -p -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
|
install -p -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
|
||||||
|
|
Loading…
Add table
Reference in a new issue