New package: skype_oss_wrapper-0.1

This commit is contained in:
Christian Neukirchen 2015-02-08 16:57:40 +01:00
parent 599566c4a3
commit 8f09b73705
1 changed files with 23 additions and 0 deletions

View File

@ -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 <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
}