freebsd-ports/audio/linux-c7-alsa-plugins-pulseaudio/Makefile
Alexey Dokuchaev 18e493b585 Replace the symlink to an absolute patch, which escapes Linuxolator's
translation, to a relative one.

This allows to unbreak several "Enhanced Edition" games (BG, PST, IWD)
when previously, the game started, but there was no sound.

PR:	244624
2020-03-06 12:47:02 +00:00

33 lines
799 B
Makefile

# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= alsa-plugins
PORTVERSION= 1.1.6
DISTVERSIONSUFFIX= -1.el7
PORTREVISION= 1
CATEGORIES= audio linux
PKGNAMESUFFIX= -pulseaudio
MAINTAINER= emulation@FreeBSD.org
COMMENT= PulseAudio plugin for ALSA (Linux CentOS ${LINUX_DIST_VER})
LICENSE= GPLv3
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes
LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
CONFLICTS= linux-c6-${PORTNAME}${PKGNAMESUFFIX}-[0-9]*
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
@${LN} -sf ../../../usr/share/alsa/alsa.conf.d/50-pulseaudio.conf \
${WRKSRC}/etc/alsa/conf.d
.include <bsd.port.mk>