FreeBSD Bugzilla – Attachment 42440 Details for
Bug 66186
[PATCH] multimedia/totem: [Knob for GSTREAMER support|cdrom/dvd support ]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
totem-0.99.11.patch
totem-0.99.11.patch (text/plain), 2.66 KB, created by
Michael Johnson
on 2004-05-03 04:00:33 UTC
(
hide
)
Description:
totem-0.99.11.patch
Filename:
MIME Type:
Creator:
Michael Johnson
Created:
2004-05-03 04:00:33 UTC
Size:
2.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/multimedia/totem/Makefile,v >retrieving revision 1.36 >diff -u -r1.36 Makefile >--- Makefile 1 May 2004 22:28:07 -0000 1.36 >+++ Makefile 3 May 2004 02:54:16 -0000 >@@ -15,8 +15,7 @@ > MAINTAINER= hendrik@scholz.net > COMMENT= A Xine-based video player for the Gnome 2 Desktop > >-LIB_DEPENDS= xine.9:${PORTSDIR}/multimedia/libxine >- >+USE_REINPLACE= yes > USE_BZIP2= yes > USE_X_PREFIX= yes > USE_GNOME= gnomeprefix intlhack gnomehack gnomedesktop >@@ -25,22 +24,66 @@ > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ > LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lXrandr" > >+OPTIONS= GSTREAMER_OVERRIDE "Use GStreamer instead of xine" off \ >+ DVDNAV "Enable DVD support" on >+ > MAN1= totem.1 > > .include <bsd.port.pre.mk> > >-.if exists(${LOCALBASE}/lib/libdvdnav.so) >-WITH_DVDNAV= yes >+.if defined(WITH_GSTREAMER_OVERRIDE) >+CONFIGURE_ARGS+=--enable-gstreamer >+USE_GNOME+= gstreamerplugins >+WITHOUT_DVDNAV= yes >+.else >+LIB_DEPENDS+= xine.9:${PORTSDIR}/multimedia/libxine > .endif > >-.if defined(WITH_DVDNAV) >+.if defined(WITH_DVDNAV) && !defined(WITHOUT_DVDNAV) > LIB_DEPENDS+= dvdnav.3:${PORTSDIR}/multimedia/libdvdnav > .endif > >-.if !defined(WITH_DVDNAV) >+.if defined(WITH_CDROM_DEVICE) >+DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} >+.else >+.if ${OSVERSION} < 500000 >+DEFAULT_CDROM_DEVICE=/dev/acd0c >+.else >+DEFAULT_CDROM_DEVICE=/dev/acd0 >+.endif >+.endif >+ >+.if defined(WITH_GSTREAMER_OVERRIDE) >+.if defined(WITH_DVD_DEVICE) >+DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} >+.else >+.if ${OSVERSION} < 500000 >+DEFAULT_DVD_DEVICE=/dev/acd0c >+.else >+DEFAULT_DVD_DEVICE=/dev/acd0 >+.endif >+.endif >+.endif >+ > pre-everything:: >- @${ECHO_MSG} "" >- @${ECHO_MSG} "You can enable DVD support by defining WITH_DVDNAV" >+ @${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}" >+ @${ECHO_MSG} "===> Define WITH_CDROM_DEVICE if you want to change the default" >+ @${ECHO_MSG} "===> For example, 'make WITH_CDROM_DEVICE=\"/dev/somedevice\"'" >+ @${ECHO_MSG} "===>" >+.if defined(WITH_GSTREAMER_OVERRIDE) >+ @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}" >+ @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default" >+ @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" >+.endif >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ >+ ${WRKSRC}/src/cd-drive.c \ >+ ${WRKSRC}/src/totem-preferences.c \ >+ ${WRKSRC}/src/bacon-cd-selection.c >+.if defined(WITH_GSTREAMER_OVERRIDE) >+ @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ >+ ${WRKSRC}/src/bacon-video-widget-gst.c > .endif > > .include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66186
: 42440