forked from bartvdbraak/blender
CMake: update pacman spec
This commit is contained in:
parent
3563276d70
commit
0d58608b44
@ -17,7 +17,7 @@ else
|
|||||||
blender_version_full=${blender_version}
|
blender_version_full=${blender_version}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
blender_ver_string=$blender_version+svn$blender_version_full
|
blender_ver_string=$blender_version+git$blender_version_full
|
||||||
|
|
||||||
pkgname=blender-snapshot
|
pkgname=blender-snapshot
|
||||||
pkgver=$blender_ver_string
|
pkgver=$blender_ver_string
|
||||||
@ -27,8 +27,8 @@ arch=('i686' 'x86_64')
|
|||||||
url="www.blender.org"
|
url="www.blender.org"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=()
|
groups=()
|
||||||
depends=('libjpeg' 'libpng' 'openjpeg' 'libtiff' 'openexr' 'python>=3.2' 'gettext' 'libxi' 'libxmu' 'mesa' 'freetype2' 'openal' 'sdl' 'libsndfile' 'ffmpeg')
|
depends=('libjpeg' 'libpng' 'openjpeg' 'libtiff' 'openexr' 'python>=3.4' 'gettext' 'libxi' 'libxmu' 'mesa' 'freetype2' 'openal' 'sdl' 'libsndfile' 'ffmpeg')
|
||||||
makedepends=('cmake' 'svn')
|
makedepends=('cmake' 'git')
|
||||||
optdepends=()
|
optdepends=()
|
||||||
provides=()
|
provides=()
|
||||||
conflicts=('blender')
|
conflicts=('blender')
|
||||||
@ -36,7 +36,7 @@ replaces=('blender')
|
|||||||
backup=()
|
backup=()
|
||||||
options=()
|
options=()
|
||||||
install=blender.install
|
install=blender.install
|
||||||
# use current svn to make the package.
|
# use current git to make the package.
|
||||||
# source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
|
# source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
|
||||||
# md5sums=('27edb80c82c25252d43d6a01980d953a') #generate with 'makepkg -g'
|
# md5sums=('27edb80c82c25252d43d6a01980d953a') #generate with 'makepkg -g'
|
||||||
source=()
|
source=()
|
||||||
@ -51,11 +51,7 @@ build() {
|
|||||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||||
-DWITH_INSTALL_PORTABLE:BOOL=OFF \
|
-DWITH_INSTALL_PORTABLE:BOOL=OFF \
|
||||||
-DWITH_PYTHON_INSTALL:BOOL=OFF \
|
-DWITH_PYTHON_INSTALL:BOOL=OFF \
|
||||||
-DWITH_OPENCOLLADA:BOOL=OFF \
|
-DWITH_OPENCOLLADA:BOOL=OFF
|
||||||
-DPYTHON_VERSION:STRING=3.2 \
|
|
||||||
-DPYTHON_LIBPATH:STRING=/usr/lib \
|
|
||||||
-DPYTHON_LIBRARY:STRING=python3.2mu \
|
|
||||||
-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2mu
|
|
||||||
|
|
||||||
make $MAKEFLAGS
|
make $MAKEFLAGS
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user