summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/collada-dom/PKGBUILD48
-rw-r--r--pcr/gstreamer-hplugins/PKGBUILD30
-rw-r--r--pcr/mitsuba/PKGBUILD133
-rw-r--r--pcr/mitsuba/blender-addon-mitsuba.install11
-rw-r--r--pcr/mitsuba/mitsuba.install13
-rw-r--r--pcr/oggfwd/PKGBUILD21
-rw-r--r--pcr/pngcrush/PKGBUILD26
-rw-r--r--pcr/sltv/PKGBUILD32
-rw-r--r--pcr/sltv/PKGBUILD.new32
-rw-r--r--pcr/sltv/sltv.install7
10 files changed, 353 insertions, 0 deletions
diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD
new file mode 100644
index 000000000..ebcc90448
--- /dev/null
+++ b/pcr/collada-dom/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=collada-dom
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document"
+url=http://sourceforge.net/projects/$pkgname
+license=MIT
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+depends=(
+ boost-libs
+ libxml2
+ pcre
+)
+makedepends=(
+ boost
+ cmake
+)
+source=http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz
+sha512sums=4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver-libsrc
+
+ [[ -d build ]] && rm -r build
+ mkdir build
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver-libsrc/build
+ setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver-libsrc/build
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ a=$pkgdir/usr/share/licenses/$pkgname
+
+ install -d $a && cp -a ../{dom/license.txt,License_Folder/license_e.txt} $a
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/gstreamer-hplugins/PKGBUILD b/pcr/gstreamer-hplugins/PKGBUILD
new file mode 100644
index 000000000..c8ec92cd2
--- /dev/null
+++ b/pcr/gstreamer-hplugins/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=gstreamer-hplugins
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Gstreamer cairo image overlay plugin"
+arch=(i686 x86_64)
+url="http://landell.holoscopio.com/"
+license=('GPL3')
+depends=('cairo' 'gstreamer0.10-base-plugins')
+options=('!libtool')
+source=("$url$pkgname-$pkgver.tar.gz")
+md5sums=('3129cfe6d59ad7bcf20000d2965d8652')
+
+build() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
new file mode 100644
index 000000000..bc9600e25
--- /dev/null
+++ b/pcr/mitsuba/PKGBUILD
@@ -0,0 +1,133 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=(
+ mitsuba
+ blender-addon-mitsuba
+)
+_bldname=${pkgname[1]::7}
+_addname=${pkgname[0]}-${_bldname}
+pkgver=0.4.4 # Thu Feb 28 15:00:37 2013 -0800 tag:v0.4.4 rev:1674
+_pkgdat=20130228
+_pkgrev=1674
+_bldver=2.66
+_addver=0.2.1 # Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/${pkgname[0]}/__init__.py:bl_info>version)
+_adddat=20130320
+_addrev=40
+_bldep=7
+_pyver=3.3
+pkgrel=1
+pkgdesc='A physically based renderer'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=https://${pkgname[0]}-renderer.org/
+license=GPL3
+depends=(
+ boost-libs
+ collada-dom
+ glew
+ libxxf86vm
+ 'openexr=2.0.0'
+ qt4
+ xerces-c
+)
+optdepends=(
+ 'python: Python bindings'
+ "${pkgname[1]}: ${_bldname^} addon exporter and renderer"
+)
+makedepends=(
+ boost
+ cmake
+ eigen3
+ mercurial
+ python
+)
+install=$pkgname.install
+source=(
+ hg+https://${pkgname[0]}-renderer.org/hg/${pkgname[0]}
+ hg+https://${pkgname[0]}-renderer.org/hg/$_addname
+ ${pkgname[1]}.install
+)
+sha512sums=(SKIP SKIP SKIP)
+
+prepare() {
+ mv $srcdir/${pkgname[1]}.install $startdir
+
+ cd $srcdir/${pkgname[0]}
+
+ [[ -d build ]] && rm -r build
+ mkdir build
+
+ cd $startdir/../srcdest/${pkgname[0]}
+
+ msg "${pkgname[0]}"
+ hg update -c v$pkgver
+ hg log -l 1 -r v$pkgver
+
+ cd $startdir/../srcdest/$_addname
+
+ msg "${pkgname[1]}"
+ hg update -c -r $_addrev
+ hg log -l 1 -r $_addrev
+}
+
+build() {
+ cd $srcdir/${pkgname[0]}/build
+
+ [[ $CARCH == i686 ]] && DMTS_SSE='-DMTS_SSE=OFF'
+
+ setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
+ $DMTS_SSE\
+ -DBoost_PYTHON_LIBRARY=/usr/lib/libboost_python${_pyver::1}.so\
+ -DPYTHON_INCLUDE_DIR=/usr/include/python${_pyver}m\
+ -DPYTHON_LIBRARY=/usr/lib/libpython${_pyver}m.so
+
+ setarch $CARCH make
+}
+
+package_mitsuba() {
+ cd $srcdir/${pkgname[0]}/build
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ #fixing files and folders location
+ a=$pkgdir/usr
+ b=$srcdir/${pkgname[0]}
+ install -d $a/{bin,lib{,/python$_pyver/lib-dynload},share/{applications,{licenses/,}${pkgname[0]},pixmaps}}
+ install -m644 $b/data/linux/${pkgname[0]}.desktop $a/share/applications
+ install -m644 $b/src/mtsgui/resources/${pkgname[0]}48.png $a/share/pixmaps
+ install -m644 $b/doc/license.txt $a/share/licenses/${pkgname[0]}/LICENSE
+ mv $a/{m{itsuba,ts{gui,import,srv,util}},bin}
+ mv $a/lib{${pkgname[0]}-{bidir,core,hw,render}.so,}
+ mv $a/{{data,plugins},share/${pkgname[0]}}
+ mv $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
+ mv $a/{sdk/include,}
+ rmdir $a/{python,sdk}
+}
+
+package_blender-addon-mitsuba() {
+ _pkgname=${pkgname:14}
+ _pkgver=$pkgver
+ pkgver=$_addver.r$_addrev.v$_bldver
+ pkgdesc="A addon for the ${_bldname^} which allows render and export with Mitsuba (built for the $_bldname-libre package)"
+ arch=any
+ depends=(
+ $_pkgname=$_pkgver
+ "$_bldname>=$(($_bldep-1)):$_bldver"
+ "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
+ )
+ optdepends=
+ install=$pkgname.install
+
+ cd $srcdir/$_addname
+
+ a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
+ b=$pkgdir/usr/share/licenses/$pkgname
+ c=$srcdir/$_pkgname/doc/license.txt
+
+ install -d $a && cp -a $_pkgname $a
+ install -d $b && install -m644 $c $b/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/mitsuba/blender-addon-mitsuba.install b/pcr/mitsuba/blender-addon-mitsuba.install
new file mode 100644
index 000000000..41d69870d
--- /dev/null
+++ b/pcr/mitsuba/blender-addon-mitsuba.install
@@ -0,0 +1,11 @@
+post_install() {
+ cat << EOF
+## Please type "/usr/bin" in
+## "Mitsuba Engine Settings" > "Executable path:" option
+## to correct fuction.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/pcr/mitsuba/mitsuba.install b/pcr/mitsuba/mitsuba.install
new file mode 100644
index 000000000..724bfce00
--- /dev/null
+++ b/pcr/mitsuba/mitsuba.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/pcr/oggfwd/PKGBUILD b/pcr/oggfwd/PKGBUILD
new file mode 100644
index 000000000..5dd9e4680
--- /dev/null
+++ b/pcr/oggfwd/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: farid abdelnour < farid at atelier-labs.org>
+
+pkgname=oggfwd
+pkgver=0.2
+pkgrel=2
+pkgdesc="pipes an ogg stream to an icecast server"
+arch=('i686' 'x86_64')
+url="http://v2v.cc/~j/oggfwd/"
+license=('GPL')
+source=(http://www.v2v.cc/~j/ffmpeg2theora/oggfwd/oggfwd.tar.gz)
+md5sums=('8402d26a5a8ff318ef6ea01ec146c8cc')
+depends=(libshout)
+
+build () {
+ cd $srcdir/$pkgname
+ make clean || return 1
+ make oggfwd || return 1
+ install -d $pkgdir/usr/bin || return 1
+ install -m755 oggfwd $pkgdir/usr/bin/oggfwd || return 1
+}
+
diff --git a/pcr/pngcrush/PKGBUILD b/pcr/pngcrush/PKGBUILD
new file mode 100644
index 000000000..a4ac8b5cb
--- /dev/null
+++ b/pcr/pngcrush/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=pngcrush
+pkgver=1.7.58
+pkgrel=1
+pkgdesc="A tool for optimizing the compression of PNG files"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://pmt.sourceforge.net/"
+license=('custom')
+depends=('libpng' 'zlib')
+source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver-nolib.tar.xz)
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver-nolib
+ sed -n '10,17s/^\s*//p' cexcept.h > LICENSE.cexcept.txt
+ sed -rn '97,142s/ \* ?//p' pngcrush.c > LICENSE.pngcrush.txt
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver-nolib
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 LICENSE.cexcept.txt "$pkgdir"/usr/share/licenses/$pkgname/cexcept.txt
+ install -Dm644 LICENSE.pngcrush.txt "$pkgdir"/usr/share/licenses/$pkgname/pngcrush.txt
+}
+md5sums=('aa09aa8a65999ba522e5735ed0ad6a1a')
diff --git a/pcr/sltv/PKGBUILD b/pcr/sltv/PKGBUILD
new file mode 100644
index 000000000..0669c5110
--- /dev/null
+++ b/pcr/sltv/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: farid abdelnour <farid at archlinux-br.org>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Wille Marcel <wille at wille.blog.br>
+
+pkgname=sltv
+pkgver=0.91
+pkgrel=1
+pkgdesc="An audio and video streamer that receives streams from several sources (V4L2, Firewire, ALSA, Pulseaudio, files...) and sends a stream using Icecast or to files (Vorbis+Theora)."
+arch=('any')
+url="http://sltv.holoscopio.com"
+license=('GPL')
+depends=('pygtk' 'python2-configobj' 'gstreamer0.10-python' 'gstreamer-hplugins' 'gstreamer0.10-bad' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg' 'python2' 'gstreamer0.10' 'gstreamer0.10-base' )
+install="$pkgname.install"
+source=("http://sltv.holoscopio.com/$pkgname-$pkgver.tar.gz")
+md5sums=(b5f9b2d7102ca0a4068ebe1783699764)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i "s#python#python2#" src/sltv.in
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/sltv/PKGBUILD.new b/pcr/sltv/PKGBUILD.new
new file mode 100644
index 000000000..9a3f6b6a8
--- /dev/null
+++ b/pcr/sltv/PKGBUILD.new
@@ -0,0 +1,32 @@
+# Maintainer: farid abdelnour <farid at archlinux-br.org>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Wille Marcel <wille at wille.blog.br>
+
+pkgname=sltv
+pkgver=0.92
+pkgrel=1
+pkgdesc="An audio and video streamer that receives streams from several sources (V4L2, Firewire, ALSA, Pulseaudio, files...) and sends a stream using Icecast or to files (Vorbis+Theora)."
+arch=('any')
+url="http://sltv.holoscopio.com"
+license=('GPL')
+depends=('pygtk' 'python2-configobj' 'gstreamer0.10-python' 'gstreamer-hplugins' 'gstreamer0.10-bad' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg' 'python2' 'gstreamer0.10' 'gstreamer0.10-base' )
+install="$pkgname.install"
+source=("http://sltv.holoscopio.com/$pkgname-$pkgver.tar.gz")
+md5sums=(a1dc9a09b29b817e74f87d673aff2310)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i "s#python#python2#" src/landell.in
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/sltv/sltv.install b/pcr/sltv/sltv.install
new file mode 100644
index 000000000..16b4ff953
--- /dev/null
+++ b/pcr/sltv/sltv.install
@@ -0,0 +1,7 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}