summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/sigil/PKGBUILD48
-rwxr-xr-xpcr/sigil/sigil.desktop12
-rw-r--r--pcr/sigil/sigil.install12
-rw-r--r--pcr/sltv/PKGBUILD33
-rw-r--r--pcr/sltv/sltv.install7
10 files changed, 347 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/sigil/PKGBUILD b/pcr/sigil/PKGBUILD
new file mode 100644
index 000000000..0d5802ac1
--- /dev/null
+++ b/pcr/sigil/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 59836 2011-11-30 22:56:23Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+# Contributor: Jorge Araya Navarro <jorgean@lavabit.com>
+
+pkgname=sigil
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="A WYSIWYG ebook editor"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/sigil/"
+license=('GPL3')
+depends=('qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-xmlpatterns' 'qt5-tools')
+makedepends=('cmake')
+provides=('sigil')
+conflicts=('sigil')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-0.7.2-Code.zip"
+ "sigil.desktop")
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake -G "Unix Makefiles" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON ..
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make install DESTDIR="${pkgdir}"
+
+ install -d -m 0755 "${pkgdir}"/usr/share/applications
+ install -m 0644 "${srcdir}"/sigil.desktop "${pkgdir}"/usr/share/applications
+
+ for _pic in 16 32 48 128 256; do
+ install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \
+ "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/sigil.png
+ done
+}
+sha256sums=('8a6f5fd7c59fd8524ce0f48e7d13d13bad137053c9071fe2e1653ea55d5ed940'
+ '92a1014794dbf81fa997449338ded9a0e84593e3552020eb9269039b916bea36')
diff --git a/pcr/sigil/sigil.desktop b/pcr/sigil/sigil.desktop
new file mode 100755
index 000000000..cdb4ce1b2
--- /dev/null
+++ b/pcr/sigil/sigil.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Sigil
+Comment=WYSIWYG ebook editor
+TryExec=sigil
+Exec=sigil %F
+Icon=sigil
+Terminal=false
+StartupNotify=false
+Categories=Application;Office;
+MimeType=application/epub+zip;
diff --git a/pcr/sigil/sigil.install b/pcr/sigil/sigil.install
new file mode 100644
index 000000000..ec506fa93
--- /dev/null
+++ b/pcr/sigil/sigil.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/sltv/PKGBUILD b/pcr/sltv/PKGBUILD
new file mode 100644
index 000000000..afb4990e5
--- /dev/null
+++ b/pcr/sltv/PKGBUILD
@@ -0,0 +1,33 @@
+# 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=(b5f9b2d7102ca0a4068ebe1783699764)
+
+build() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i "s_python_&2_" src/sltv.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
+}