Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 17:36:57 +0100 (CET)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Hendrik Scholz <hendrik@scholz.net>
Subject:   ports/50050: maintainer update: graphics/totem: add WITH_DVD know
Message-ID:  <200303161636.h2GGav6v021576@goanna.lan.raisdorf.net>

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

>Number:         50050
>Category:       ports
>Synopsis:       maintainer update: graphics/totem: add WITH_DVD know
>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:   Sun Mar 16 09:40:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NetUSE AG 
>Environment:
System: FreeBSD goanna.lan.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Mar 12 16:36:57 CET 2003 hscholz@goanna.lan.raisdorf.net:/usr/src/sys/i386/compile/GOANNA i386


	
>Description:
totem is a movie player based on xine and thus can use xine plugins.
This patch adds a WITH_DVD knob which itself adds a libdvdnav dependency
to allow playback of DVDs in totem.

Changes:

o WITH_DVD knob
o bump PORTREVISION

>How-To-Repeat:
	
>Fix:

	

--- totem-0.95.1.1.patch begins here ---
diff -urP totem-0.95.1/Makefile totem/Makefile
--- totem-0.95.1/Makefile	Sun Mar 16 17:09:41 2003
+++ totem/Makefile	Sun Mar 16 17:14:13 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	totem
 PORTVERSION=	0.95.1
+PORTREVISION=	1
 CATEGORIES=	graphics gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.95
@@ -17,6 +18,9 @@
 
 LIB_DEPENDS=	xine.4:${PORTSDIR}/multimedia/libxine \
 		gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
+.if defined(WITH_DVD)
+LIB_DEPENDS+=	dvdnav.1:${PORTSDIR}/multimedia/libdvdnav
+.endif
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
@@ -26,5 +30,12 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 	       	LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+.ifndef (WITH_DVD)
+pre-everything:
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} "Define WITH_DVD to add DVD playback support."
+	@${ECHO_CMD} ""
+.endif
 
 .include <bsd.port.mk>
--- totem-0.95.1.1.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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