Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 17:55:31 +0800
From:      "Zastupov Stepan [RedChrom]" <redchrom@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91384: [maintainer update] multimedia/audacious
Message-ID:  <20060106095531.GA5923@asylum>
Resent-Message-ID: <200601061000.k06A0FWu085393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91384
>Category:       ports
>Synopsis:       [maintainer update] multimedia/audacious
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 10:00:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     RedChrom
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
RedChrom
>Environment:
System: FreeBSD asylum 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 6 04:29:05 IRKT 2006 root@asylum:/usr/obj/usr/src/sys/ASYLUM i386
>Description:
	Added support for gnome (gconf2, gnomevfs2) and for libvisual.
>How-To-Repeat:
	Please apply the patch.
>Fix:

diff -urN audacious.old/Makefile audacious/Makefile
--- audacious.old/Makefile	Thu Jan  5 04:15:59 2006
+++ audacious/Makefile	Fri Jan  6 17:14:05 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	audacious
 PORTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://audacious-media-player.org/release/
 DISTNAME=	audacious-${PORTVERSION}
@@ -30,8 +31,11 @@
 		INPUT_PLUGINS="${INPUT_PLUGINS}" \
 		OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
 		VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
+
 MAN1=		audacious.1
 
+PORTDOCS=	README AUTHORS ChangeLog NEWS FAQ
+
 INPUT_PLUGINS=	cdaudio,mpg123,wav,tonegen,wma,console
 OUTPUT_PLUGINS=	OSS,disk_writer,crossfade
 VISUALIZATION_PLUGINS=	blur_scope
@@ -39,9 +43,11 @@
 OPTIONS=	VORBIS	"Enable Ogg Vorbis input" on \
 		FLAC	"Enable flac input" on \
 		ESOUND	"Enable Esound output"  off \
+		VISUAL	"Enable libvisual plugin" off \
 		ID3V2	"Enable id3v2 editing" off \
-		SIMD	"build with x86 SIMD(3DNow!/MMX) instructions support" on \
+		SIMD	"Build with x86 SIMD(3DNow!/MMX) instructions support" on \
 		SDL	"Enable SDL support" off \
+		GNOME	"Build with gnomevfs/gconf support" off
 
 .include <bsd.port.pre.mk>
 
@@ -77,6 +83,14 @@
 PLIST_SUB+=	ESDPLUGIN:="@comment "
 .endif
 
+.if defined(WITH_VISUAL)
+PLIST_SUB+=	LIBVISUAL:=""
+VISUALIZATION_PLUGINS+=	libvisual-proxy
+LIB_DEPENDS+=	visual.0:${PORTSDIR}/graphics/libvisual
+.else
+PLIST_SUB+=	LIBVISUAL:="@comment "
+.endif
+
 .if defined(WITH_ID3V2)
 LIB_DEPENDS+=	id3-3.8.3:${PORTSDIR}/audio/id3lib
 .endif
@@ -93,6 +107,11 @@
 USE_SDL=	sdl
 .endif
 
+.if defined(WITH_GNOME)
+USE_GNOME+=	gconf2 gnomevfs2
+CONFIGURE_ARGS+=	--enable-gnome-vfs --enable-gconf
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
 		${WRKSRC}/Makefile.in
@@ -101,5 +120,24 @@
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
+.if defined(WITH_GNOME)
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "You have installed audacious with gconf support."
+	@${ECHO_MSG} "ALL PRESETS will be storing in the gconf database."
+	@${ECHO_MSG} ""
+.endif
+.if defined(WITH_VISUAL)
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "You have installed audacious with libvisual support."
+	@${ECHO_MSG} "If you want to be able to access any visualizations,"
+	@${ECHO_MSG} "you must install the graphics/libvisual-plugins port."
+	@${ECHO_MSG} ""
+.endif
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for i in README AUTHORS ChangeLog NEWS FAQ
+	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.post.mk>
diff -urN audacious.old/pkg-plist audacious/pkg-plist
--- audacious.old/pkg-plist	Thu Jan  5 04:15:59 2006
+++ audacious/pkg-plist	Thu Jan  5 05:23:49 2006
@@ -27,6 +27,7 @@
 lib/audacious/Output/libcrossfade.so.0
 lib/audacious/Output/libdisk_writer.so
 lib/audacious/Visualization/libbscope.so
+%%LIBVISUAL:%%lib/audacious/Visualization/libvisual_proxy.so
 lib/libaudacious.a
 lib/libaudacious.so
 lib/libaudacious.so.2
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060106095531.GA5923>