2021-11-15 23:01:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2021/11/15 22:01:17 wiz Exp $
|
2012-11-29 09:42:38 +01:00
|
|
|
|
2021-11-15 23:01:15 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-good/-oss/}
|
|
|
|
CATEGORIES= audio gnome
|
2012-11-29 09:42:38 +01:00
|
|
|
|
2021-11-15 23:01:15 +01:00
|
|
|
COMMENT= Open source multimedia framework - Open Sound System plugin
|
2012-11-29 09:42:38 +01:00
|
|
|
|
2021-11-15 23:01:15 +01:00
|
|
|
GST_PLUGINS+= oss
|
2012-11-29 09:42:38 +01:00
|
|
|
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2020-11-20 12:40:09 +01:00
|
|
|
.if ${OSS_TYPE} == "none"
|
2021-11-15 23:01:15 +01:00
|
|
|
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"
|
2020-11-20 12:40:09 +01:00
|
|
|
.endif
|
|
|
|
|
2021-11-15 23:01:15 +01:00
|
|
|
.include "../../multimedia/gst-plugins1-good/Makefile.common"
|
2012-11-29 09:42:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|