]> git.pld-linux.org Git - packages/0ad.git/blobdiff - 0ad.spec
- BR: nvidia-texture-tools
[packages/0ad.git] / 0ad.spec
index a61de7929ac9e7bd46b2cc6f616d723882d8fe23..d75e8239df9dc8e6aba13301a882b1e4d098a39e 100644 (file)
--- a/0ad.spec
+++ b/0ad.spec
@@ -4,15 +4,15 @@
 #      - try to make it runnable by non-privileged users (sth wrong with boost?)
 #      - fix problem with font finding
 #
-%define                svn_ver r10288
+%define                svn_ver r10803
 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
-# Source0-md5: 234f623b5fd576907da5a7314d6c61e9
+# Source0-md5: 92ac750c433a8aea4db602019b27a274
 URL:           http://wildfiregames.com/0ad/
 BuildRequires: DevIL-devel
 BuildRequires: OpenAL-devel
@@ -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 \
-       --verbose \
-       --bindir %{_bindir} \
-       --datadir %{_datadir}/%{name} \
-       --libdir %{_libdir}/%{name}
+       --with-system-enet \
+       --with-system-nvtt \
+       --with-system-mozjs185
+#      --verbose \
+#      --bindir %{_bindir} \
+#      --datadir %{_datadir}/%{name} \
+#      --libdir %{_libdir}/%{name}
 
 cd gcc
 %{__make} \
This page took 0.193391 seconds and 4 git commands to generate.