mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 15:47:20 +08:00
Rebuilt Blender against OpenAL 1.14.
This commit is contained in:
parent
9157df8149
commit
f54eb968b1
@ -1,30 +1,26 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# maintainer (x86_64): Mateusz Krawczuk <willingmagic[at]gmail[dot]com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer : Mateusz Krawczuk <willingmagic[at]gmail[dot]com>
|
||||
|
||||
pkgname=blender
|
||||
pkgver=2.62
|
||||
pkgver=2.63.1
|
||||
_pkgver=2.63a
|
||||
pkgrel=2
|
||||
pkgdesc="A fully integrated 3D graphics creation suite"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://www.blender.org"
|
||||
depends=('libpng' 'libtiff' 'openexr' 'sdl' 'python3' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' 'libxi' 'libxmu'
|
||||
'mesa' 'freetype2' 'openal' 'libsndfile' 'libsamplerate' 'ffmpeg' 'fftw')
|
||||
'mesa' 'freetype2' 'openal' 'libsndfile' 'libsamplerate' 'ffmpeg' 'fftw' 'openimageio')
|
||||
makedepends=('cmake' 'jack')
|
||||
categories=('graphics')
|
||||
screenshot=('http://www.blender.org/index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2Fblender_screenshot3_03.png&width=800m&height=600m&bodyTag=%3Cbody%20style%3D%22margin%3A0%3B%20background%3A%23fff%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=cddc8ef0fbe1e90d0d22e78b4911860b')
|
||||
install=blender.install
|
||||
source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('f2357584a5081b03f6e60ba3efe2a610')
|
||||
source=(http://download.blender.org/source/$pkgname-$_pkgver.tar.gz)
|
||||
md5sums=('31a60b3ce5466d965cb7e2648995e092')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
@ -39,7 +35,7 @@ build() {
|
||||
-DWITH_OPENCOLLADA:BOOL=OFF \
|
||||
-DWITH_GAMEENGINE:BOOL=ON \
|
||||
-DWITH_PLAYER:BOOL=ON \
|
||||
-DWITH_BUILTIN_GLEW:BOOL=OFF \
|
||||
-DWITH_BUILTIN_GLEW:BOOL=On \
|
||||
-DWITH_CODEC_FFMPEG:BOOL=ON \
|
||||
-DPYTHON_VERSION:STRING=3.2 \
|
||||
-DPYTHON_LIBPATH:STRING=/usr/lib \
|
||||
@ -49,22 +45,22 @@ build() {
|
||||
|
||||
make $MAKEFLAGS
|
||||
|
||||
cp -rf "$srcdir"/${pkgname}-$pkgver/release/plugins/* \
|
||||
"$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/
|
||||
cd "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi
|
||||
cp -rf "$srcdir"/${pkgname}-$_pkgver/release/plugins/* \
|
||||
"$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/
|
||||
cd "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi
|
||||
chmod 755 bmake
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver/build"
|
||||
cd "$srcdir/$pkgname-$_pkgver/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
python3 -m compileall "${pkgdir}/usr/share/blender"
|
||||
|
||||
# install plugins
|
||||
install -d -m755 "$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/{sequence,texture}
|
||||
cp "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/sequence/*.so \
|
||||
"$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/sequence/
|
||||
cp "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/texture/*.so \
|
||||
"$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/texture/
|
||||
install -d -m755 "$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/{sequence,texture}
|
||||
cp "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/sequence/*.so \
|
||||
"$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/sequence/
|
||||
cp "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/texture/*.so \
|
||||
"$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/texture/
|
||||
}
|
||||
|
@ -24,4 +24,4 @@ post_remove() {
|
||||
update-desktop-database -q
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user