pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/meta-pkgs/gstreamer1-default-backend meta-pkgs/gstream...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21ade5cd22bc
branches:  trunk
changeset: 457108:21ade5cd22bc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 17 11:12:59 2021 +0000

description:
meta-pkgs/gstreamer1-default-backend: import gstreamer1-default-backend-1.0

This meta package provides the default audio backend for gstreamer1
that is best suited to your operating system.

diffstat:

 meta-pkgs/gstreamer1-default-backend/DESCR    |   2 +
 meta-pkgs/gstreamer1-default-backend/Makefile |  40 +++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 826cb3c35a9a -r 21ade5cd22bc meta-pkgs/gstreamer1-default-backend/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/gstreamer1-default-backend/DESCR        Tue Aug 17 11:12:59 2021 +0000
@@ -0,0 +1,2 @@
+This meta package provides the default audio backend for gstreamer1
+that is best suited to your operating system.
diff -r 826cb3c35a9a -r 21ade5cd22bc meta-pkgs/gstreamer1-default-backend/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/gstreamer1-default-backend/Makefile     Tue Aug 17 11:12:59 2021 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2021/08/17 11:12:59 wiz Exp $
+
+DISTNAME=      gstreamer1-default-backend-1.0
+CATEGORIES=    meta-pkgs audio multimedia
+MASTER_SITES=  # empty
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+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"
+
+.if ${OPSYS} == "Linux"
+PKG_SUGGESTED_OPTIONS= alsa
+.endif
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
+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"



Home | Main Index | Thread Index | Old Index