From 276298661d3187fcc0ac8c48416b5f7fb22a2b51 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Fri, 2 Jan 2009 14:50:19 -0800
Subject: Added libvisual packages and recompiled MythMusic for additional
 visualizations.

---
 abs/core-testing/mythtv/stable/mythmusic/PKGBUILD  |  6 +++---
 abs/extra-testing/libvisual-bmp/PKGBUILD           | 22 +++++++++++++++++++++
 abs/extra-testing/libvisual-plugins/PKGBUILD       | 23 ++++++++++++++++++++++
 .../libvisual-plugins/libvisual-plugins.install    | 22 +++++++++++++++++++++
 abs/extra-testing/libvisual-projectm/PKGBUILD      | 21 ++++++++++++++++++++
 abs/extra-testing/libvisual/PKGBUILD               | 21 ++++++++++++++++++++
 abs/extra-testing/projectm/PKGBUILD                | 21 ++++++++++++++++++++
 abs/extra-testing/projectm/projectm.install        | 13 ++++++++++++
 8 files changed, 146 insertions(+), 3 deletions(-)
 create mode 100644 abs/extra-testing/libvisual-bmp/PKGBUILD
 create mode 100644 abs/extra-testing/libvisual-plugins/PKGBUILD
 create mode 100644 abs/extra-testing/libvisual-plugins/libvisual-plugins.install
 create mode 100644 abs/extra-testing/libvisual-projectm/PKGBUILD
 create mode 100644 abs/extra-testing/libvisual/PKGBUILD
 create mode 100644 abs/extra-testing/projectm/PKGBUILD
 create mode 100644 abs/extra-testing/projectm/projectm.install

diff --git a/abs/core-testing/mythtv/stable/mythmusic/PKGBUILD b/abs/core-testing/mythtv/stable/mythmusic/PKGBUILD
index 02adcce..ad8d421 100644
--- a/abs/core-testing/mythtv/stable/mythmusic/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythmusic/PKGBUILD
@@ -4,13 +4,13 @@
 
 pkgname=mythmusic
 pkgver=0.21
-pkgrel=2
+pkgrel=4
 pkgdesc="Music playing plugin for MythTV"
 arch=('i686' 'x86_64')
 url="http://www.mythtv.org"
 license=('GPL')
 depends=("mythtv>=${pkgver}" 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \
-         'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib')
+         'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' 'libvisual-plugins')
 source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2")
 md5sums=('af20a78ac66719feddf9a39f1a799ded')
 groups=('mythtv-extras')
@@ -22,7 +22,7 @@ build() {
    # use QT3 qmake
    export PATH=$QTDIR/bin:$PATH
   ./configure --prefix=/usr --disable-all --enable-mythmusic --enable-fftw \
-    --enable-sdl --enable-aac --enable-opengl
+    --enable-sdl --enable-aac --enable-opengl --enable-libvisual
 
    qmake mythplugins.pro
    make qmake || return 1
diff --git a/abs/extra-testing/libvisual-bmp/PKGBUILD b/abs/extra-testing/libvisual-bmp/PKGBUILD
new file mode 100644
index 0000000..de1c5ce
--- /dev/null
+++ b/abs/extra-testing/libvisual-bmp/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 8896 2008-08-16 23:54:48Z eric $
+# Maintainer: damir <damir@archlinux.org>
+
+pkgname=libvisual-bmp
+provides=('bmp-libvisual')
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="bmp plugin for libvisual"
+arch=(i686 x86_64)
+url="http://libvisual.sourceforge.net/v2/"
+depends=('bmp' 'libvisual' 'libvisual-plugins' 'sdl')
+groups=('bmp-plugins' 'bmp-visualization-plugins')
+source=(http://dl.sourceforge.net/sourceforge/libvisual/$pkgname-$pkgver.tar.gz)
+md5sums=('1cb1b43c72fb24fb29d39163c1738ec3')
+
+build()
+{
+   cd $startdir/src/$pkgname-$pkgver
+        ./configure --prefix=/usr
+        make || return 1
+        make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/extra-testing/libvisual-plugins/PKGBUILD b/abs/extra-testing/libvisual-plugins/PKGBUILD
new file mode 100644
index 0000000..825c169
--- /dev/null
+++ b/abs/extra-testing/libvisual-plugins/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: damir <damir@archlinux.org>
+
+pkgname=libvisual-plugins
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="plugins for libvisual"
+arch=("i686" "x86_64")
+license=('GPL')
+url="http://www.localhost.nl/~synap/libvisual/"
+depends=('libvisual>=0.4.0' 'gtk2' 'mesa' 'alsa-lib' 'esd' 'jack-audio-connection-kit')
+makedepends=(pkgconfig)
+install=libvisual-plugins.install
+source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-plugins-${pkgver}.tar.gz")
+md5sums=('4330e9287f9d6fae02f482f428a1e77b')
+options=(!libtool)
+
+build() {
+  cd ${startdir}/src/${pkgname}-${pkgver}
+  ./configure --prefix=/usr  --enable-alsa --disable-gstreamer-plugin
+  make || return 1
+  make DESTDIR=${startdir}/pkg install
+}
diff --git a/abs/extra-testing/libvisual-plugins/libvisual-plugins.install b/abs/extra-testing/libvisual-plugins/libvisual-plugins.install
new file mode 100644
index 0000000..a04b64c
--- /dev/null
+++ b/abs/extra-testing/libvisual-plugins/libvisual-plugins.install
@@ -0,0 +1,22 @@
+post_install() {
+  cat << EOF
+
+==> libvisual-plugins has been built with support for "esd" and
+==> "jack-audio-connection-kit" input.
+==> If you want to use them, install them.
+
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  /bin/true
+}
+
+op=$1
+shift
+
+$op $*
diff --git a/abs/extra-testing/libvisual-projectm/PKGBUILD b/abs/extra-testing/libvisual-projectm/PKGBUILD
new file mode 100644
index 0000000..bbe6e9c
--- /dev/null
+++ b/abs/extra-testing/libvisual-projectm/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+pkgname=libvisual-projectm
+pkgver=0.99
+pkgrel=1
+pkgdesc="ProjectM XMMS plugin"
+arch=(i686)
+url="http://xmms-projectm.sourceforge.net"
+license="GPL"
+depends=('projectm' 'libvisual>=0.4.0' 'sdl')
+makedepends=('pkgconfig')
+options=(NOLIBTOOL)
+source=(http://puzzle.dl.sourceforge.net/sourceforge/xmms-projectm/libvisual-projectM-$pkgver.tar.bz2) 
+
+build() {
+  cd $startdir/src/libvisual-projectM
+  ./configure --prefix=/usr
+  make || return
+  make DESTDIR=$startdir/pkg install
+}
+md5sums=('be076af79aff508fb75241b061937c04')
diff --git a/abs/extra-testing/libvisual/PKGBUILD b/abs/extra-testing/libvisual/PKGBUILD
new file mode 100644
index 0000000..eb01e19
--- /dev/null
+++ b/abs/extra-testing/libvisual/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 8760 2008-08-16 05:23:46Z eric $
+# Maintainer: damir <damir@archlinux.org>
+
+pkgname=libvisual
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="abstraction library that comes between applications and audio visualisation plugins"
+arch=("i686" "x86_64")
+url="http://localhost.nl/~synap/libvisual/"
+depends=('glibc')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-$pkgver.tar.gz")
+md5sums=('f4e78547c79ea8a8ad111cf8b85011bb')
+
+build()
+{
+   cd $startdir/src/$pkgname-$pkgver
+   ./configure --prefix=/usr
+   make || return 1
+   make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/extra-testing/projectm/PKGBUILD b/abs/extra-testing/projectm/PKGBUILD
new file mode 100644
index 0000000..4baced2
--- /dev/null
+++ b/abs/extra-testing/projectm/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 8766 2008-08-16 05:30:47Z eric $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+pkgname=projectm
+pkgver=0.99
+pkgrel=2
+pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering"
+arch=(i686 x86_64)
+url="http://xmms-projectm.sourceforge.net"
+license="GPL"
+depends=('ftgl' 'glut')
+makedepends=('pkgconfig' 'xproto')
+install=projectm.install
+source=(http://downloads.sourceforge.net/sourceforge/projectm/libprojectM-$pkgver.tar.bz2)
+md5sums=('20dc0aa2af96340c3209c9795cc3217d')
+
+build() {
+  cd $startdir/src/libprojectM
+  ./configure --prefix=/usr
+  make || return
+  make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/extra-testing/projectm/projectm.install b/abs/extra-testing/projectm/projectm.install
new file mode 100644
index 0000000..a1e44dc
--- /dev/null
+++ b/abs/extra-testing/projectm/projectm.install
@@ -0,0 +1,13 @@
+post_install() {
+  echo ">> projectm has been split so that you additionally need to install:"
+  echo ">> xmms-projectm for xmms"
+  echo ">> libvisual-project for libvisual (like for amarok)"
+}
+
+post_upgrade() {
+  post_install
+}
+
+op=$1
+shift
+$op $*
-- 
cgit v0.12

