Commit d9451549 authored by abveritas's avatar abveritas

updates to blender, kradio, build for the sound update

parent 79235d02
......@@ -9,22 +9,21 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=blender
pkgver=2.60.1
_pkgver=2.60a
pkgrel=2
pkgver=2.62
pkgrel=1
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' 'directfb')
makedepends=('cmake' 'jack')
install=blender.install
source=(http://download.blender.org/source/$pkgname-$_pkgver.tar.gz)
md5sums=('cc7e4a56c9f7941c33c958ff0338f9a6')
source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
md5sums=('f2357584a5081b03f6e60ba3efe2a610')
build() {
cd "$srcdir/$pkgname-$_pkgver"
cd "$srcdir/$pkgname-$pkgver"
mkdir -p build
cd build
......@@ -49,22 +48,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/
}
......@@ -4,35 +4,31 @@
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kradio
_pkgname=kradio4
pkgver=4.0.1
_pkgver=4.0.1-rc1
pkgname=kradio
pkgver=4.0.3
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
pkgdesc="KRadio is a comfortable KDE radio application"
pkgdesc="KRadio is a comfortable KDE radio application."
url="http://kradio.sourceforge.net/"
depends=('lame' 'kdelibs' 'libsndfile' 'lirc-utils' 'libmms')
makedepends=('automoc4' 'cmake')
#options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$_pkgname-$_pkgver.tar.bz2)
md5sums=('a5ae4dd6b95a595ff71571e39f8acd94')
depends=('lame' 'kde-runtime' 'libsndfile' 'lirc-utils' 'libmms' 'ffmpeg')
makedepends=('pkgconfig' 'automoc4')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/kradio/kradio4-$pkgver.tar.bz2{,.asc})
md5sums=('f495ce341150ab04515d217bd8c36a32'
'42259fac62e427b8c86b7a5e5d4b18bf')
build() {
cd $srcdir/$_pkgname-$_pkgver
mkdir build && cd build
cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make || return 1
cd "$srcdir"
mkdir build
cd build
cmake ../${pkgname}4-$pkgver -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $srcdir/$_pkgname-$_pkgver/build
make DESTDIR=$pkgdir install
# Changing executable name.
mv $pkgdir/usr/bin/$_pkgname $pkgdir/usr/bin/$pkgname
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment