blob: b5c6393dd8b3f45462895a4258630088f68156a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Stefan Ott <arch at desire dot ch>
# Contributor: Miikka Ahonen <ma65547 at gmail dot com>
# Contributor: Jean-Sébastien Leroy <jean.sebastien.leroy+awesfx@gmail.com>
# Contributor: Mark <mark+awesfx@caffeine-powered.net>
# Contributor: Pavle Simovic <xpio+awesfx@tesla.rcub.bg.ac.rs>
# References:
# http://www.alsa-project.org/~tiwai/awedrv.html
# http://ftp.suse.com/pub/people/tiwai/awesfx/
# For 0.5.1c use: awesfx-0.5.1c-getline.patch
# Find it here: https://bugs.gentoo.org/show_bug.cgi?id=270486
pkgname=awesfx
pkgver=0.5.2
pkgrel=2
pkgdesc="Utilities for emu10k1 cards (e.g. asfxload)"
arch=('i686' 'x86_64')
url="https://github.com/tiwai/awesfx"
license=('GPL2')
depends=('alsa-lib')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tiwai/awesfx/archive/v0.5.2.tar.gz"
"0001_set_gus_bank_fix.patch")
sha256sums=('0d3ff4e00b22cf9ef8b538304a6a11391e8618dae112f56f16e3083379ac8888'
'e9ffb89ba5378f7a0b7ac40e77f67fc4cc38a969817b6cca9944255bb2fa91a4')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Fix a compile-time issues with newer versions of GCC
patch -Np1 -i "${srcdir}/0001_set_gus_bank_fix.patch"
}
build() {
cd "${pkgname}-${pkgver}"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|