summaryrefslogtreecommitdiff
path: root/community/oss/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-04 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-04 23:14:50 +0000
commitcdc66cc7110e78bf1197f9effc70422114f9341b (patch)
tree26d88200b6a071ffe8e21b7022be19ade43d52e5 /community/oss/PKGBUILD
parentde078a89b9e3a45b6b2e3f0c9d866962e5125ba3 (diff)
Sat Feb 4 23:14:50 UTC 2012
Diffstat (limited to 'community/oss/PKGBUILD')
-rw-r--r--community/oss/PKGBUILD48
1 files changed, 28 insertions, 20 deletions
diff --git a/community/oss/PKGBUILD b/community/oss/PKGBUILD
index 076e17329..cceef84a2 100644
--- a/community/oss/PKGBUILD
+++ b/community/oss/PKGBUILD
@@ -1,36 +1,30 @@
-# $Id: PKGBUILD 59729 2011-11-29 20:14:19Z bluewind $
+# $Id: PKGBUILD 63447 2012-02-03 17:52:25Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-pkgname=oss
-pkgver=4.2_2005
-pkgrel=2
-pkgdesc="Open Sound System UNIX audio architecture"
+pkgbase=oss
+pkgname=(oss libflashsupport-oss)
+pkgver=4.2_2006
+pkgrel=1
arch=('i686' 'x86_64')
url="http://developer.opensound.com/"
license=('GPL2')
-depends=('gcc' 'make' 'kernel26-headers' 'module-init-tools' 'libtool' 'sed')
-makedepends=('pkgconfig' 'gawk' 'gtk2' 'findutils')
-optdepends=('gtk2: for graphical mixer (ossxmix)')
-conflicts=('oss-linux' 'oss-linux-free' 'oss-testing' 'libflashsupport' 'libflashsupport-pulse' 'libflashsupport-oss')
-replaces=('libflashsupport-oss')
-install=oss.install
-backup=('usr/lib/oss/soundon.user')
+makedepends=('gtk2')
source=("http://www.4front-tech.com/developer/sources/stable/gpl/oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl.tar.bz2"
"rm-init-scripts.patch"
"rc-script"
"soundon.patch"
"remove-hal.patch"
)
-md5sums=('964b1ec63b48b22baba6688fe2fc0633'
+md5sums=('ca25c06bb7d0c6495e1b6f55d1bad96c'
'b9a380a0ac8896390d71ac13676f27e1'
'cbcbce5c03b127df5eafa8faa091492c'
'65f07fe241bfbf912f76d8b6d8f276b5'
'cd7f1dc6166bba8c94d96f3a28e948a5')
+_dir=oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl
build() {
- _dir=oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl
cd "${srcdir}/${_dir}"
# Avoid these flags conflicting with OSS build system.
@@ -71,16 +65,19 @@ build() {
sed -i 's#mkdir /lib/modules#mkdir -p /lib/modules#' usr/lib/oss/build/install.sh
}
-package() {
- _dir=oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl
+package_oss() {
+ pkgdesc="Open Sound System UNIX audio architecture"
+ depends=('gcc' 'make' 'linux-headers' 'libtool' 'sed')
+ optdepends=('gtk2: for graphical mixer (ossxmix)'
+ 'libflashsupport-oss: Adobe flash plugin support')
+ conflicts=('oss-linux' 'oss-linux-free' 'oss-testing')
+ backup=('usr/lib/oss/soundon.user')
+ install=oss.install
+
cd "${srcdir}/${_dir}"
msg "Copying files."
- # Install libflashsupport.so
- install -dm755 "$pkgdir/usr/lib"
- ln -s oss/lib/libflashsupport.so "$pkgdir/usr/lib/libflashsupport.so"
-
cd "${srcdir}/build/prototype"
cp -a * "${pkgdir}"
@@ -89,3 +86,14 @@ package() {
install -Dm755 "${srcdir}/rc-script" "${pkgdir}/etc/rc.d/oss"
}
+package_libflashsupport-oss() {
+ pkgdesc="Adobe flash plugin support lib (OSSv4)"
+ conflicts=('libflashsupport' 'libflashsupport-pulse' 'libflashsupport-oss')
+ depends=('oss')
+
+ cd "${srcdir}/${_dir}"
+
+ install -dm755 "$pkgdir/usr/lib"
+ ln -s oss/lib/libflashsupport.so "$pkgdir/usr/lib/libflashsupport.so"
+}
+