diff --git a/srcpkgs/skype_oss_wrapper/template b/srcpkgs/skype_oss_wrapper/template new file mode 100644 index 00000000000..206b92b6be1 --- /dev/null +++ b/srcpkgs/skype_oss_wrapper/template @@ -0,0 +1,23 @@ +# 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 " +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 +}