24 lines
776 B
Bash
24 lines
776 B
Bash
|
# Template file for 'skype_oss_wrapper'
|
||
|
pkgname=skype_oss_wrapper
|
||
|
version=0.1
|
||
|
revision=1
|
||
|
only_for_archs="i686"
|
||
|
lib32mode="full"
|
||
|
short_desc="Fake libpulse.so library that mimics pulseaudio behavior for skype"
|
||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||
|
license="BSD"
|
||
|
homepage="https://github.com/waterlaz/skype_oss_wrapper"
|
||
|
distfiles="https://github.com/waterlaz/skype_oss_wrapper/archive/v0.1.tar.gz"
|
||
|
checksum=dee9d341941af35343cf8091c746d2554cc98cadabe290381e502fbd7cc35ec3
|
||
|
|
||
|
do_build() {
|
||
|
${CC} ${CFLAGS} -shared -o libpulse.so.0 libpulse.c ${LDFLAGS}
|
||
|
echo '#!/bin/sh' >skype_oss
|
||
|
echo 'LD_LIBRARY_PATH=/usr/lib32/skype_oss_wrapper:$LD_LIBRARY_PATH skype' >>skype_oss
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
vbin skype_oss
|
||
|
vinstall libpulse.so.0 0644 usr/lib/skype_oss_wrapper
|
||
|
}
|