# vim: set syn=sh: # Packager: Phill Watkins pkgname=vlc-plugins-pulse pkgver=1.1.7 pkgrel=1pw #arch=noarch source=("http://download.videolan.org/pub/vlc/$pkgver/vlc-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/xap/$pkgname docs=("AUTHORS" "ChangeLog" "COPYING" "MAINTAINERS" "NEWS" "README" "THANKS") url=http://www.videolan.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "vlc-plugins-pulse (Pulseaudio plugin for the VLC multimedia player)" "This package contains the pulseaudio plugin for VLC." ) build() { set -e # -march=x86_64 is not allowed, so... if [ "$arch" = "x86_64" ]; then TUNING=generic elif [ "$arch" = "arm" ]; then TUNING=armv4t else TUNING=$arch fi cd $startdir/src/vlc-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ --disable-static \ --enable-pulse \ --disable-lua \ --with-tuning=$TUNING make -j $numjobs install -d $startdir/pkg/usr/lib${LIBDIRSUFFIX}/vlc/plugins/audio_output install -m 0644 modules/audio_output/.libs/libpulse_plugin.{so,la} \ $startdir/pkg/usr/lib${LIBDIRSUFFIX}/vlc/plugins/audio_output/ set +e }