diff options
Diffstat (limited to 'audio/gnome-media')
-rw-r--r-- | audio/gnome-media/Makefile | 20 | ||||
-rw-r--r-- | audio/gnome-media/pkg-plist | 90 |
2 files changed, 61 insertions, 49 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile index bf7931c6acb0..986aa913b7d3 100644 --- a/audio/gnome-media/Makefile +++ b/audio/gnome-media/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/gnome-media/Makefile,v 1.151 2010/04/02 01:29:55 avl Exp $ +# $MCom: ports-stable/audio/gnome-media/Makefile,v 1.2 2010/06/25 06:51:09 kwm Exp $ # PORTNAME= gnome-media PORTVERSION= 2.30.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -18,7 +18,6 @@ COMMENT= Multimedia applications for the GNOME 2 desktop BUILD_DEPENDS= xml2po:${PORTSDIR}/textproc/gnome-doc-utils LIB_DEPENDS= canberra-gtk.0:${PORTSDIR}/audio/libcanberra \ - pulse.0:${PORTSDIR}/audio/pulseaudio \ unique-1.0.2:${PORTSDIR}/x11-toolkits/unique USE_BZIP2= yes @@ -38,8 +37,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GCONF_SCHEMAS= gnome-audio-profiles.schemas \ gnome-sound-recorder.schemas +OPTIONS= PULSEAUDIO "Enable Pulse Audio support" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_PULSEAUDIO) +LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio +CONFIGURE_ARGS+=--enable-pulseaudio +PLIST_SUB+= PULSE="" +.else +CONFIGURE_ARGS+=--disable-pulseaudio +PLIST_SUB+= PULSE="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|have_gladeui=true|have_gladeui=false|g' \ ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/gnome-media/pkg-plist b/audio/gnome-media/pkg-plist index dd6d9a556d36..cb85a917f590 100644 --- a/audio/gnome-media/pkg-plist +++ b/audio/gnome-media/pkg-plist @@ -1,9 +1,9 @@ bin/gnome-audio-profiles-properties bin/gnome-sound-recorder -bin/gnome-volume-control -bin/gnome-volume-control-applet +%%PULSE%%bin/gnome-volume-control +%%PULSE%%bin/gnome-volume-control-applet bin/gstreamer-properties -etc/xdg/autostart/gnome-volume-control-applet.desktop +%%PULSE%%etc/xdg/autostart/gnome-volume-control-applet.desktop include/gnome-media/profiles/audio-profile-choose.h include/gnome-media/profiles/audio-profile-edit.h include/gnome-media/profiles/audio-profile.h @@ -15,30 +15,30 @@ lib/libgnome-media-profiles.so lib/libgnome-media-profiles.so.0 libdata/pkgconfig/gnome-media-profiles.pc share/applications/gnome-sound-recorder.desktop -share/applications/gnome-volume-control.desktop +%%PULSE%%share/applications/gnome-volume-control.desktop share/applications/gstreamer-properties.desktop %%DATADIR%%/gnome-audio-profile-edit.ui %%DATADIR%%/gnome-audio-profile-new.ui -%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-high.png -%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-low.png -%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-medium.png -%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-muted.png -%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-high.png -%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-low.png -%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-medium.png -%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-muted.png -%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-high.png -%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-low.png -%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-medium.png -%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-muted.png -%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-high.png -%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-low.png -%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-medium.png -%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-muted.png -%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-high.svg -%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-low.svg -%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-medium.svg -%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-muted.svg +%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-high.png +%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-low.png +%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-medium.png +%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-muted.png +%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-high.png +%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-low.png +%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-medium.png +%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-muted.png +%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-high.png +%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-low.png +%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-medium.png +%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-muted.png +%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-high.png +%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-low.png +%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-medium.png +%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-muted.png +%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-high.svg +%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-low.svg +%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-medium.svg +%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-muted.svg %%DATADIR%%/sounds/gnome-sounds-default.xml share/gnome-sound-recorder/ui/ui.xml share/gnome/help/gnome-audio-profiles/C/figures/gnome-audio-profiles-profile-window.png @@ -132,21 +132,21 @@ share/gnome/help/gstreamer-properties/zh_CN/gstreamer-properties.xml share/gstreamer-properties/gstreamer-properties.ui share/gstreamer-properties/icons/gstreamer-properties.png share/icons/hicolor/16x16/apps/gnome-sound-recorder.png -share/icons/hicolor/16x16/apps/gnome-volume-control.png -share/icons/hicolor/16x16/apps/gnome-volume-control.svg +%%PULSE%%share/icons/hicolor/16x16/apps/gnome-volume-control.png +%%PULSE%%share/icons/hicolor/16x16/apps/gnome-volume-control.svg share/icons/hicolor/22x22/apps/gnome-sound-recorder.png -share/icons/hicolor/22x22/apps/gnome-volume-control.png -share/icons/hicolor/22x22/apps/gnome-volume-control.svg +%%PULSE%%share/icons/hicolor/22x22/apps/gnome-volume-control.png +%%PULSE%%share/icons/hicolor/22x22/apps/gnome-volume-control.svg share/icons/hicolor/24x24/apps/gnome-sound-recorder.png -share/icons/hicolor/24x24/apps/gnome-volume-control.png +%%PULSE%%share/icons/hicolor/24x24/apps/gnome-volume-control.png share/icons/hicolor/32x32/apps/gnome-sound-recorder.png -share/icons/hicolor/32x32/apps/gnome-volume-control.png -share/icons/hicolor/32x32/apps/gnome-volume-control.svg +%%PULSE%%share/icons/hicolor/32x32/apps/gnome-volume-control.png +%%PULSE%%share/icons/hicolor/32x32/apps/gnome-volume-control.svg share/icons/hicolor/48x48/apps/gnome-sound-recorder.png -share/icons/hicolor/48x48/apps/gnome-volume-control.png +%%PULSE%%share/icons/hicolor/48x48/apps/gnome-volume-control.png share/icons/hicolor/48x48/apps/gstreamer-properties.png share/icons/hicolor/scalable/apps/gnome-sound-recorder.svg -share/icons/hicolor/scalable/apps/gnome-volume-control.svg +%%PULSE%%share/icons/hicolor/scalable/apps/gnome-volume-control.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 @@ -362,18 +362,18 @@ share/sounds/gnome/default/alerts/sonar.ogg @dirrm share/gnome-sound-recorder/ui @dirrm share/gnome-sound-recorder @dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/icons/hicolor/scalable/status -@dirrm %%DATADIR%%/icons/hicolor/scalable -@dirrm %%DATADIR%%/icons/hicolor/32x32/status -@dirrm %%DATADIR%%/icons/hicolor/32x32 -@dirrm %%DATADIR%%/icons/hicolor/24x24/status -@dirrm %%DATADIR%%/icons/hicolor/24x24 -@dirrm %%DATADIR%%/icons/hicolor/22x22/status -@dirrm %%DATADIR%%/icons/hicolor/22x22 -@dirrm %%DATADIR%%/icons/hicolor/16x16/status -@dirrm %%DATADIR%%/icons/hicolor/16x16 -@dirrm %%DATADIR%%/icons/hicolor -@dirrm %%DATADIR%%/icons +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/scalable/status +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/scalable +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/32x32/status +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/32x32 +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/24x24/status +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/24x24 +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/22x22/status +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/22x22 +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/16x16/status +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor/16x16 +%%PULSE%%@dirrm %%DATADIR%%/icons/hicolor +%%PULSE%%@dirrm %%DATADIR%%/icons @dirrm %%DATADIR%% @dirrmtry share/applications @dirrm include/gnome-media/profiles |