Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 20:02:09 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509853 - head/audio/linux-c7-alsa-plugins-oss
Message-ID:  <201908252002.x7PK293L051166@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Aug 25 20:02:09 2019
New Revision: 509853
URL: https://svnweb.freebsd.org/changeset/ports/509853

Log:
  Fix Linux ALSA OSS plugin by removing a configuration file.  The
  configuration from FreeBSD /usr/local/etc/asound.conf should be used.
  
  PR:		240043
  Reported by:	Hannes Hauswedell <h2+fbsdports@fsfe.org>

Modified:
  head/audio/linux-c7-alsa-plugins-oss/Makefile
  head/audio/linux-c7-alsa-plugins-oss/pkg-plist.amd64
  head/audio/linux-c7-alsa-plugins-oss/pkg-plist.i386

Modified: head/audio/linux-c7-alsa-plugins-oss/Makefile
==============================================================================
--- head/audio/linux-c7-alsa-plugins-oss/Makefile	Sun Aug 25 19:33:44 2019	(r509852)
+++ head/audio/linux-c7-alsa-plugins-oss/Makefile	Sun Aug 25 20:02:09 2019	(r509853)
@@ -4,6 +4,7 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.1.6
 DISTVERSIONSUFFIX=	-1.el7
+PORTREVISION=	1
 CATEGORIES=	audio linux
 PKGNAMESUFFIX=	-oss
 
@@ -24,5 +25,8 @@ DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
 DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/alsa
 
 .include <bsd.port.mk>

Modified: head/audio/linux-c7-alsa-plugins-oss/pkg-plist.amd64
==============================================================================
--- head/audio/linux-c7-alsa-plugins-oss/pkg-plist.amd64	Sun Aug 25 19:33:44 2019	(r509852)
+++ head/audio/linux-c7-alsa-plugins-oss/pkg-plist.amd64	Sun Aug 25 20:02:09 2019	(r509853)
@@ -1,9 +1,7 @@
-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
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/COPYING.GPL
 %%PORTDOCS%%%%DOCSDIR%%/README-pcm-oss

Modified: head/audio/linux-c7-alsa-plugins-oss/pkg-plist.i386
==============================================================================
--- head/audio/linux-c7-alsa-plugins-oss/pkg-plist.i386	Sun Aug 25 19:33:44 2019	(r509852)
+++ head/audio/linux-c7-alsa-plugins-oss/pkg-plist.i386	Sun Aug 25 20:02:09 2019	(r509853)
@@ -1,7 +1,5 @@
-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
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/COPYING.GPL
 %%PORTDOCS%%%%DOCSDIR%%/README-pcm-oss



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908252002.x7PK293L051166>