ports/123761: multimedia/libxine: add XCB support
Max Brazhnikov
makc at issp.ac.ru
Sat May 17 12:50:10 UTC 2008
>Number: 123761
>Category: ports
>Synopsis: multimedia/libxine: add XCB support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat May 17 12:50:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Apr 17 12:14:46 MSD 2008 makc at luna.dio.ru:/usr/obj/usr/src/sys/LUNA i386
>Description:
add support for X protocol C-language Binding (XCB) library
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/Makefile /home/makc/porting/ports/multimedia/libxine/Makefile
--- /usr/ports/multimedia/libxine/Makefile 2008-04-22 18:33:54.000000000 +0400
+++ /home/makc/porting/ports/multimedia/libxine/Makefile 2008-05-17 15:04:58.000000000 +0400
@@ -58,6 +58,7 @@
GNOMEVFS2 "Enable GnomeVFS2 support" off \
PULSEAUDIO "Enable PulseAudio support" off \
XVMC "Enable XvMC support" off \
+ XCB "Enable XCB support" off \
SMB "Enable SMB protocol support" off \
AALIB "Enable aalib support" off \
IMAGEMAGICK "Enable ImageMagick support" off \
@@ -135,6 +136,14 @@
PLIST_SUB+= WITH_XVMC="@comment "
.endif
+.if defined(WITH_XCB)
+LIB_DEPENDS+= xcb.1:${PORTSDIR}/x11/libxcb
+PLIST_SUB+= WITH_XCB=""
+.else
+PLIST_SUB+= WITH_XCB="@comment "
+CONFIGURE_ARGS+= --without-xcb
+.endif
+
.if defined(WITH_SMB)
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
PLIST_SUB+= WITH_SMB=""
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/pkg-plist /home/makc/porting/ports/multimedia/libxine/pkg-plist
--- /usr/ports/multimedia/libxine/pkg-plist 2008-04-22 18:33:54.000000000 +0400
+++ /home/makc/porting/ports/multimedia/libxine/pkg-plist 2008-05-17 15:16:22.000000000 +0400
@@ -144,6 +144,8 @@
%%PLUGINSDIR%%/xineplug_vo_out_raw.so
%%PLUGINSDIR%%/xineplug_vo_out_sdl.so
%%WITH_VIDIX%%%%PLUGINSDIR%%/xineplug_vo_out_vidix.so
+%%WITH_XCB%%%%PLUGINSDIR%%/xineplug_vo_out_xcbshm.so
+%%WITH_XCB%%%%PLUGINSDIR%%/xineplug_vo_out_xcbxv.so
%%PLUGINSDIR%%/xineplug_vo_out_xshm.so
%%PLUGINSDIR%%/xineplug_vo_out_xv.so
%%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xvmc.so
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list