summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rwxr-xr-xlibre/blender-libre/PKGBUILD56
-rw-r--r--libre/gst-plugins-bad-libre/PKGBUILD83
2 files changed, 121 insertions, 18 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index 8a4d79dd9..396706459 100755
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -1,11 +1,24 @@
# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=blender-libre
+spacenav=false
+pkgbase=blender-libre
+pkgflag=-libre
+if [ $spacenav == true ]; then
+ pkgname=(
+ blender-spacenav-libre
+ )
+ spndesc=' (with spacenav support)'
+else
+ pkgname=(
+ blender-libre
+ )
+ spndesc=''
+fi
+pkgdesc="A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support$spndesc"
pkgver=2.64a
pkgrel=3
pkgaev=5
-pkgdesc='A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support'
arch=(
i686
x86_64
@@ -14,9 +27,10 @@ arch=(
license=(
GPL
)
-url=http://www.${pkgname%-libre}.org
+url="http://www.${pkgbase%$pkgflag}.org"
depends=(
- # rbd tree #
+ # used by ldd software "glibc package software"
+ # dependencies tree of binaries software (root) #
ffmpeg
fftw
freetype2
@@ -26,14 +40,14 @@ depends=(
openal
openimageio
opencolorio
- # bed #
+ # external softwares dependencies #
opencollada
- # ded #
+ # softwares dependencies for desktop files and mime types #
desktop-file-utils
hicolor-icon-theme
shared-mime-info
xdg-utils
- # cbd tree #
+ # dependencies tree of binaries software (child) #
#alsa-lib
#boost-libs
#bzip2
@@ -93,35 +107,41 @@ depends=(
#v4l-utils
#zlib
)
+if [ $spacenav == true ]; then
+ depends+=(
+ # dependencies tree of binaries software (root) #
+ libspnav
+ )
+fi
optdepends=(
'bullet: for Physics Simulation in BGE'
)
makedepends=(
- # rmd tree #
+ # make dependencies tree (root) #
boost
cmake
mesa
subversion
)
-replaces=(
- ${pkgname%-libre}
+provides=(
+ ${pkgbase%$pkgflag}=$pkgaev:$pkgver
)
conflicts=(
- ${pkgname%-libre}
+ ${pkgbase%$pkgflag}
)
-provides=(
- ${pkgname%-libre}=$pkgaev:$pkgver
+replaces=(
+ ${pkgbase%$pkgflag}
)
-install=$pkgname.install
+install=$pkgbase.install
source=(
- http://download.${pkgname%-libre}.org/source/${pkgname%-libre}-$pkgver.tar.gz
+ "http://download.${pkgbase%$pkgflag}.org/source/${pkgbase%$pkgflag}-$pkgver.tar.gz"
)
sha512sums=(
77d171a36f1c87a82613ed7601df9cef444069a2a6600e05260607e9a2009c292068a2b4753f3cbd53d820cdc8d9ed88ddd1685f20647b943f75bfbeb905b9b5
)
build() {
- cd "$srcdir/${pkgname%-libre}-$pkgver"
+ cd $srcdir/${pkgbase%$pkgflag}-$pkgver
mkdir build
cd build
@@ -157,7 +177,7 @@ build() {
}
package() {
- cd $srcdir/${pkgname%-libre}-$pkgver/build
+ cd $srcdir/${pkgbase%$pkgflag}-$pkgver/build
make DESTDIR=$pkgdir install
- python -m compileall $pkgdir/usr/share/blender
+ python -m compileall $pkgdir/usr/share/${pkgbase%$pkgflag}
}
diff --git a/libre/gst-plugins-bad-libre/PKGBUILD b/libre/gst-plugins-bad-libre/PKGBUILD
new file mode 100644
index 000000000..2e0658cfb
--- /dev/null
+++ b/libre/gst-plugins-bad-libre/PKGBUILD
@@ -0,0 +1,83 @@
+# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgbase=gst-plugins-bad
+pkgname=gst-plugins-bad-libre
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='GStreamer Multimedia Framework Bad Plugins, without nonfree faac support'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=(
+ LGPL
+)
+url="http://gstreamer.freedesktop.org/"
+depends=(
+ celt
+ chromaprint
+ curl
+ faad2
+ gst-plugins-base-libs
+ libdca
+ libdvdnav
+ libgme
+ libmms
+ libmodplug
+ mjpegtools
+ mpg123
+ opus
+ soundtouch
+ spandsp
+)
+makedepends=(
+ libdvdread
+ libexif
+ libmpeg2
+ libvdpau
+ schroedinger
+)
+provides=(
+ $pkgbase=$pkgver
+)
+conflicts=(
+ $pkgbase
+)
+replaces=(
+ $pkgbase
+)
+options=(
+ '!libtool'
+ '!emptydirs'
+)
+source=(
+ "$url/src/$pkgbase/$pkgbase-$pkgver.tar.xz"
+)
+sha256sums=(
+ 9e503305799a2b6eb9d0b77c59b8aa8bbe9e6eb815a0635bd013560c73996579
+)
+
+build() {
+ cd $pkgbase-$pkgver
+ sed -i '/AC_PATH_XTRA/d' configure.ac
+ autoreconf
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-experimental \
+ --with-package-name='GStreamer Bad Plugins Libre (Parabola)' \
+ --with-package-origin='http://www.parabolagnulinux.org/' \
+ --with-gtk=3.0
+ make
+}
+
+check() {
+ cd $pkgbase-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgbase-$pkgver
+ make DESTDIR=$pkgdir install
+}