pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gst-plugins1-oss: set the correct device for NetBSD



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Wed Nov 10 22:20:46 2021 +0100
Changeset:	79cd8fcfab5a8a9005796f7f0b5fa1816ccd3fab

Modified Files:
	gst-plugins1-oss/Makefile

Log Message:
gst-plugins1-oss: set the correct device for NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=79cd8fcfab5a8a9005796f7f0b5fa1816ccd3fab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gst-plugins1-oss/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/gst-plugins1-oss/Makefile b/gst-plugins1-oss/Makefile
index 3d9687f7da..3212ac83a2 100644
--- a/gst-plugins1-oss/Makefile
+++ b/gst-plugins1-oss/Makefile
@@ -12,6 +12,11 @@ GST_PLUGINS+=	oss
 PKG_SKIP_REASON+=	"Requires an OSS implementation"
 .else
 LDFLAGS+=		${LIBOSSAUDIO}
+SUBST_CLASSES+=		oss
+SUBST_STAGE.oss=	pre-configure
+SUBST_MESSAGE.oss=	Correcting the path to the OSS device.
+SUBST_FILES.oss+=	sys/oss/*
+SUBST_SED.oss+=		-e "s,/dev/dsp,${DEVOSSAUDIO},g"
 .endif
 
 .include "../../wip/gst-plugins1-good/Makefile.common"


Home | Main Index | Thread Index | Old Index