diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/blender/PKGBUILD | 102 | ||||
-rw-r--r-- | community/blender/blender.install | 13 | ||||
-rw-r--r-- | community/calibre/PKGBUILD | 6 | ||||
-rw-r--r-- | community/clementine/PKGBUILD | 8 | ||||
-rw-r--r-- | community/cuda-toolkit/PKGBUILD | 43 | ||||
-rw-r--r-- | community/cuda-toolkit/cuda-toolkit.conf | 2 | ||||
-rw-r--r-- | community/cuda-toolkit/cuda-toolkit.install | 8 | ||||
-rwxr-xr-x | community/cuda-toolkit/cuda-toolkit.sh | 1 | ||||
-rw-r--r-- | community/espeak/PKGBUILD | 6 | ||||
-rw-r--r-- | community/ext4magic/PKGBUILD | 8 | ||||
-rw-r--r-- | community/opencollada/PKGBUILD | 67 | ||||
-rw-r--r-- | community/openimageio/PKGBUILD | 44 |
12 files changed, 294 insertions, 14 deletions
diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD new file mode 100644 index 000000000..fa2f7b8d0 --- /dev/null +++ b/community/blender/PKGBUILD @@ -0,0 +1,102 @@ +# $Id: PKGBUILD 145008 2011-12-14 03:12:03Z eric $ +# Contributor: John Sowiak <john@archlinux.org> +# Contributor: tobias <tobias@archlinux.org> +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> + +# Apparently, the blender guys refuse to release source tarballs for +# intermediate releases that deal mainly with binaries but incorporate tiny +# minor changes from svn. Since I'm sick and tired of the urges of users that +# look for release numbers only, we make a messy PKGBUILD that can checkout svn +# release if necessary. + +#_svn=true +_svn=false + +pkgname=blender +pkgver=2.61 +pkgrel=2 +epoch=3 +pkgdesc="A fully integrated 3D graphics creation suite" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.blender.org" +depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' \ + 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' \ + 'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada' 'openimageio') +makedepends=('cmake' 'boost' 'cuda-toolkit') +optdepends=('cuda-toolkit: cycles renderer cuda support') +options=(!strip) +install=blender.install +if [ $_svn = false ]; then + source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz) + md5sums=('11a4721ff92286f678bb2e05e5f29c97') +else + source=(ftp://ftp.archlinux.org/other/${pkgname}/$pkgname-$pkgver.tar.xz) + md5sums=('7579d1139d0d6025df8afcfca64a65c4') +fi + +# source PKGBUILD && mksource +mksource() { + [[ -x /usr/bin/svn ]] || (echo "svn not found. Install subversion." && return 1) + _svnver=38016 + _svntrunk="https://svn.blender.org/svnroot/bf-blender/trunk/blender" + _svnmod="$pkgname-$pkgver" + mkdir ${pkgname}-$pkgver + pushd ${pkgname}-$pkgver + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + find . -depth -type d -name .svn -exec rm -rf {} \; + tar -cJf ../${pkgname}-$pkgver.tar.xz ${pkgname}-$pkgver/* + popd +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + mkdir build + cd build + + [[ $CARCH == i686 ]] && ENABLESSE2="-DSUPPORT_SSE2_BUILD:BOOL=OFF" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DWITH_INSTALL_PORTABLE:BOOL=OFF \ + -DWITH_PYTHON_INSTALL:BOOL=OFF \ + -DWITH_OPENCOLLADA:BOOL=ON \ + -DOPENIMAGEIO_ROOT_DIR:STRING=/usr \ + -DWITH_GAMEENGINE:BOOL=ON \ + -DWITH_PLAYER:BOOL=ON \ + -DWITH_BUILTIN_GLEW:BOOL=OFF \ + -DWITH_CODEC_FFMPEG:BOOL=ON \ + -DWITH_CODEC_SNDFILE:BOOL=ON \ + -DWITH_CYCLES:BOOL=ON \ + -DWITH_CYCLES_CUDA_BINARIES:BOOL=ON \ + -DCUDA_TOOLKIT_ROOT_DIR:STRING=/opt/cuda-toolkit/ \ + -DWITH_FFTW3:BOOL=ON \ + -DWITH_MOD_OCEANSIM:BOOL=ON \ + -DPYTHON_VERSION:STRING=3.2 \ + -DPYTHON_LIBPATH:STRING=/usr/lib \ + -DPYTHON_LIBRARY:STRING=python3.2mu \ + -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2mu \ + $ENABLESSE2 + + make $MAKEFLAGS + + 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" + make DESTDIR="${pkgdir}" install + python -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/ +} diff --git a/community/blender/blender.install b/community/blender/blender.install new file mode 100644 index 000000000..724bfce00 --- /dev/null +++ b/community/blender/blender.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD index a1d0f4102..211411c5d 100644 --- a/community/calibre/PKGBUILD +++ b/community/calibre/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61189 2011-12-24 00:16:51Z giovanni $ +# $Id: PKGBUILD 61409 2011-12-30 12:30:52Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Petrov Roman <nwhisper@gmail.com> # Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com> pkgname=calibre -pkgver=0.8.32 +pkgver=0.8.33 pkgrel=1 pkgdesc="Ebook management application" arch=('i686' 'x86_64') @@ -21,7 +21,7 @@ install=calibre.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" 'desktop_integration.patch' 'calibre-mount-helper') -md5sums=('ee973514615fc104be7cc41adf0862a6' +md5sums=('042c9f9f54ad02d08668e6a010682752' '253ce4fe5d01f8ff76b63cd3825755ea' '675cd87d41342119827ef706055491e7') diff --git a/community/clementine/PKGBUILD b/community/clementine/PKGBUILD index cfb7bf0cb..db7adca77 100644 --- a/community/clementine/PKGBUILD +++ b/community/clementine/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 61276 2011-12-28 00:29:21Z stephane $ +# $Id: PKGBUILD 61430 2011-12-31 01:22:51Z stephane $ #Maintainer: Stéphane Gaudreault <stephane@archlinux.org> #Contributor: BlackEagle <ike.devolder@gmail.com> #Contributor: Dany Martineau <dany.luc.martineau@gmail.com> pkgname=clementine pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="A music player and library organizer" url="http://www.clementine-player.org/" license=('GPL') arch=('i686' 'x86_64') depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice' - 'qjson' 'libcdio' 'protobuf') + 'qjson' 'libcdio' 'protobuf' 'qca') makedepends=('cmake' 'boost') optdepends=('gstreamer0.10-base-plugins: for more open formats' 'gstreamer0.10-good-plugins: for use with "Good" plugin libraries' @@ -24,7 +24,7 @@ install=clementine.install build() { cd "${srcdir}/${pkgname}-${pkgver}" - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_REMOTE=ON make } diff --git a/community/cuda-toolkit/PKGBUILD b/community/cuda-toolkit/PKGBUILD new file mode 100644 index 000000000..e6e1c2aaf --- /dev/null +++ b/community/cuda-toolkit/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +pkgname=cuda-toolkit +pkgver=4.0.17 +pkgrel=2 +_fedver=13 +pkgdesc="NVIDIA's GPU programming toolkit" +arch=('i686' 'x86_64') + +url="http://www.nvidia.com/object/cuda_home.html" +license=('custom') +depends=('gcc-libs') +if [ "$CARCH" = "i686" ]; then + _arch=32 + md5sums=('20d69b2d5bb7043ca7c2ad679c2825ed' + '21b65dc8f1be42f2b42217b5f62963f2' + 'c0781c63e726eaf03e10135b42b85729') +else + _arch=64 + md5sums=('152e1069f39fc8bbece875a1b9f576b6' + '21b65dc8f1be42f2b42217b5f62963f2' + 'c0781c63e726eaf03e10135b42b85729') +fi +install=cuda-toolkit.install +source=(http://developer.download.nvidia.com/compute/cuda/4_0/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run + cuda-toolkit.sh + cuda-toolkit.conf) + +build() { + cd "$srcdir" +} + +package() { + cd "$srcdir" + + mkdir -p $pkgdir/opt/cuda-toolkit + sh cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run --keep -- --prefix=$pkgdir/opt/cuda-toolkit + + sed -i "/unsupported GNU/d" $pkgdir/opt/cuda-toolkit/include/host_config.h + + install -Dm755 cuda-toolkit.sh $pkgdir/etc/profile.d/cuda-toolkit.sh + install -Dm644 cuda-toolkit.conf $pkgdir/etc/ld.so.conf.d/cuda-toolkit.conf + install -Dm644 $pkgdir/opt/cuda-toolkit/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/community/cuda-toolkit/cuda-toolkit.conf b/community/cuda-toolkit/cuda-toolkit.conf new file mode 100644 index 000000000..0f55b39a7 --- /dev/null +++ b/community/cuda-toolkit/cuda-toolkit.conf @@ -0,0 +1,2 @@ +/opt/cuda-toolkit/lib64 +/opt/cuda-toolkit/lib diff --git a/community/cuda-toolkit/cuda-toolkit.install b/community/cuda-toolkit/cuda-toolkit.install new file mode 100644 index 000000000..4e1a1a6b7 --- /dev/null +++ b/community/cuda-toolkit/cuda-toolkit.install @@ -0,0 +1,8 @@ +post_install() { + echo "You need to relogin in order for the cuda-toolkit binaries to appear in your path." + post_upgrade +} + +post_upgrade() { + ldconfig -r . +} diff --git a/community/cuda-toolkit/cuda-toolkit.sh b/community/cuda-toolkit/cuda-toolkit.sh new file mode 100755 index 000000000..5609299b6 --- /dev/null +++ b/community/cuda-toolkit/cuda-toolkit.sh @@ -0,0 +1 @@ +PATH="/opt/cuda-toolkit/bin:$PATH" diff --git a/community/espeak/PKGBUILD b/community/espeak/PKGBUILD index e07c5e235..5611a89e1 100644 --- a/community/espeak/PKGBUILD +++ b/community/espeak/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 56889 2011-10-16 05:47:23Z bpiotrowski $ +# $Id: PKGBUILD 61395 2011-12-30 08:21:47Z bpiotrowski $ # Maintainer: Mateusz Herych <heniekk@gmail.com> # Contributor: niQo # Contributor: Christoph Siegenthaler <csi@gmx.ch> pkgname=espeak -pkgver=1.45.05 +pkgver=1.46.01 pkgrel=1 pkgdesc="Text to Speech engine for good quality English, with support for other languages" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ url="http://espeak.sourceforge.net/" license=('GPL') depends=('gcc-libs' 'portaudio') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-source.zip) -md5sums=('00692552d54f1849a1a0ad21ae3fc820') +md5sums=('a3e9de4b2a56ec19c059115dca587494') build() { cd $srcdir/$pkgname-$pkgver-source/src diff --git a/community/ext4magic/PKGBUILD b/community/ext4magic/PKGBUILD index 424fe129f..60b39ffdc 100644 --- a/community/ext4magic/PKGBUILD +++ b/community/ext4magic/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 59609 2007-01-01 00:07:53Z seblu $ +# $Id: PKGBUILD 61407 2011-12-30 10:27:27Z seblu $ # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> pkgname=ext4magic -pkgver=0.2.3 -pkgrel=2 +pkgver=0.2.4 +pkgrel=1 pkgdesc='Linux admin tool, can help to recover deleted or overwritten files on ext3 and ext4 filesystems' arch=('i686' 'x86_64') url='http://developer.berlios.de/projects/ext4magic/' license=('GPL2') depends=('util-linux' 'e2fsprogs') source=("http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('b23ecf9dccc8b597fbbe2d149d0c08ac') +md5sums=('460b6642ee050d02b87395cc3ac6d4b6') build() { cd $pkgname-$pkgver diff --git a/community/opencollada/PKGBUILD b/community/opencollada/PKGBUILD new file mode 100644 index 000000000..7a94ea7c1 --- /dev/null +++ b/community/opencollada/PKGBUILD @@ -0,0 +1,67 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Liganic <liganic-aur@gmx.net> +pkgname=opencollada +pkgver=864 +pkgrel=1 +pkgdesc="Stream based reader and writer library for COLLADA files" +arch=(i686 x86_64) +url="https://code.google.com/p/opencollada/" +license=('GPL') +depends=('libxml2') +makedepends=('subversion' 'ruby' 'cmake') +options=(!libtool !strip) + +_svntrunk=http://opencollada.googlecode.com/svn/trunk/ +_svnmod=opencollada + +build() { + cd "$srcdir" + msg "Connecting to SVN server...." + + if [[ -d "$_svnmod/.svn" ]]; then + (cd "$_svnmod" && svn up -r "$pkgver") + else + svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod" + fi + + msg "SVN checkout done or server timeout" + msg "Starting build..." + + _builddir="$srcdir/$_svnmod-build" + + rm -rf $_builddir + cp -r "$srcdir/$_svnmod" $_builddir + cd $_builddir + + mkdir cmake + cd cmake + cmake ../ + cd $_builddir/cmake + make + +# cd scripts/ +# chmod +x unixbuild.sh +# ./unixbuild.sh $pkgdir/usr/ +} + +package() { + _builddir="$srcdir/$_svnmod-build" +# sed -i "s/libdir='.*'/libdir=\'\/usr\/lib\'/" $pkgdir/usr/lib/*.la* + +# Headers + rm -rf `find $_builddir -type d -name .svn` + mkdir -p $pkgdir/usr/include/opencollada/ + cd $_builddir + _include_dirs=$(find . -type d -name include -and -not -path '*Externals*' -print) + for dir in $_include_dirs;do + mkdir -p $pkgdir/usr/include/opencollada/${dir} + cp -r ${dir}/* $pkgdir/usr/include/opencollada/${dir}/.. + done + + rm -rf $pkgdir/usr/include/opencollada/generated* + + cp -r $_builddir/cmake/lib/ $pkgdir/usr/ + cp -r $_builddir/cmake/bin/ $pkgdir/usr/ +} + +# vim:set ts=2 sw=2 et: diff --git a/community/openimageio/PKGBUILD b/community/openimageio/PKGBUILD new file mode 100644 index 000000000..63285dd4b --- /dev/null +++ b/community/openimageio/PKGBUILD @@ -0,0 +1,44 @@ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> + +_pkg=OpenImageIO +pkgname=openimageio +pkgver=0.10.4 +pkgrel=1 +pkgdesc="A library for reading and writing images, including classes, utilities, and applications." +arch=(i686 x86_64) +url="http://www.openimageio.org/" +license=('custom') +depends=('openexr' 'boost-libs' 'jasper' 'glew') +makedepends=('cmake' 'qt' 'python2' 'boost') +optdepends=('qt: iv image viewer' 'python2: bindings support') +source=("https://github.com/$_pkg/oiio/tarball/Release-${pkgver/_/-}") +md5sums=('08a1bc2b82862ad5547bba569f4f633f') + +build() { + cd "$srcdir"/$_pkg* + + # remove insecure rpath + sed -i "/RPATH/d" src/CMakeLists.txt + + make +} + +package() { + cd "$srcdir"/$_pkg*/dist/* + + # prepare dirs + install -d "$pkgdir"/usr/{share/doc/$_pkg,lib/python2.7/site-packages} + + # bin + cp -r bin include lib "$pkgdir/usr" + + # docs + cp -r doc/* "$pkgdir/usr/share/doc/$_pkg" + + # python module + cp -r python/* "$pkgdir/usr/lib/python2.7/site-packages" + + # license + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |