Re-add the gnome-sound-recorder. It works fine now as long as pulseaudio

isn't running (which we lack sndio support for).
This commit is contained in:
ajacoutot 2011-09-30 09:31:49 +00:00
parent 76d6da9841
commit c66dea58f5
3 changed files with 130 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.56 2011/09/28 16:26:15 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.57 2011/09/30 09:31:49 ajacoutot Exp $
# gnome-volume-control needs pulseaudio.
@ -6,7 +6,9 @@ COMMENT= GNOME media utilities
GNOME_PROJECT= gnome-media
GNOME_VERSION= 2.91.2
REVISION= 4
REVISION= 5
EXTRACT_SUFX= .tar.bz2
# GPLv2/GFDLv1.1/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
@ -16,35 +18,30 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0
WANTLIB += c cairo cairo-gobject drm expat fontconfig freetype
WANTLIB += gconf-2 gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gstinterfaces-0.10 gstreamer-0.10 gthread-2.0
WANTLIB += gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
WANTLIB += xml2 z ffi kvm
EXTRACT_SUFX= .tar.bz2
WANTLIB += c cairo cairo-gobject dbus-1 dbus-glib-1 drm expat
WANTLIB += ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gnome-media-profiles-3.0 gobject-2.0
WANTLIB += gstinterfaces-0.10 gstreamer-0.10 gthread-2.0 gtk-3
WANTLIB += kvm m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread pthread-stubs xcb xcb-render xcb-shm xml2
WANTLIB += z
TAR= ${LOCALBASE}/bin/gtar
MODULES= devel/gettext \
x11/gnome
x11/gnome \
devel/gconf2
BUILD_DEPENDS= archivers/gtar \
multimedia/gstreamer-0.10/plugins-good
RUN_DEPENDS= multimedia/gstreamer-0.10/plugins-good
LIB_DEPENDS= multimedia/gstreamer-0.10/plugins-base \
x11/gnome/libgnome-media-profiles \
x11/gtk+3
MODGNOME_TOOLS= yelp
MODGNOME_DESKTOP_FILE= Yes
# XXX recording doesn't work and "Device" appears as "Unsupported" in
# `gstreamer-properties' (needs pulseaudio); when this is fixed,
# libgnome-media-profiles should be a LIB_DEPENDS
BUILD_DEPENDS+= x11/gnome/libgnome-media-profiles
RUN_DEPENDS+= x11/gnome/libgnome-media-profiles
CONFIGURE_ARGS += --disable-grecord
MODGCONF2_SCHEMAS_DIR= gnome-media
# XXX libcanberra-gtk3 is needed to build the sound-theme which we
# remove because it's already shipped by gnome-control-center and would

View File

@ -1,3 +1,4 @@
This package contains a few media utilities for the GNOME desktop:
* the GNOME Sound Recorder
* the GStreamer Multimedia Systems Selector

View File

@ -1,12 +1,85 @@
@comment $OpenBSD: PLIST,v 1.18 2011/09/25 12:42:46 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.19 2011/09/30 09:31:49 ajacoutot Exp $
@pkgpath x11/gnome/media
@pkgpath x11/gnome/media,-main
@pkgpath x11/gnome/media,-glade3
@bin bin/gnome-sound-recorder
@bin bin/gstreamer-properties
share/applications/gnome-sound-recorder.desktop
share/applications/gstreamer-properties.desktop
share/gnome/
share/gnome-media/
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/
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/da/
share/gnome/help/gnome-sound-recorder/da/figures/
share/gnome/help/gnome-sound-recorder/da/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/da/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/sl/
share/gnome/help/gnome-sound-recorder/sl/figures/
share/gnome/help/gnome-sound-recorder/sl/figures/grecord_window.png
share/gnome/help/gnome-sound-recorder/sl/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/gstreamer-properties/
share/gnome/help/gstreamer-properties/C/
share/gnome/help/gstreamer-properties/C/figures/
@ -89,9 +162,27 @@ share/gstreamer-properties/
share/gstreamer-properties/gstreamer-properties.ui
share/gstreamer-properties/icons/
share/gstreamer-properties/icons/gstreamer-properties.png
share/icons/
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/gnome-sound-recorder.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/af/LC_MESSAGES/gnome-media-2.0.mo
share/locale/am/LC_MESSAGES/gnome-media-2.0.mo
share/locale/ar/LC_MESSAGES/gnome-media-2.0.mo
@ -182,6 +273,24 @@ 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
share/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-da.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-sl.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/gstreamer-properties/
share/omf/gstreamer-properties/gstreamer-properties-C.omf
share/omf/gstreamer-properties/gstreamer-properties-ca.omf
@ -202,6 +311,10 @@ share/omf/gstreamer-properties/gstreamer-properties-sv.omf
share/omf/gstreamer-properties/gstreamer-properties-th.omf
share/omf/gstreamer-properties/gstreamer-properties-uk.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-sound-recorder.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
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true