|
|
@@ -24,7 +24,7 @@
|
|
|
##
|
|
|
|
|
|
# FIXME: rse: -pthread is not portable enough
|
|
|
-# FIXME: rse: still finds python although shouldn't harm, I think
|
|
|
+# FIXME: rse: fails to compile because -lSDL is not taken over -- needs Makefile hacking
|
|
|
|
|
|
# package information
|
|
|
Name: blender
|
|
|
@@ -35,8 +35,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [JUNK]
|
|
|
Group: Graphics
|
|
|
License: GPL
|
|
|
-Version: 2.27
|
|
|
-Release: 20030707
|
|
|
+Version: 2.28c
|
|
|
+Release: 20031014
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://download.blender.org/source/blender-%{version}.tar.bz2
|
|
|
@@ -46,8 +46,8 @@ Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, python
|
|
|
PreReq: OpenPKG, openpkg >= 20030103, X11, python
|
|
|
-BuildPreReq: openssl, zlib, png, jpeg, freetype
|
|
|
-PreReq: openssl, zlib, png, jpeg, freetype
|
|
|
+BuildPreReq: openssl, zlib, png, jpeg, freetype, sdl
|
|
|
+PreReq: openssl, zlib, png, jpeg, freetype, sdl
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -62,9 +62,9 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc} -pthread" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="%{l_cppflags} -I`%{l_prefix}/etc/rc --query x11_incdir`" \
|
|
|
- LDFLAGS="%{l_ldflags} -L`%{l_prefix}/etc/rc --query x11_libdir`" \
|
|
|
- LIBS="-lm" \
|
|
|
+ CPPFLAGS="%{l_cppflags SDL python .} -I`%{l_prefix}/etc/rc --query x11_incdir`" \
|
|
|
+ LDFLAGS="%{l_ldflags python/config .} -L`%{l_prefix}/etc/rc --query x11_libdir`" \
|
|
|
+ LIBS="-lSDL -lm" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-ssl=%{l_prefix} \
|
|
|
@@ -72,7 +72,8 @@ AutoReqProv: no
|
|
|
--with-libjpeg=%{l_prefix} \
|
|
|
--with-libpng=%{l_prefix} \
|
|
|
--with-libz=%{l_prefix} \
|
|
|
- --disable-exppython \
|
|
|
+ --with-sdl-prefix=%{l_prefix} \
|
|
|
+ --disable-openal \
|
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|