mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
audio/linux-c7-alsa-plugins-oss: install vendor config after 077152a79a
linux-c7-alsa-lib uses default config from alsa-lib since 1aaf3941aa
.
$ /compat/linux/usr/bin/aplay foo.wav
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM oss
aplay: main:828: audio open error: No such file or directory
PR: 245321
This commit is contained in:
parent
c4ef4e5bf3
commit
1ad9c73b56
@ -1,7 +1,7 @@
|
||||
PORTNAME= alsa-plugins
|
||||
PORTVERSION= 1.1.6
|
||||
DISTVERSIONSUFFIX= -1.el7
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= audio linux
|
||||
MASTER_SITES= CENTOS_LINUX
|
||||
MASTER_SITE_SUBDIR= centos/${LINUX_DIST_VER}/os/Source/SPackages/ \
|
||||
@ -105,6 +105,7 @@ do-install:
|
||||
${LOCALBASE}/bin/gmake install-strip \
|
||||
DESTDIR=${STAGEDIR}${LINUXBASE})
|
||||
${RM} -r ${STAGEDIR}${LINUXBASE}${LIBDIR_${ARCH}}/alsa-lib/*.la
|
||||
${RM} -r ${STAGEDIR}${LINUXBASE}/etc ${STAGEDIR}${LINUXBASE}/usr/share
|
||||
${LN} -sf ../../../usr/share/alsa/alsa.conf.d/50-oss.conf \
|
||||
${STAGEDIR}${LINUXBASE}/etc/alsa/conf.d
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
15
audio/linux-c7-alsa-plugins-oss/files/patch-oss_50-oss.conf
Normal file
15
audio/linux-c7-alsa-plugins-oss/files/patch-oss_50-oss.conf
Normal file
@ -0,0 +1,15 @@
|
||||
https://github.com/alsa-project/alsa-plugins/commit/ed6684849298
|
||||
|
||||
ALSA lib pcm_oss.c:863:(_snd_pcm_oss_open) Unknown field port
|
||||
|
||||
--- oss/50-oss.conf.orig 2018-04-03 07:02:58 UTC
|
||||
+++ oss/50-oss.conf
|
||||
@@ -5,7 +5,7 @@ pcm.oss {
|
||||
default "/dev/dsp"
|
||||
}
|
||||
type oss
|
||||
- port $DEVICE
|
||||
+ device $DEVICE
|
||||
hint {
|
||||
show {
|
||||
@func refer
|
@ -1,2 +1,4 @@
|
||||
etc/alsa/conf.d/50-oss.conf
|
||||
usr/lib64/alsa-lib/libasound_module_ctl_oss.so
|
||||
usr/lib64/alsa-lib/libasound_module_pcm_oss.so
|
||||
usr/share/alsa/alsa.conf.d/50-oss.conf
|
||||
|
@ -1,4 +1,6 @@
|
||||
etc/alsa/conf.d/50-oss.conf
|
||||
usr/lib/alsa-lib/libasound_module_ctl_oss.so
|
||||
usr/lib/alsa-lib/libasound_module_pcm_oss.so
|
||||
usr/lib64/alsa-lib/libasound_module_ctl_oss.so
|
||||
usr/lib64/alsa-lib/libasound_module_pcm_oss.so
|
||||
usr/share/alsa/alsa.conf.d/50-oss.conf
|
||||
|
@ -1,2 +1,4 @@
|
||||
etc/alsa/conf.d/50-oss.conf
|
||||
usr/lib/alsa-lib/libasound_module_ctl_oss.so
|
||||
usr/lib/alsa-lib/libasound_module_pcm_oss.so
|
||||
usr/share/alsa/alsa.conf.d/50-oss.conf
|
||||
|
Loading…
Reference in New Issue
Block a user