mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:37:13 +08:00
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=alsa-plugins
|
|
pkgver=1.0.26
|
|
pkgrel=2
|
|
pkgdesc="Extra alsa plugins"
|
|
arch=('x86_64')
|
|
url="http://www.alsa-project.org"
|
|
license=(GPL)
|
|
depends=('alsa-lib')
|
|
makedepends=('pulseaudio' 'jack' 'ffmpeg')
|
|
optdepends=('jack: Jack plugin'
|
|
'ffmpeg: libavcodec resampling plugin'
|
|
'libsamplerate: libsamplerate resampling plugin'
|
|
'speex: libspeexdsp resampling plugin')
|
|
options=('!libtool')
|
|
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
|
|
"alsa-plugins-1.0.25-ffmpeg-0.11-obsolete-avcodec_init.patch"
|
|
"alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch")
|
|
md5sums=('4facd408326ef5567a7d4ceb6589e6b0'
|
|
'9c52cbe8f1bc8c823d70a92b171c1055'
|
|
'07d382f969d0514297e9dbc5f642bbdf')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
patch -p1 -i "${srcdir}/alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch"
|
|
patch -p1 -i "${srcdir}/alsa-plugins-1.0.25-ffmpeg-0.11-obsolete-avcodec_init.patch"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -d "$pkgdir/usr/share/doc/$pkgname"
|
|
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
|
|
}
|