This commit is contained in:
parent
f4dcea2afc
commit
3f69497a03
10
0ad.spec
10
0ad.spec
@ -17,15 +17,18 @@
|
|||||||
|
|
||||||
# Enable NVTT only on arch supported by nvidia-texture-tools
|
# Enable NVTT only on arch supported by nvidia-texture-tools
|
||||||
%ifarch %{ix86} x86_64 ppc
|
%ifarch %{ix86} x86_64 ppc
|
||||||
%bcond_without system_nvtt
|
%bcond_without nvtt
|
||||||
%else
|
%else
|
||||||
%bcond_with system_nvtt
|
%bcond_with nvtt
|
||||||
%endif
|
%endif
|
||||||
|
#
|
||||||
%if 0%{?suse_version} >= 1550
|
%if 0%{?suse_version} >= 1550
|
||||||
%bcond_without system_mozjs
|
%bcond_without system_mozjs
|
||||||
%else
|
%else
|
||||||
%bcond_with system_mozjs
|
%bcond_with system_mozjs
|
||||||
%endif
|
%endif
|
||||||
|
# Use provided library
|
||||||
|
%bcond_without system_nvtt
|
||||||
Name: 0ad
|
Name: 0ad
|
||||||
Version: 0.0.24b
|
Version: 0.0.24b
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -100,10 +103,11 @@ build/workspaces/update-workspaces.sh \
|
|||||||
--bindir=%{_bindir} \
|
--bindir=%{_bindir} \
|
||||||
--datadir=%{_datadir}/%{name} \
|
--datadir=%{_datadir}/%{name} \
|
||||||
--libdir=%{_libdir}/%{name} \
|
--libdir=%{_libdir}/%{name} \
|
||||||
|
%if %{with nvtt}
|
||||||
%if %{with system_nvtt}
|
%if %{with system_nvtt}
|
||||||
--with-system-nvtt \
|
--with-system-nvtt \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch %{ix86} x86_64 ppc
|
%else
|
||||||
--without-nvtt \
|
--without-nvtt \
|
||||||
%endif
|
%endif
|
||||||
%if %{with system_mozjs}
|
%if %{with system_mozjs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user