pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/vlc does not configure (x11-xcb) (blocking bug)



  I've confirmed the patch provided by obache san packages
fine for Native X11 environment. on
  NetBSD/i386 5.1 Release
and vlc works fine on the machine to view *.avi file.

Honestly, the patch is rejected at the first time, so I have
adjusted. 
  (strange ? time stamps doesn't explain the rejection,
  probably TAB car or extra space char on the first column ?)
---
Makoto Fujiwara

Index: multimedia/vlc/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/multimedia/vlc/Makefile,v
retrieving revision 1.111
diff -u -r1.111 Makefile
--- multimedia/vlc/Makefile     22 Apr 2011 13:42:03 -0000      1.111
+++ multimedia/vlc/Makefile     11 May 2011 07:33:27 -0000
@@ -26,7 +26,7 @@
 CONFIGURE_ARGS+=       --with-kde-solid=${PREFIX}/share/kde/apps/solid/actions
 PTHREAD_OPTS+=         require
 USE_LANGUAGES=         c99 c++
-PLIST_VARS+=           x86simd altivec v4l2 vcd cdda
+PLIST_VARS+=           x86simd altivec v4l2 vcd cdda glx
 
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
@@ -152,6 +152,11 @@
 # libX11 should be built with xcb enabled
 BUILDLINK_API_DEPENDS.libX11+= libX11>=1.3.5
 .include "../../x11/libX11/buildlink3.mk"
+.if ${X11_TYPE} == "modular" || exists(${X11BASE}/lib/pkgconfig/xcb.pc)
+PLIST.glx=             yes
+.else
+CONFIGURE_ARGS+=       --disable-glx
+.endif
 # needs x264_encoder_delayed_frames
 BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20100201
 .include "../../multimedia/x264-devel/buildlink3.mk"
Index: multimedia/vlc/PLIST
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/multimedia/vlc/PLIST,v
retrieving revision 1.41
diff -u -r1.41 PLIST
--- multimedia/vlc/PLIST        6 Apr 2011 08:14:21 -0000       1.41
+++ multimedia/vlc/PLIST        11 May 2011 07:33:55 -0000
@@ -339,7 +339,7 @@
 ${PLIST.x11}lib/vlc/plugins/video_output/libsnapshot_plugin.la
 lib/vlc/plugins/video_output/libvmem_plugin.la
 lib/vlc/plugins/video_output/libvout_wrapper_plugin.la
-${PLIST.x11}lib/vlc/plugins/video_output/libxcb_glx_plugin.la
+${PLIST.glx}lib/vlc/plugins/video_output/libxcb_glx_plugin.la
 ${PLIST.x11}lib/vlc/plugins/video_output/libxcb_window_plugin.la
 ${PLIST.x11}lib/vlc/plugins/video_output/libxcb_x11_plugin.la
 ${PLIST.x11}lib/vlc/plugins/video_output/libxcb_xv_plugin.la


Home | Main Index | Thread Index | Old Index