Re-enable gst-mixer and volume control now that we have recent gstreamer.

This commit is contained in:
ajacoutot 2009-11-29 09:20:39 +00:00
parent 156669c382
commit 3801030f3e
3 changed files with 275 additions and 32 deletions

View File

@ -1,15 +1,13 @@
# $OpenBSD: Makefile,v 1.33 2009/10/18 13:01:47 ajacoutot Exp $
# XXX: When the moon turns blue, and we have a new gstreamer,
# re-enable gst-mixer and such.
# $OpenBSD: Makefile,v 1.34 2009/11/29 09:20:39 ajacoutot Exp $
COMMENT= GNOME media utilities
GNOME_PROJECT= gnome-media
GNOME_VERSION= 2.28.1
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
SHARED_LIBS += gnome-media-profiles 0.0 # .0.0
CATEGORIES= x11
# GPLv2/GFDLv1.1/LGPLv2
@ -21,20 +19,19 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
WANTLIB += dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pcre pixman-1 png pthread pthread-stubs
WANTLIB += xcb xml2 z
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gstbase-0.10
WANTLIB += gstreamer-0.10 gthread-2.0 gtk-x11-2.0 ltdl m ogg pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs vorbis vorbisfile xcb xml2 z
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= ::multimedia/gstreamer-0.10/plugins-good \
::audio/libcanberra
BUILD_DEPENDS= ::multimedia/gstreamer-0.10/plugins-good
LIB_DEPENDS= glade-2.0::devel/libglade2 \
gstreamer-0.10::multimedia/gstreamer-0.10/core \
pango-1.0,pangocairo-1.0,pangoft2-1.0::devel/pango
RUN_DEPENDS= ::audio/libcanberra
gstaudio-0.10.>=1,gstinterfaces-0.10:gstreamer-plugins-base->=0.10.25:multimedia/gstreamer-0.10/plugins-base \
canberra-gtk,canberra.>=1::audio/libcanberra
MODGNOME_HELP_FILES= Yes
USE_X11= Yes

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-gst-mixer_src_main_c,v 1.1 2009/01/25 18:56:21 ajacoutot Exp $
--- gst-mixer/src/main.c.orig Mon Sep 1 13:42:32 2008
+++ gst-mixer/src/main.c Sun Jan 25 14:02:02 2009
@@ -79,8 +79,13 @@ mixer_filter_func (GstMixer * mixer, gpointer user_dat
*p_count += 1;
+#ifdef __OpenBSD__
+ title = g_strdup_printf (_("%d"), *p_count);
+ name = g_strdup_printf ("%s (%s)", long_name, title);
+#else
title = g_strdup_printf (_("Unknown Volume Control %d"), *p_count);
name = g_strdup_printf ("%s (%s)", title, long_name);
+#endif
g_free (title);
}

View File

@ -1,6 +1,9 @@
@comment $OpenBSD: PLIST,v 1.10 2009/10/11 23:01:22 jasper Exp $
@comment $OpenBSD: PLIST,v 1.11 2009/11/29 09:20:39 ajacoutot Exp $
%%SHARED%%
@bin bin/gnome-audio-profiles-properties
@bin bin/gnome-sound-recorder
@bin bin/gnome-volume-control
@bin bin/gstreamer-properties
include/gnome-media/
include/gnome-media/profiles/
include/gnome-media/profiles/audio-profile-choose.h
@ -15,11 +18,20 @@ lib/libglade/2.0/libgnome-media-profiles.la
lib/libgnome-media-profiles.a
lib/libgnome-media-profiles.la
lib/pkgconfig/gnome-media-profiles.pc
share/applications/gnome-sound-recorder.desktop
share/applications/gnome-volume-control.desktop
share/applications/gstreamer-properties.desktop
share/gnome-media/
share/gnome-media/glade/
share/gnome-media/glade/gnome-audio-profiles.glade2
share/gnome-media/pixmaps/
share/gnome-media/pixmaps/chain-broken.png
share/gnome-media/pixmaps/chain.png
share/gnome-media/sounds/
share/gnome-media/sounds/gnome-sounds-default.xml
share/gnome-sound-recorder/
share/gnome-sound-recorder/ui/
share/gnome-sound-recorder/ui/ui.xml
share/gnome/help/gnome-audio-profiles/
share/gnome/help/gnome-audio-profiles/C/
share/gnome/help/gnome-audio-profiles/C/figures/
@ -27,6 +39,210 @@ share/gnome/help/gnome-audio-profiles/C/figures/gnome-audio-profiles-profile-win
share/gnome/help/gnome-audio-profiles/C/figures/gnome-audio-profiles-profiles-window.png
share/gnome/help/gnome-audio-profiles/C/gnome-audio-profiles.xml
share/gnome/help/gnome-audio-profiles/C/legal.xml
share/gnome/help/gnome-sound-recorder/
share/gnome/help/gnome-sound-recorder/C/
share/gnome/help/gnome-sound-recorder/C/figures/
share/gnome/help/gnome-sound-recorder/C/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/C/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/C/legal.xml
share/gnome/help/gnome-sound-recorder/ca/
share/gnome/help/gnome-sound-recorder/ca/figures/
share/gnome/help/gnome-sound-recorder/ca/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/ca/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/cs/
share/gnome/help/gnome-sound-recorder/cs/figures/
share/gnome/help/gnome-sound-recorder/cs/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/cs/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/de/
share/gnome/help/gnome-sound-recorder/de/figures/
share/gnome/help/gnome-sound-recorder/de/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/de/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/el/
share/gnome/help/gnome-sound-recorder/el/figures/
share/gnome/help/gnome-sound-recorder/el/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/el/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/en_GB/
share/gnome/help/gnome-sound-recorder/en_GB/figures/
share/gnome/help/gnome-sound-recorder/en_GB/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/en_GB/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/es/
share/gnome/help/gnome-sound-recorder/es/figures/
share/gnome/help/gnome-sound-recorder/es/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/es/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/fr/
share/gnome/help/gnome-sound-recorder/fr/figures/
share/gnome/help/gnome-sound-recorder/fr/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/fr/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/it/
share/gnome/help/gnome-sound-recorder/it/figures/
share/gnome/help/gnome-sound-recorder/it/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/it/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/oc/
share/gnome/help/gnome-sound-recorder/oc/figures/
share/gnome/help/gnome-sound-recorder/oc/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/oc/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/ru/
share/gnome/help/gnome-sound-recorder/ru/figures/
share/gnome/help/gnome-sound-recorder/ru/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/ru/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/sv/
share/gnome/help/gnome-sound-recorder/sv/figures/
share/gnome/help/gnome-sound-recorder/sv/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/sv/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/uk/
share/gnome/help/gnome-sound-recorder/uk/figures/
share/gnome/help/gnome-sound-recorder/uk/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/uk/gnome-sound-recorder.xml
share/gnome/help/gnome-sound-recorder/zh_CN/
share/gnome/help/gnome-sound-recorder/zh_CN/figures/
share/gnome/help/gnome-sound-recorder/zh_CN/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/zh_CN/gnome-sound-recorder.xml
share/gnome/help/gnome-volume-control/
share/gnome/help/gnome-volume-control/C/
share/gnome/help/gnome-volume-control/C/figures/
share/gnome/help/gnome-volume-control/C/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/C/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/C/legal.xml
share/gnome/help/gnome-volume-control/ca/
share/gnome/help/gnome-volume-control/ca/figures/
share/gnome/help/gnome-volume-control/ca/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/ca/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/cs/
share/gnome/help/gnome-volume-control/cs/figures/
share/gnome/help/gnome-volume-control/cs/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/cs/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/de/
share/gnome/help/gnome-volume-control/de/figures/
share/gnome/help/gnome-volume-control/de/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/de/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/el/
share/gnome/help/gnome-volume-control/el/figures/
share/gnome/help/gnome-volume-control/el/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/el/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/en_GB/
share/gnome/help/gnome-volume-control/en_GB/figures/
share/gnome/help/gnome-volume-control/en_GB/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/en_GB/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/es/
share/gnome/help/gnome-volume-control/es/figures/
share/gnome/help/gnome-volume-control/es/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/es/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/fr/
share/gnome/help/gnome-volume-control/fr/figures/
share/gnome/help/gnome-volume-control/fr/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/fr/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/it/
share/gnome/help/gnome-volume-control/it/figures/
share/gnome/help/gnome-volume-control/it/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/it/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/oc/
share/gnome/help/gnome-volume-control/oc/figures/
share/gnome/help/gnome-volume-control/oc/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/oc/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/ru/
share/gnome/help/gnome-volume-control/ru/figures/
share/gnome/help/gnome-volume-control/ru/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/ru/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/sv/
share/gnome/help/gnome-volume-control/sv/figures/
share/gnome/help/gnome-volume-control/sv/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/sv/gnome-volume-control.xml
share/gnome/help/gnome-volume-control/zh_CN/
share/gnome/help/gnome-volume-control/zh_CN/figures/
share/gnome/help/gnome-volume-control/zh_CN/figures/gnome-volume-control_window.png
share/gnome/help/gnome-volume-control/zh_CN/gnome-volume-control.xml
share/gnome/help/gstreamer-properties/
share/gnome/help/gstreamer-properties/C/
share/gnome/help/gstreamer-properties/C/figures/
share/gnome/help/gstreamer-properties/C/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/C/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/C/legal.xml
share/gnome/help/gstreamer-properties/ca/
share/gnome/help/gstreamer-properties/ca/figures/
share/gnome/help/gstreamer-properties/ca/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/ca/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/cs/
share/gnome/help/gstreamer-properties/cs/figures/
share/gnome/help/gstreamer-properties/cs/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/cs/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/de/
share/gnome/help/gstreamer-properties/de/figures/
share/gnome/help/gstreamer-properties/de/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/de/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/el/
share/gnome/help/gstreamer-properties/el/figures/
share/gnome/help/gstreamer-properties/el/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/el/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/en_GB/
share/gnome/help/gstreamer-properties/en_GB/figures/
share/gnome/help/gstreamer-properties/en_GB/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/en_GB/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/es/
share/gnome/help/gstreamer-properties/es/figures/
share/gnome/help/gstreamer-properties/es/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/es/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/fr/
share/gnome/help/gstreamer-properties/fr/figures/
share/gnome/help/gstreamer-properties/fr/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/fr/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/it/
share/gnome/help/gstreamer-properties/it/figures/
share/gnome/help/gstreamer-properties/it/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/it/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/oc/
share/gnome/help/gstreamer-properties/oc/figures/
share/gnome/help/gstreamer-properties/oc/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/oc/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/pt_BR/
share/gnome/help/gstreamer-properties/pt_BR/figures/
share/gnome/help/gstreamer-properties/pt_BR/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/pt_BR/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/ru/
share/gnome/help/gstreamer-properties/ru/figures/
share/gnome/help/gstreamer-properties/ru/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/ru/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/sv/
share/gnome/help/gstreamer-properties/sv/figures/
share/gnome/help/gstreamer-properties/sv/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/sv/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/th/
share/gnome/help/gstreamer-properties/th/figures/
share/gnome/help/gstreamer-properties/th/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/th/gstreamer-properties.xml
share/gnome/help/gstreamer-properties/zh_CN/
share/gnome/help/gstreamer-properties/zh_CN/figures/
share/gnome/help/gstreamer-properties/zh_CN/figures/gstreamer_properties_window.png
share/gnome/help/gstreamer-properties/zh_CN/gstreamer-properties.xml
share/gstreamer-properties/
share/gstreamer-properties/gstreamer-properties.ui
share/gstreamer-properties/icons/
share/gstreamer-properties/icons/gstreamer-properties.png
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/gnome-sound-recorder.png
share/icons/hicolor/16x16/devices/
share/icons/hicolor/16x16/devices/gvc-3d-sound.png
share/icons/hicolor/16x16/devices/gvc-headphones.png
share/icons/hicolor/16x16/devices/gvc-line-in.png
share/icons/hicolor/16x16/devices/gvc-tone.png
share/icons/hicolor/16x16/status/
share/icons/hicolor/16x16/status/audio-input-microphone-muted.png
share/icons/hicolor/22x22/
share/icons/hicolor/22x22/apps/
share/icons/hicolor/22x22/apps/gnome-sound-recorder.png
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/gnome-sound-recorder.png
share/icons/hicolor/32x32/
share/icons/hicolor/32x32/apps/
share/icons/hicolor/32x32/apps/gnome-sound-recorder.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/gnome-sound-recorder.png
share/icons/hicolor/48x48/apps/gstreamer-properties.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/gnome-sound-recorder.svg
share/locale/am/LC_MESSAGES/gnome-media-2.0.mo
share/locale/ar/LC_MESSAGES/gnome-media-2.0.mo
share/locale/as/LC_MESSAGES/gnome-media-2.0.mo
@ -112,11 +328,58 @@ share/locale/xh/LC_MESSAGES/gnome-media-2.0.mo
share/locale/zh_CN/LC_MESSAGES/gnome-media-2.0.mo
share/locale/zh_HK/LC_MESSAGES/gnome-media-2.0.mo
share/locale/zh_TW/LC_MESSAGES/gnome-media-2.0.mo
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
share/omf/gnome-audio-profiles/
share/omf/gnome-audio-profiles/gnome-audio-profiles-C.omf
share/omf/gnome-sound-recorder/
share/omf/gnome-sound-recorder/gnome-sound-recorder-C.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-ca.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-cs.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-de.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-el.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-en_GB.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-es.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-fr.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-it.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-oc.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-ru.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-sv.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-uk.omf
share/omf/gnome-sound-recorder/gnome-sound-recorder-zh_CN.omf
share/omf/gnome-volume-control/
share/omf/gnome-volume-control/gnome-volume-control-C.omf
share/omf/gnome-volume-control/gnome-volume-control-ca.omf
share/omf/gnome-volume-control/gnome-volume-control-cs.omf
share/omf/gnome-volume-control/gnome-volume-control-de.omf
share/omf/gnome-volume-control/gnome-volume-control-el.omf
share/omf/gnome-volume-control/gnome-volume-control-en_GB.omf
share/omf/gnome-volume-control/gnome-volume-control-es.omf
share/omf/gnome-volume-control/gnome-volume-control-fr.omf
share/omf/gnome-volume-control/gnome-volume-control-it.omf
share/omf/gnome-volume-control/gnome-volume-control-oc.omf
share/omf/gnome-volume-control/gnome-volume-control-ru.omf
share/omf/gnome-volume-control/gnome-volume-control-sv.omf
share/omf/gnome-volume-control/gnome-volume-control-zh_CN.omf
share/omf/gstreamer-properties/
share/omf/gstreamer-properties/gstreamer-properties-C.omf
share/omf/gstreamer-properties/gstreamer-properties-ca.omf
share/omf/gstreamer-properties/gstreamer-properties-cs.omf
share/omf/gstreamer-properties/gstreamer-properties-de.omf
share/omf/gstreamer-properties/gstreamer-properties-el.omf
share/omf/gstreamer-properties/gstreamer-properties-en_GB.omf
share/omf/gstreamer-properties/gstreamer-properties-es.omf
share/omf/gstreamer-properties/gstreamer-properties-fr.omf
share/omf/gstreamer-properties/gstreamer-properties-it.omf
share/omf/gstreamer-properties/gstreamer-properties-oc.omf
share/omf/gstreamer-properties/gstreamer-properties-pt_BR.omf
share/omf/gstreamer-properties/gstreamer-properties-ru.omf
share/omf/gstreamer-properties/gstreamer-properties-sv.omf
share/omf/gstreamer-properties/gstreamer-properties-th.omf
share/omf/gstreamer-properties/gstreamer-properties-zh_CN.omf
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
${SCHEMAS_INSTDIR}/
${SCHEMAS_INSTDIR}/gnome-audio-profiles.schemas
${SCHEMAS_INSTDIR}/gnome-sound-recorder.schemas
${SCHEMAS_INSTDIR}/gnome-volume-control.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
share/sounds/
share/sounds/gnome/