summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/oss/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/abs/extra/oss/PKGBUILD b/abs/extra/oss/PKGBUILD
index cb9e843..1cbe326 100644
--- a/abs/extra/oss/PKGBUILD
+++ b/abs/extra/oss/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=oss
pkgver=4.2_2005
-pkgrel=1
+pkgrel=5
pkgdesc="Open Sound System UNIX audio architecture"
arch=('i686' 'x86_64')
url="http://developer.opensound.com/"
@@ -23,11 +23,6 @@ source=("http://www.4front-tech.com/developer/sources/stable/gpl/oss-v${pkgver/_
"soundon.patch"
"remove-hal.patch"
)
-md5sums=('964b1ec63b48b22baba6688fe2fc0633'
- 'b9a380a0ac8896390d71ac13676f27e1'
- 'cbcbce5c03b127df5eafa8faa091492c'
- '65f07fe241bfbf912f76d8b6d8f276b5'
- 'cd7f1dc6166bba8c94d96f3a28e948a5')
build() {
_dir=oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl
@@ -43,7 +38,7 @@ build() {
# Compile libflashsupport.so only in packaging time, so we avoid
# conflicts with other packages and ease package management.
msg "Building libflashsupport.so."
- cd oss/lib
+ cd oss/lib/
gcc -shared -fPIC -O2 -Wall -Werror flashsupport.c -o libflashsupport.so
msg "Preparing the build environment."
@@ -64,6 +59,7 @@ build() {
patch -p0 -i "${srcdir}/soundon.patch"
# remove hal dependency
patch -p0 -i "${srcdir}/remove-hal.patch"
+
rm -rf usr/lib/oss/scripts/oss_usb-create-devices usr/lib/oss/scripts/90-oss_usb-create-device.fdi
}
@@ -85,3 +81,8 @@ package() {
install -Dm755 "${srcdir}/rc-script" "${pkgdir}/etc/rc.d/oss"
}
+md5sums=('964b1ec63b48b22baba6688fe2fc0633'
+ 'b9a380a0ac8896390d71ac13676f27e1'
+ 'cbcbce5c03b127df5eafa8faa091492c'
+ '65f07fe241bfbf912f76d8b6d8f276b5'
+ 'cd7f1dc6166bba8c94d96f3a28e948a5')