Commit e46c7bdb authored by philm's avatar philm

sound-stack update

- other rebuilds might be needed
parent 276fc30f
......@@ -5,15 +5,15 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=alsa-firmware
pkgver=1.0.24.1
pkgrel=2
pkgver=1.0.25
pkgrel=1
pkgdesc="ALSA firmware package"
arch=('i686' 'x86_64')
url="http://alsa-project.org/"
license=('GPL')
options=(!strip)
source=(ftp://ftp.alsa-project.org/pub/firmware/$pkgname-$pkgver.tar.bz2)
md5sums=('d37434dfcfececd8581d2f0bbe2fcf1b')
md5sums=('f1939da45b162c83a726c54a470ef139')
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
#md5sums=('7890f824992030e3b9616fe6bb671702')
......@@ -32,9 +32,8 @@ mksource() {
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
make
}
package() {
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=alsa-lib
pkgver=1.0.24.1
pkgrel=3
pkgver=1.0.25
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
......@@ -19,7 +19,7 @@ makedepends=('python2')
license=('GPL')
options=(!libtool)
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
md5sums=('7cc05f25e1d5b65da8fb3fdcd540f226')
md5sums=('06fe5819020c6684b991dcffc5471304')
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
#md5sums=('9ed124442c6af1ad1630e6a4c918f88a')
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=alsa-oss
pkgver=1.0.17
pkgrel=3
pkgver=1.0.25
pkgrel=1
pkgdesc="OSS compatibility library"
arch=(i686 x86_64)
license=('GPL')
......@@ -28,4 +28,4 @@ package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
md5sums=('1b1850c2fc91476a73d50f537cbd402f')
md5sums=('922ea177db15c72f1b5037181c73f934')
......@@ -5,19 +5,22 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=alsa-plugins
pkgver=1.0.24
pkgrel=2
pkgver=1.0.25
pkgrel=1
pkgdesc="Extra alsa plugins"
arch=('i686' 'x86_64')
arch=(i686 x86_64)
url="http://www.alsa-project.org"
license=('GPL')
depends=('alsa-lib>1.0.24')
makedepends=('pulseaudio' 'jack' 'ffmpeg')
optdepends=('pulseaudio' 'jack' 'ffmpeg')
license=(GPL)
depends=(alsa-lib)
makedepends=(libpulse jack ffmpeg)
optdepends=('libpulse: PulseAudio plugin'
'jack: Jack plugin'
'ffmpeg: libavcodec resampling plugin'
'libsamplerate: libsamplerate resampling plugin'
'speex: libspeexdsp resampling plugin')
options=('!libtool')
install=$pkgname.install
source=(ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$pkgver.tar.bz2)
md5sums=('e4d4c90e11ab9d1a117afbbc1edd2b16')
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2")
md5sums=('038c023eaa51171f018fbf7141255185')
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
#md5sums=('01d00251cbe4f510e131eeee69c8361a')
......@@ -35,9 +38,9 @@ mksource() {
}
build() {
cd $startdir/src/alsa-plugins-$pkgver
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
make
}
package() {
......@@ -46,4 +49,4 @@ package() {
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
}
}
\ No newline at end of file
post_install() {
echo "Install jack-audio-connection-kit, libsamplerate, ffmpeg
or pulseaudio to get their respective plugins working"
}
post_upgrade() {
post_install $1
}
File mode changed from 100644 to 100755
......@@ -8,41 +8,27 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=alsa-utils
pkgver=1.0.24.2
pkgrel=2
pkgver=1.0.25
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib" 'dialog' 'pciutils' 'ncurses')
depends=("alsa-lib" 'dialog' 'pciutils' 'ncurses' 'psmisc' 'libsamplerate')
makedepends=('xmlto' 'docbook-xsl')
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz"
alsa
alsaconf.patch
alsa.conf.d
90alsa)
backup=(etc/conf.d/alsa)
# create tarball: source PKGBUILD && mksource
mksource() {
rm -vRf ${pkgname}-${pkgver}
git clone git://git.alsa-project.org/${pkgname}.git ${pkgname}-${pkgver}
rm -vRf ${pkgname}-${pkgver}/.git
pushd ${pkgname}-${pkgver}
popd
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
md5sum ${pkgname}-${pkgver}.tar.xz
}
build() {
cd $startdir/src/$pkgname-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ../alsaconf.patch
./configure --prefix=/usr
make
./configure --prefix=/usr --with-systemdsystemunitdir=/lib/systemd/system
make
}
package() {
......@@ -54,8 +40,8 @@ package() {
# dir where to save ALSA state
install -d ${pkgdir}/var/lib/alsa
}
md5sums=('8238cd57cb301d1c36bcf0ecb59ce6b2'
'3ef812cae83053d01cd560284efad71f'
'62ebef77d5617d0036012cc541dcf23c'
'93089f0d8872078939f76dd2acaebc2b'
md5sums=('f81f9dcb9a014fd32cb3a70066a5b9a9'
'2ba1a1cbf653bf1a69f8a720fd6549da'
'7521bf20f5b3501a510ec4462ae4a934'
'4c8ae9f976c7df5e271a4cb91ccc7767'
'529216f6a46e61a546640e08ea7a0879')
......@@ -7,50 +7,56 @@
case "$1" in
start)
stat_busy "Restoring ALSA Levels"
/usr/sbin/alsactl $ALSA_ARGS restore
if [ $? -gt 0 ]; then
stat_fail
else
if [[ ! -e /var/lib/alsa/asound.state ]]; then
/usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
fi
if /usr/sbin/alsactl $ALSA_ARGS restore; then
stat_done
add_daemon alsa
else
stat_fail
exit 1
fi
POWERSAVE=${POWERSAVE:-0}
if [ -e /sys/module/snd_ac97_codec/parameters/power_save \
-a $POWERSAVE -ne 0 ]; then
if [[ -e /sys/module/snd_ac97_codec/parameters/power_save ]] \
&& (( $POWERSAVE )); then
echo $POWERSAVE > /sys/module/snd_ac97_codec/parameters/power_save
[ -c /dev/dsp ] && echo 1 > /dev/dsp
[[ -c /dev/dsp ]] && echo 1 > /dev/dsp
fi
if [ -e /sys/module/snd_hda_intel/parameters/power_save \
-a $POWERSAVE -ne 0 ]; then
if [[ -e /sys/module/snd_hda_intel/parameters/power_save ]] \
&& (( $POWERSAVE )); then
echo $POWERSAVE > /sys/module/snd_hda_intel/parameters/power_save
[ -c /dev/dsp ] && echo 1 > /dev/dsp
[[ -c /dev/dsp ]] && echo 1 > /dev/dsp
fi
;;
stop)
SAVE_VOLUME=${SAVE_VOLUME:-yes}
if [ "$SAVE_VOLUME" == "yes" ]; then
if [[ "$SAVE_VOLUME" = "yes" ]]; then
stat_busy "Saving ALSA Levels"
/usr/sbin/alsactl $ALSA_ARGS store
/usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
else
stat_busy "Stopping ALSA"
fi
if [ "$MUTE_VOLUME" == "yes" ]; then
/usr/bin/amixer -q set Master 0 mute
fi
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
rm_daemon alsa
/usr/bin/amixer -q set Master 0 mute || { stat_fail; exit 1; }
fi
stat_done
rm_daemon alsa
;;
restart)
$0 stop
sleep 1
$0 start
;;
force-restart)
stat_busy "Trying to TERM or KILL processes that are blocking ALSA..."
FILES="$(ls -1 /dev/snd/* | grep -vi control)"
fuser -k -SIGTERM $FILES
fuser -k $FILES
stat_done
$0 restart
;;
*)
echo "usage: $0 {start|stop|restart}"
echo "usage: $0 {start|stop|restart|force-restart}"
esac
# Arguments for alsactl
# example: ALSA_ARGS="--file /var/run/alsa-state"
ALSA_ARGS=""
# example: ALSA_ARGS="--file /var/lib/alsa/asound.state"
ALSA_ARGS="--file /var/lib/alsa/asound.state"
# Enables powersaving mode for AC97 and hda_intel audio chips.
# Set to 1 to enable powersaving.
......
......@@ -5,7 +5,7 @@ diff -Naur alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in alsa-utils-1.0.9a/alsacon
distribution="redhat"
elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then
distribution="fedora"
+elif test -f /etc/arch-release && grep -q "Arch" /etc/arch-release; then
+elif test -f /etc/arch-release; then
+ distribution="arch"
elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then
distribution="slackware"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cdemu-client
pkgver=1.4.0
pkgrel=1
pkgrel=2
pkgdesc="Simple command-line client for controlling cdemu-daemon"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cdemu-daemon
pkgver=1.4.0
pkgrel=2
pkgrel=3
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=('i686' 'x86_64')
backup=('etc/conf.d/cdemud'
......
......@@ -7,7 +7,7 @@
pkgname=('cdrdao')
pkgver=1.2.3
pkgrel=3
pkgrel=4
arch=('i686' 'x86_64')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
......
......@@ -7,7 +7,7 @@
pkgname=celt
pkgver=0.11.1
pkgrel=4
pkgrel=5
pkgdesc="Low-latency audio communication codec"
arch=('i686' 'x86_64')
url="http://www.celt-codec.org"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=dssi
pkgver=1.1.1
pkgrel=1
pkgrel=2
pkgdesc="An API for audio plugins, with particular application for software synthesis plugins with native user interfaces."
arch=("i686" "x86_64")
url="http://dssi.sourceforge.net/"
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ffmpeg
pkgver=0.8.9
pkgrel=2
pkgver=0.10
pkgrel=1
epoch=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=('i686' 'x86_64')
......@@ -18,7 +18,7 @@ license=('GPL')
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg' 'rtmpdump' 'speex')
makedepends=('yasm')
source=("http://${pkgname}.org/releases/${pkgname}-${pkgver}.tar.bz2")
md5sums=('001d4e81008b02099cec28924aa11257')
md5sums=('dc665cc599a739e3c5262ccdac13d129')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ffmpegthumbnailer
pkgver=2.0.7
pkgrel=1
pkgrel=2
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=flac
pkgver=1.2.1
pkgrel=5
pkgrel=6
pkgdesc="Free Lossless Audio Codec"
arch=('i686' 'x86_64')
url="http://flac.sourceforge.net/"
......
......@@ -7,7 +7,7 @@
pkgbase=gstreamer0.10-bad
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
pkgver=0.10.22
pkgrel=4
pkgrel=5
arch=('i686' 'x86_64')
license=('LGPL' 'GPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'xvidcore' 'libdca' 'bzip2' 'libdc1394'
......
......@@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.35
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('pkgconfig' "gstreamer0.10>=${pkgver}" 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
......
......@@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=gstreamer0.10-good
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
pkgver=0.10.30
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv'
......
......@@ -6,7 +6,7 @@
pkgname=gstreamer0.10-pulse
pkgver=0.10.30
pkgrel=2
pkgrel=3
pkgdesc="A GStreamer 0.10 plugin for the PulseAudio sound server"
arch=('i686' 'x86_64')
license=('LGPL')
......
......@@ -5,7 +5,7 @@
pkgname=gstreamer0.10-python
pkgver=0.10.22
pkgrel=1
pkgrel=2
pkgdesc="Python bindings for GStreamer 0.10"
arch=('i686' 'x86_64')
license=('LGPL')
......
......@@ -7,7 +7,7 @@
pkgbase=gstreamer0.10-ugly
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
pkgver=0.10.18
pkgrel=3
pkgrel=4
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libid3tag' 'libmad'
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gstreamer0.10
pkgver=0.10.35
pkgrel=2
pkgrel=3
pkgdesc="GStreamer Multimedia Framework"
arch=('i686' 'x86_64')
license=('LGPL')
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=jack
pkgver=0.121.3
pkgrel=1
pkgrel=2
pkgdesc="A low-latency audio server"
arch=('i686' 'x86_64')
license=('GPL2' 'custom:LGPL2')
......
......@@ -6,7 +6,7 @@
pkgname=ladspa
pkgver=1.13
pkgrel=3
pkgrel=4
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
arch=("i686" "x86_64")
license=('LGPL')
......
......@@ -7,7 +7,7 @@
pkgname=libao
pkgver=1.1.0
pkgrel=2
pkgrel=3
pkgdesc="A cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
arch=('i686' 'x86_64')
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=liblastfm
pkgver=0.3.3
pkgrel=3
pkgrel=4
pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
arch=('i686' 'x86_64')
url="http://github.com/mxcl/liblastfm/"
......
......@@ -6,7 +6,7 @@
pkgname=liblrdf
pkgver=0.4.8
pkgrel=1
pkgrel=2
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/lrdf" #"http://sourceforge.net/projects/lrdf"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libmirage
pkgver=1.4.0
pkgrel=1
pkgrel=2
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libogg
pkgver=1.3.0
pkgrel=1
pkgrel=2
pkgdesc="Ogg bitstream and framing library"
arch=('i686' 'x86_64')
url="http://www.xiph.org/ogg/"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libsamplerate
pkgver=0.1.8
pkgrel=1
pkgrel=2
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/SRC/index.html"
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libshout
pkgver=2.2.2
pkgrel=5
pkgver=2.3.0
pkgrel=1
epoch=1
pkgdesc="Library for accessing a shoutcast/icecast server"
arch=('i686' 'x86_64')
......@@ -18,7 +18,7 @@ url="http://www.icecast.org/"
options=('!libtool' 'force')
license=('LGPL')
source=(http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('4f75fc9901c724b712c371c9a1e782d3')
md5sums=('976a5979505f3de4026ae7fffb10754b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libsndfile
pkgver=1.0.25
pkgrel=1
pkgrel=2
pkgdesc="A C library for reading and writing files containing sampled sound"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libtheora
pkgver=1.1.1
pkgrel=4
pkgrel=5
pkgdesc="An open video codec developed by the Xiph.org"
arch=('i686' 'x86_64')
url="http://www.xiph.org"
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libvorbis
pkgver=1.3.2
pkgrel=2
pkgver=1.3.3
pkgrel=1
pkgdesc="Vorbis codec library"
arch=('i686' 'x86_64')
license=('custom')
......@@ -17,17 +17,17 @@ url="http://www.xiph.org/ogg/vorbis/"
depends=('libogg')
options=('!libtool')
source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
md5sums=('c870b9bd5858a0ecb5275c14486d9554')
md5sums=('6b1a36f0d72332fae5130688e65efe1f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}/${pkgname}-${pkgver}"
#-march=i686 optimizes too much, strip it out
CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
CFLAGS=${CFLAGS/-march=$CARCH} LIBS+="-lm" ./configure --prefix=/usr --disable-static
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
......@@ -9,7 +9,7 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.7.6
pkgrel=4
pkgrel=5
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
......
......@@ -4,25 +4,22 @@
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=mplayer
pkgver=34104
pkgrel=3
pkgver=34707
pkgrel=1
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2' 'fontconfig' 'freetype2'
'gcc-libs' 'giflib' 'glibc' 'jack' 'lame' 'libcaca' 'libdca' 'libgl' 'libjpeg' 'libmad' 'libmng' 'libogg'
'libpng' 'libtheora' 'libvdpau>=0.4' 'libvpx' 'libx11' 'libxext' 'libxinerama' 'libxv' 'libxvmc' 'libxxf86dga'
'libxxf86vm' 'libxss' 'lirc-utils' 'mpg123' 'ncurses' 'opencore-amr' 'openjpeg' 'orc' 'rtmpdump' 'schroedinger'
'sdl' 'smbclient' 'ttf-dejavu' 'x264' 'xvidcore' 'zlib')
'gcc-libs' 'giflib' 'glibc' 'jack' 'lame' 'libbluray' 'libcaca' 'libdca' 'libgl' 'libjpeg' 'libmad' 'libmng'
'libogg' 'libpng' 'libtheora' 'libvdpau>=0.4' 'libvpx' 'libx11' 'libxext' 'libxinerama' 'libxv' 'libxvmc'
'libxxf86dga' 'libxxf86vm' 'libxss' 'lirc-utils' 'mpg123' 'ncurses' 'opencore-amr' 'openjpeg' 'orc' 'rtmpdump'
'schroedinger' 'sdl' 'smbclient' 'ttf-dejavu' 'x264' 'xvidcore' 'zlib')
license=('GPL')
url="http://www.mplayerhq.hu/"
makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
source=(http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
md5sums=('6973a2c9982f003829548a4c4d637b6b'
md5sums=('fad5faddafdb0146d10aa21fa278e194'
'c0d6ef795cf6de48e3b87ff7c23f0319'
'd00874ccc644b7f43d6ef1c942fcef28')
......
#
# Platform Packages for Chakra, part of chakra-project.org
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=normalize
pkgver=0.7.7
pkgrel=3
pkgrel=4
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
arch=('i686' 'x86_64')
url="http://normalize.nongnu.org"
license=('GPL')
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
url="http://normalize.nongnu.org"
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436')
makedepends=('pkg-config' 'intltool')
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'normalize-0.7.7-audiofile-pkgconfig.patch'
'normalize-0.7.7-m4.patch')
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436'
'77d565e29bef11837e80347adfd42b58'
'0b4bca7bf183275b9f939576ebad4233')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/normalize-0.7.7-audiofile-pkgconfig.patch"
patch -Np0 -i "${srcdir}/normalize-0.7.7-m4.patch"
touch AUTHORS NEWS ChangeLog
libtoolize --force --copy
aclocal -I m4
autoreconf
automake --add-missing
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-audiofile \
--with-mad
make
make
}
package(){
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
\ No newline at end of file
}
Use pkgconfig to check for audiofile since the audiofile-config script was
removed from >=audiofile-0.3.0.
--- normalize-0.7.7/configure.ac.orig
+++ normalize-0.7.7/configure.ac
@@ -248,33 +248,16 @@
dnl *** Stuff for audiofile library ***
-dnl v0.2.1 and before have bugs with 24-bit LE files
-AM_PATH_AUDIOFILE([ 0.2.2 ], [ have_audiofile=true ])
-dnl AC_CHECK_LIB(audiofile, afSetVirtualSampleFormat, have_audiofile=true)
+AC_ARG_WITH(audiofile, AC_HELP_STRING([--with-audiofile],
+ [use the audiofile library (default yes)]))
AH_TEMPLATE([USE_AUDIOFILE],
[Define if you want to use the audiofile library.])
-AC_ARG_WITH(audiofile,
- AC_HELP_STRING([--with-audiofile],
- [use the audiofile library (default yes)]),
- [ case "$withval" in
- no) with_audiofile=false ;;
- *) with_audiofile=true ;;
- esac ])
-use_audiofile=false
-if test x$with_audiofile != xfalse; then
- if test x$have_audiofile = xtrue; then
- AC_DEFINE(USE_AUDIOFILE)