You are not logged in.
Pages: 1
Well... I'm thinking about installing arch64 on my new notebook with some lib32 packages and in the wiki I noticed the for sound in 32bit application is needed lib32-alsa. In case I use oss4 is there something else needed for using sound in 32 bit applications?
Also a quiestion: I noticed that if arch=i686 the oss-linux-free package compiles libflashsupport.so and puts it in /usr/lib/. Will I have sound in flashplugin wiht oss4 if that step is not complited.
The PKGBUILD:
pkgname=oss-linux-free
pkgver=4.0_1016
pkgrel=1
_realname=oss-v4.0-build1016-src-gpl
pkgdesc="OSS/Open source driver"
arch=('i686' 'x86_64')
url="http://www.opensound.com/"
license=('GPL2')
depends=('gcc' 'make' 'gtk2' 'libtool' 'bc' 'sed')
makedepends=('gawk' 'pkgconfig')
conflicts=('oss-linux')
provides=('oss')
install=oss.install
source=(rc.oss-linux-free http://www.4front-tech.com/developer/sources/stable/gpl/$_realname.tar.bz2)
md5sums=('f343bb70a4dbd1aabefabbea0f76e886'
'b8c3409b477387dbe87118caf46773ed')
build() {
rm -rf build ; mkdir build ; cd build
sed -i "s|export HAVE_ALSA=1|# export HAVE_ALSA=1|g" $srcdir/$_realname/configure
sed -i "s|700|755|g" $srcdir/$_realname/setup/Linux/build.sh
unset CFLAGS
$srcdir/$_realname/configure || return 1
make build || return 1
cp -r prototype/{etc,usr} $pkgdir/
install -Dm755 ../rc.oss-linux-free $pkgdir/etc/rc.d/oss-linux-free
if [ `uname -m` == "i686" ]; then
cd setup/Linux/oss/lib
gcc -m32 -shared -fPIC -O2 -Wall -Werror -lssl flashsupport.c -o libflashsupport.so || return 1
cp libflashsupport.so $pkgdir/usr/lib/oss/lib/
fi
}
NVM I sticked to the chroot approach and I have no trouble with oss4 audio output.
Last edited by Dheart (2008-07-16 10:13:13)
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
Pages: 1