Commit e46c7bdb authored by philm's avatar philm
Browse files

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')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment