Commit 87c3a36b authored by abveritas's avatar abveritas

sound-stack libmad added, jack2 update no more split build, jack, cdrdao,...

sound-stack libmad added, jack2 update no more split build, jack, cdrdao, libffado, libmirage, pyogg, pyvorbis
parent 30f2524f
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Maintainer: abveritas@chakra-project.org
pkgname=('cdrdao')
pkgname=cdrdao
pkgver=1.2.3
pkgrel=9
pkgrel=10
arch=('x86_64')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
......
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=jack
pkgver=0.121.3
pkgrel=10
pkgrel=11
pkgdesc="A low-latency audio server"
arch=('x86_64')
license=('GPL2' 'custom:LGPL2')
......
#
# Platform Packages for Chakra, part of chakra-project.org
#
# Maintainer: Michael Haesel <michael[dot]haesel[at]gmail[dot]com>
# With contributions from https://www.archlinux.org/packages/community/x86_64/jack2/
# Maintainer: abveritas@chakra-project.org
pkgbase=jack2
pkgname=('jack2' 'jack2-dbus')
#pkgname= # single build (overrides split)
_tarname=jack
pkgver=1.9.8
pkgrel=3
pkgname=jack2
pkgver=1.9.9.5
pkgrel=1
pkgdesc="The next-generation JACK with SMP support"
arch=('x86_64')
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
license=('GPL')
makedepends=('python2' 'doxygen' 'libffado'
'libsamplerate' 'dbus-core' 'celt')
source=("https://dl.dropbox.com/u/28869550/${_tarname}-${pkgver}.tgz"
depends=('libsamplerate' 'celt' 'libffado' 'dbus-core')
makedepends=('python2' 'doxygen' 'libsamplerate' 'celt')
optdepends=('libffado: FireWire support'
'dbus-core: jackdbus'
'python2: jack_control')
conflicts=('jack')
provides=('jack' 'jackmp' 'jackdmp' 'jackdbus' 'jack-audio-connection-kit')
# Build for doxygen fix, commit 95a1162d6aecc91882e4d8b01ba7fb12f6d29d1c Dec 11 2012, remove with 1.9.9.10 or above
source=("http://chakra.sourceforge.net/sources/jack2/jack2.tar.xz"
#"https://dl.dropbox.com/u/28869550/${pkgname}-${pkgver}.tgz"
'99-audio.conf'
'40-hpet-permissions.rules')
sha256sums=('4c712eac54bdf5b4c0245f728654459d0437e5cdab84e7ac633be6fe4502081d'
'3b779961c20e072467b8fdc031cebe6a9f2512c89c5e5da4b4c523fe01e2f038'
'58df6c563b5a2aac297e70d4c6d96e1103c5f1f8d9bd051d944b39416b65cd5f')
_pyfix() {
sed -i 's:bin/env python:bin/env python2:' \
"${pkgdir}/usr/bin/jack_control"
}
_wafconf() {
python2 waf configure --prefix=/usr \
--alsa \
--firewire \
--doxygen $@
}
_isbuild() {
printf "%s\n" ${pkgname[@]} | grep -qx $1
}
md5sums=('dea04856e7483f257da8ef3f1bea01ce'
'4d928a76e3f3d77d037c42ab75ac0f0b'
'23eba69d2dbbb800f68176e5d38b9af5')
build() {
cd "${srcdir}/${_tarname}-${pkgver}"
# fix doxygen building
sed -i 's:build/default/html:html:' "${_tarname}-${pkgver}/wscript"
cd "${srcdir}/${pkgname}-95a1162d6aecc91882e4d8b01ba7fb12f6d29d1c"
LDFLAGS="$LDFLAGS,--no-as-needed -lm" python2 ./waf configure \
--prefix=/usr \
--alsa
# we may do 2 different builds
cp -r "${_tarname}-${pkgver}" "${_tarname}-dbus-${pkgver}"
python2 ./waf build
# mixed dbus/classic build
if _isbuild jack2; then
cd "${_tarname}-${pkgver}"
msg2 "Running Mixed D-Bus/Classic build"
_wafconf --classic --dbus
python2 waf build $MAKEFLAGS
cd ..
fi
# dbus-ONLY build
if _isbuild jack2-dbus; then
cd "${_tarname}-dbus-${pkgver}"
msg2 "Running D-Bus-only build"
_wafconf --dbus
python2 waf build $MAKEFLAGS
cd ..
fi
}
package_jack2() {
! _isbuild jack2 && return 0
pkgdesc="The next-generation JACK with SMP support"
depends=('libsamplerate' 'celt')
optdepends=('libffado: FireWire support'
'dbus-core: jackdbus'
'python2: jack_control')
conflicts=('jack')
provides=('jack' 'jackmp' 'jackdmp' 'jackdbus' 'jack-audio-connection-kit')
cd "${srcdir}/${_tarname}-${pkgver}/${_tarname}-${pkgver}"
package() {
cd "${srcdir}/${pkgname}-95a1162d6aecc91882e4d8b01ba7fb12f6d29d1c"
python2 waf install --destdir="${pkgdir}"
# fix for major python transition
_pyfix
# configure realtime access/scheduling
# see https://bugs.archlinux.org/task/26343
install -Dm644 "${srcdir}/99-audio.conf" \
"${pkgdir}/etc/security/limits.d/99-audio.conf"
install -Dm644 "${srcdir}/40-hpet-permissions.rules" \
"${pkgdir}/usr/lib/udev/rules.d/40-hpet-permissions.rules"
}
package_jack2-dbus() {
! _isbuild jack2-dbus && return 0
pkgdesc="The next-generation JACK with SMP support (for D-BUS interaction only)"
depends=('libsamplerate' 'celt' 'dbus-core')
optdepends=('libffado: FireWire support'
'python2: jack_control')
conflicts=('jack' 'jack2')
provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus' 'jack-audio-connection-kit')
cd "${srcdir}/${_tarname}-${pkgver}/${_tarname}-dbus-${pkgver}"
python2 waf install --destdir="${pkgdir}"
_pyfix
install -Dm644 "${srcdir}/99-audio.conf" \
"${pkgdir}/etc/security/limits.d/99-audio.conf"
......@@ -117,4 +49,3 @@ package_jack2-dbus() {
"${pkgdir}/usr/lib/udev/rules.d/40-hpet-permissions.rules"
}
# vim:set ts=2 sw=2 et:
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer: abveritas[at]chakra-project[dot]org>
# Maintainer: abveritas[at]chakra-project[dot]org>
pkgname=libffado
pkgver=2.1.0
pkgrel=3
pkgrel=4
pkgdesc="Driver for FireWire audio devices"
arch=('x86_64')
url="http://www.ffado.org/"
license=('GPL')
depends=('libiec61883' 'libavc1394' 'libsigc++'
'libxml++' 'alsa-lib' 'dbus' 'libconfig' 'dbus-c++')
depends=('libiec61883' 'libavc1394' 'libsigc++' 'libxml++' 'alsa-lib'
'dbus' 'libconfig' 'dbus-c++')
makedepends=('scons' 'pyqt' 'python2')
optdepends=('pyqt: mixer applet'
'python: ffado-diag')
provides=('ffado')
'python2: ffado-diag')
source=("http://www.ffado.org/files/libffado-$pkgver.tgz")
md5sums=('26bce2be0b9c1fa4e614f2f494edf388')
......
# $Id: PKGBUILD 28149 2009-02-28 00:54:07Z hugo $
# Maintainer: Travis Willard <travis@archlinux.org>
# Maintainer: abveritas[at]chakra-project[dot]org>
pkgname=libmad
pkgver=0.15.1b
pkgrel=4
pkgrel=5
pkgdesc="A high-quality MPEG audio decoder"
arch=(i686 x86_64)
url="http://www.underbit.com/products/mad/"
arch=('x86_64')
license=('GPL')
depends=('glibc')
makedepends=('autoconf')
replaces=('mad')
conflicts=('mad')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/mad/$pkgname-$pkgver.tar.gz
libmad.patch amd64-64bit.diff frame_length.diff optimize.diff)
url="http://www.underbit.com/products/mad/"
source=("http://downloads.sourceforge.net/sourceforge/mad/$pkgname-$pkgver.tar.gz"
'libmad.patch' 'amd64-64bit.diff' 'frame_length.diff' 'optimize.diff')
md5sums=('1be543bc30c56fb6bea1d7bf6a64e66c'
'fbcca0267a423bae45389666f4cb04d5'
'8d8bd64a2842dd59153b3a6642059e23'
'3329b032118a68e18908197e65b3198d'
'3e52afe2103f367810a18bef9e82eb9f')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $srcdir/libmad.patch || return 1
patch -Np1 -i $srcdir/amd64-64bit.diff || return 1
patch -Np1 -i $srcdir/frame_length.diff || return 1
patch -Np1 -i $srcdir/optimize.diff || return 1
patch -p1 -i $srcdir/libmad.patch
patch -p1 -i $srcdir/amd64-64bit.diff
patch -p1 -i $srcdir/frame_length.diff
patch -p1 -i $srcdir/optimize.diff
CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1"
autoconf
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
make
}
md5sums=('1be543bc30c56fb6bea1d7bf6a64e66c'
'fbcca0267a423bae45389666f4cb04d5'
'8d8bd64a2842dd59153b3a6642059e23'
'3329b032118a68e18908197e65b3198d'
'3e52afe2103f367810a18bef9e82eb9f')
sha256sums=('bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690'
'813634b07e72ccc23c5c5dc63f88fb789706477fa0a74f535115b8bd898b2ff4'
'0b506dc3c3a83837739f84f7b9db7497fd79b3623b5fb7e291ce44f79d7bf726'
'0e21f2c6b19337d0b237dacc04f7b90a56be7f359f4c9a2ee0b202d9af0cfa69'
'f38216942a1e84fd5341394a56dc5e91117d168a660f3c07ebd59af9b907e6f2')
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$startdir/pkg install
}
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Maintainer: abveritas@chakra-project.org
pkgname=libmirage
pkgver=2.0.0
pkgrel=1
pkgrel=2
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
arch=('x86_64')
url="http://cdemu.sourceforge.net/"
......
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Maintainer: abveritas@chakra-project.org
pkgname=pyogg
pkgver=1.3
pkgrel=14
pkgrel=15
pkgdesc="Python ogg wrapper library"
arch=('x86_64')
url="http://ekyo.nerim.net/software/pyogg/index.html"
......
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Maintainer: abveritas@chakra-project.org
pkgname=pyvorbis
pkgver=1.4
pkgrel=13
pkgrel=14
pkgdesc="Python vorbis wrapper library"
arch=('x86_64')
license=('LGPL')
url="http://www.andrewchatham.com/pyogg/"
url="http://ekyo.nerim.net/software/pyogg/index.html"
depends=('python2' 'libvorbis' 'pyogg>=1.3-3')
source=("http://ekyo.nerim.net/software/pyogg/${pkgname}-${pkgver}.tar.gz"
'pyvorbis-1.4-python2.5.patch'
......
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