]> git.pld-linux.org Git - packages/0ad.git/blobdiff - 0ad.spec
- BR: nvidia-texture-tools
[packages/0ad.git] / 0ad.spec
index c625fa07a1195e117c807420ddf1b8ff4a6b5265..d75e8239df9dc8e6aba13301a882b1e4d098a39e 100644 (file)
--- a/0ad.spec
+++ b/0ad.spec
@@ -8,7 +8,7 @@
 Summary:       Free, Open-Source, cross-platform RTS game of ancient warfare
 Name:          0ad
 Version:       %{svn_ver}
-Release:       0.%{svn_ver}.1
+Release:       0.alpha.1
 License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://releases.wildfiregames.com/%{name}-%{version}-alpha-unix-build.tar.xz
@@ -28,6 +28,7 @@ BuildRequires:        libpng-devel
 BuildRequires: libvorbis-devel
 BuildRequires: libxml2-devel
 BuildRequires: nasm
+BuildRequires: nvidia-texture-tools-devel
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 BuildRequires: python
@@ -51,20 +52,23 @@ sound, and a flexible and powerful custom-built game engine.
 %setup -q -n %{name}-%{version}-alpha
 
 # force link with libboost_*.so not libboost_*-mt.so
-#%%{__sed} -i 's,-mt,,g' build/premake/extern_libs.lua
+%{__sed} -i 's,-mt,,g' build/premake/extern_libs4.lua
 
 # use wx-gtk2-unicode-config instead of wx-config
-#%%{__sed} -i 's,wx-config,wx-gtk2-unicode-config,' build/premake/extern_libs.lua
+%{__sed} -i 's,wx-config,wx-gtk2-unicode-config,' build/premake/extern_libs4.lua
 
 %build
 export CFLAGS="%{rpmcflags}"
 export CPPFLAGS="%{rpmcxxflags}"
 cd build/workspaces
 ./update-workspaces.sh \
+       --with-system-enet \
+       --with-system-nvtt \
+       --with-system-mozjs185
 #      --verbose \
-       --bindir %{_bindir} \
-       --datadir %{_datadir}/%{name} \
-       --libdir %{_libdir}/%{name}
+#      --bindir %{_bindir} \
+#      --datadir %{_datadir}/%{name} \
+#      --libdir %{_libdir}/%{name}
 
 cd gcc
 %{__make} \
This page took 0.117081 seconds and 4 git commands to generate.