Skip to content

Instantly share code, notes, and snippets.

@setiawanjemy88
Created February 19, 2022 12:07
Show Gist options
  • Save setiawanjemy88/6571ae8c4d21b2e9dac3ac4dfc88bd6c to your computer and use it in GitHub Desktop.
Save setiawanjemy88/6571ae8c4d21b2e9dac3ac4dfc88bd6c to your computer and use it in GitHub Desktop.
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-lib
pkgver=1.1.7
pkgrel=2
pkgdesc="An alternative implementation of Linux sound support"
arch=('x86_64')
url="http://www.alsa-project.org"
depends=('glibc')
optdepends=('python2: for python smixer plugin')
makedepends=('python2')
license=('LGPL')
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i /home/josh/alsa-lib/repos/extra-x86_64/alsa.patch
./configure --without-debug --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
md5sums=('51ca1283e27e7dc10207ccce33919cf2')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment