- show libsndio in the GStreamer preferences selector

- regen PLIST+WANTLIB while here
This commit is contained in:
ajacoutot 2009-01-12 14:36:12 +00:00
parent 58f620da90
commit 84c35d1a4c
3 changed files with 25 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.11 2008/12/17 18:45:36 jasper Exp $
# $OpenBSD: Makefile,v 1.12 2009/01/12 14:36:12 ajacoutot Exp $
COMMENT= GNOME media utilities
GNOME_PROJECT= gnome-media
GNOME_VERSION= 2.24.0.1
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
SHARED_LIBS += gnome-media-profiles 0.0 # .0.0
CATEGORIES= x11
@ -20,7 +20,7 @@ WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
c cairo crypto dbus-1 dbus-glib-1 esd expat fontconfig \
freetype gailutil gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 \
glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
gobject-2.0 gthread-2.0 gtk-x11-2.0 jpeg m pcre pixman-1 png \
gobject-2.0 gthread-2.0 gtk-x11-2.0 sndio m pcre pixman-1 png \
popt pthread ssl util xml2 z
MODULES= devel/gettext \

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-gstreamer-properties_pipeline-constants_c,v 1.1 2009/01/12 14:36:12 ajacoutot Exp $
--- gstreamer-properties/pipeline-constants.c.orig Mon Sep 1 13:42:32 2008
+++ gstreamer-properties/pipeline-constants.c Mon Jan 12 15:34:21 2009
@@ -76,6 +76,8 @@ GSTPPipelineDescription audiosink_pipelines[] = {
"osssink", NULL, FALSE, TEST_PIPE_SUPPLIED, audiosink_test_pipe, TRUE},
{PIPE_TYPE_AUDIOSINK, 0, N_("PulseAudio Sound Server"),
"pulsesink", NULL, FALSE, TEST_PIPE_SUPPLIED, audiosink_test_pipe, FALSE},
+ {PIPE_TYPE_AUDIOSINK, 0, N_("SNDIO - OpenBSD libsndio"),
+ "libsndiosink", NULL, FALSE, TEST_PIPE_SUPPLIED, audiosink_test_pipe, FALSE},
{PIPE_TYPE_AUDIOSINK, 0, N_("Custom"), NULL, NULL, TRUE, TEST_PIPE_SUPPLIED,
audiosink_test_pipe, TRUE}
};
@@ -125,6 +127,8 @@ GSTPPipelineDescription audiosrc_pipelines[] = {
TEST_PIPE_AUDIOSINK, NULL, FALSE},
{PIPE_TYPE_AUDIOSRC, 0, N_("PulseAudio Sound Server"), "pulsesrc", NULL,
FALSE, TEST_PIPE_AUDIOSINK, NULL, FALSE},
+ {PIPE_TYPE_AUDIOSRC, 0, N_("SNDIO - OpenBSD libsndio"),
+ "libsndiosrc", NULL, FALSE, TEST_PIPE_AUDIOSINK, NULL, FALSE},
/* Note: using triangle instead of sine for test sound so we
* can test the vorbis encoder as well (otherwise it'd compress too well) */
{PIPE_TYPE_AUDIOSRC, 0, N_("Test Sound"), "audiotestsrc wave=triangle is-live=true",

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2008/12/17 18:45:36 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2009/01/12 14:36:12 ajacoutot Exp $
%%SHARED%%
@bin bin/gnome-audio-profiles-properties
@bin bin/gnome-sound-recorder
@ -186,8 +186,6 @@ share/locale/as/LC_MESSAGES/
share/locale/as/LC_MESSAGES/gnome-media-2.0.mo
share/locale/az/LC_MESSAGES/gnome-media-2.0.mo
share/locale/be/LC_MESSAGES/gnome-media-2.0.mo
share/locale/be@latin/
share/locale/be@latin/LC_MESSAGES/
share/locale/be@latin/LC_MESSAGES/gnome-media-2.0.mo
share/locale/bg/LC_MESSAGES/gnome-media-2.0.mo
share/locale/bn/LC_MESSAGES/gnome-media-2.0.mo