summaryrefslogtreecommitdiff
path: root/meta-pkgs/gstreamer1-default-backend/Makefile
blob: 15e3741b5647e3d6962a8816c7e42f75754658b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.2 2021/08/17 14:36:36 nia Exp $

DISTNAME=	gstreamer1-default-backend-1.0
CATEGORIES=	meta-pkgs audio multimedia
MASTER_SITES=	# empty

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://gstreamer.freedesktop.org/
COMMENT=	Default audio backend for gstreamer1

META_PACKAGE=	yes

PKG_OPTIONS_VAR=	PKG_OPTIONS.gstreamer1-default-backend
PKG_SUPPORTED_OPTIONS=	alsa oss pulseaudio

.include "../../mk/bsd.fast.prefs.mk"

.include "../../mk/oss.buildlink3.mk"

.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS=	alsa
.elif ${OSS_TYPE:tl} != "none"
PKG_SUGGESTED_OPTIONS=	oss
.endif

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Malsa)
DEPENDS+=	gst-plugins1-alsa-[0-9]*:../../audio/gst-plugins1-alsa
.endif

.if !empty(PKG_OPTIONS:Moss)
DEPENDS+=	gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss
.endif

.if !empty(PKG_OPTIONS:Mpulseaudio)
DEPENDS+=	gst-plugins1-pulse-[0-9]*:../../audio/gst-plugins1-pulse
.endif

.include "../../mk/bsd.pkg.mk"