pkgsrc-Changes archive

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

CVS commit: pkgsrc/meta-pkgs/gstreamer1-default-backend



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 17 11:12:59 UTC 2021

Added Files:
        pkgsrc/meta-pkgs/gstreamer1-default-backend: DESCR Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/meta-pkgs/gstreamer1-default-backend/DESCR \
    pkgsrc/meta-pkgs/gstreamer1-default-backend/Makefile

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

Added files:

Index: pkgsrc/meta-pkgs/gstreamer1-default-backend/DESCR
diff -u /dev/null pkgsrc/meta-pkgs/gstreamer1-default-backend/DESCR:1.1
--- /dev/null   Tue Aug 17 11:12:59 2021
+++ pkgsrc/meta-pkgs/gstreamer1-default-backend/DESCR   Tue Aug 17 11:12:59 2021
@@ -0,0 +1,2 @@
+This meta package provides the default audio backend for gstreamer1
+that is best suited to your operating system.
Index: pkgsrc/meta-pkgs/gstreamer1-default-backend/Makefile
diff -u /dev/null pkgsrc/meta-pkgs/gstreamer1-default-backend/Makefile:1.1
--- /dev/null   Tue Aug 17 11:12:59 2021
+++ pkgsrc/meta-pkgs/gstreamer1-default-backend/Makefile        Tue Aug 17 11:12:59 2021
@@ -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