1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

audio/linux-skype_oss_wrapper: add port.

A fake libpulse.so library that mimics pulseaudio behavior for skype

WWW: https://github.com/waterlaz/skype_oss_wrapper

PR:		200675
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
Johannes Jost Meixner 2015-06-11 14:49:50 +00:00
parent f2847d1dd3
commit 0e6b4beffe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389221
4 changed files with 47 additions and 0 deletions

View File

@ -433,6 +433,7 @@
SUBDIR += linux-laudio
SUBDIR += linux-mbrola
SUBDIR += linux-neroaaccodec
SUBDIR += linux-skype_oss_wrapper
SUBDIR += linuxsampler
SUBDIR += listener
SUBDIR += lmms

View File

@ -0,0 +1,41 @@
# Created by: Andriy Voskoboinyk <s3erios@gmail.com>
# $FreeBSD$
PORTNAME= skype_oss_wrapper
PORTVERSION= 0.1.1
CATEGORIES= audio linux
PKGNAMEPREFIX= linux-
MAINTAINER= s3erios@gmail.com
COMMENT= Partial PulseAudio API implementation using OSS backend
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/devel/linux-c6-devtools
USE_GITHUB= yes
GH_ACCOUNT= s3erios
GH_TAGNAME= v${PORTVERSION}
USE_LINUX= yes
USE_LINUX_PREFIX= yes
# do not define USE_LDCONFIG, it's not for global use
ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES= lib/skype_oss_wrapper/libpulse.so.0
LIB_DIR= ${PREFIX}/lib/${PORTNAME}
# hardcode compiler path
post-patch:
@${REINPLACE_CMD} -e 's|?= cc| = ${LINUXBASE}/usr/bin/gcc|' \
-e 's|$${CC}|${LINUXBASE}/usr/bin/gcc|' \
${WRKSRC}/Makefile
post-install:
@${RM} ${STAGEDIR}${PREFIX}/bin/skype_oss
@${RMDIR} ${STAGEDIR}${PREFIX}/bin
@${BRANDELF} -t Linux ${STAGEDIR}${LIB_DIR}/libpulse.so.0
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (s3erios-skype_oss_wrapper-0.1.1-v0.1.1_GH0.tar.gz) = 0106c7962eb39e68204f266e310eebb03e351aefe6cc1c7befe1a01fc43aeb92
SIZE (s3erios-skype_oss_wrapper-0.1.1-v0.1.1_GH0.tar.gz) = 12401

View File

@ -0,0 +1,3 @@
A fake libpulse.so library that mimics pulseaudio behavior for skype
WWW: https://github.com/waterlaz/skype_oss_wrapper