From 853acffdfdaafc5b2982cbac2a0e5adda28e6d6e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Aug 2011 23:14:30 +0000 Subject: Thu Aug 11 23:14:30 UTC 2011 --- extra/libvisual-plugins/PKGBUILD | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) (limited to 'extra/libvisual-plugins/PKGBUILD') diff --git a/extra/libvisual-plugins/PKGBUILD b/extra/libvisual-plugins/PKGBUILD index e6b7eeea0..604b8788e 100644 --- a/extra/libvisual-plugins/PKGBUILD +++ b/extra/libvisual-plugins/PKGBUILD @@ -1,22 +1,44 @@ -# $Id: PKGBUILD 63448 2010-01-17 14:53:27Z jgc $ +# $Id: PKGBUILD 135107 2011-08-10 10:33:28Z jgc $ # Maintainer: damir pkgname=libvisual-plugins pkgver=0.4.0 -pkgrel=3 +pkgrel=4 pkgdesc="plugins for libvisual" arch=("i686" "x86_64") license=('GPL') url="http://www.localhost.nl/~synap/libvisual/" -depends=('libvisual>=0.4.0' 'gtk2>=2.18.6' 'mesa>=7.7' 'alsa-lib' 'esound' 'jack-audio-connection-kit') -makedepends=(pkgconfig) -source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-plugins-${pkgver}.tar.gz") -md5sums=('4330e9287f9d6fae02f482f428a1e77b') +depends=('libvisual' 'gtk2' 'mesa' 'alsa-lib' 'jack') +makedepends=('pkgconfig' 'namcap') options=(!libtool) +source=(http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-plugins-${pkgver}.tar.gz + 02_64-bit_JESS_fix.patch + 03_build_against_gl_fixes.patch + 04_lv_analyzer_build_fix.patch + 05_fix_po.patch + 050_all_automagic.patch) +md5sums=('4330e9287f9d6fae02f482f428a1e77b' + 'f9cfb607bfcbfef60830fae4e7dc6963' + '116701408747dbb87dc134434478ebe2' + '01678a8f1584c76a44e59d81003a1109' + '6189b7427c4e11c8b8d6c6266d6a1629' + 'b50ae94c424a5f0af235deffa8451eb6') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --enable-alsa --disable-gstreamer-plugin || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + patch -Np1 -i "${srcdir}/02_64-bit_JESS_fix.patch" + patch -Np1 -i "${srcdir}/03_build_against_gl_fixes.patch" + patch -Np1 -i "${srcdir}/04_lv_analyzer_build_fix.patch" + patch -Np0 -i "${srcdir}/050_all_automagic.patch" + + autoreconf -fi + # Apply later as autoreconf overwrites po/Makefile.in.in + patch -Np1 -i "${srcdir}/05_fix_po.patch" + + ./configure --prefix=/usr \ + --disable-gstreamer-plugin \ + --disable-gforce \ + --disable-esd + make + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf