diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-23 08:35:12 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-23 08:35:12 +0800 |
commit | 3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf (patch) | |
tree | 2a8e1718dfc5aa2d6e291f94f4e6bab1660de892 /audio | |
parent | 3c295ca877066fadc2b0fc0944a225aa11afc2d9 (diff) | |
download | marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar.gz marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar.bz2 marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar.lz marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar.xz marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.tar.zst marcuscom-ports-3d38e839b62dec1fb6b9a9e9d9eefc0e8d5e10bf.zip |
Sync with FreeBSD ports, and clean up dependencies.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12678 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gnome-media/Makefile | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile index 319dfbd23..ce5a8b34f 100644 --- a/audio/gnome-media/Makefile +++ b/audio/gnome-media/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/gnome-media/Makefile,v 1.135 2009/07/28 10:23:33 kwm Exp $ +# $MCom: ports/audio/gnome-media/Makefile,v 1.136 2009/08/13 23:25:53 kwm Exp $ # PORTNAME= gnome-media PORTVERSION= 2.27.90.fix +PORTREVISION= 1 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -15,8 +16,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Multimedia applications for the GNOME 2 desktop -LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio \ - canberra-gtk.0:${PORTSDIR}/audio/libcanberra \ +LIB_DEPENDS= canberra-gtk.0:${PORTSDIR}/audio/libcanberra \ unique-1.0.2:${PORTSDIR}/x11-toolkits/unique USE_BZIP2= yes @@ -27,16 +27,23 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes GNOME_DESKTOP_VERSION=2 -USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop -USE_GSTREAMER= cdparanoia esound gconf good +USE_GNOME= gnomeprefix gnomehack intlhack gtk20 libxml2 libglade2 \ + gconf2 +USE_GSTREAMER= gconf good CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" GCONF_SCHEMAS= gnome-audio-profiles.schemas \ gnome-sound-recorder.schemas -post-patch: - @${REINPLACE_CMD} -e 's|acd0c|acd0|g ; s|== "xyes|= "xyes|g' \ - ${WRKSRC}/configure +OPTIONS= PULSEAUDIO "Enable the PulseAudio module" on -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(WITH_PULSEAUDIO) +LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio +.else +CONFIGURE_ARGS+=--disable-pulse +.endif + +.include <bsd.port.post.mk> |