pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xine-lib Some plugins arent built if you don'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4baecf5e847a
branches:  trunk
changeset: 463316:4baecf5e847a
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Nov 05 21:33:42 2003 +0000

description:
Some plugins arent built if you don't have a shared libXv.

Should fix PR pkg/23025 and Alistair's bulk build.

diffstat:

 graphics/xine-lib/Makefile |  8 +++++++-
 graphics/xine-lib/PLIST    |  6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (49 lines):

diff -r b976809e8ccf -r 4baecf5e847a graphics/xine-lib/Makefile
--- a/graphics/xine-lib/Makefile        Wed Nov 05 21:04:07 2003 +0000
+++ b/graphics/xine-lib/Makefile        Wed Nov 05 21:33:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2003/09/30 12:17:01 seb Exp $
+# $NetBSD: Makefile,v 1.15 2003/11/05 21:33:42 markd Exp $
 #
 
 DISTNAME=              xine-lib-1-rc0a
@@ -32,6 +32,12 @@
 CONFIGURE_ENV+=                PNG_CFLAGS="-I${PREFIX}/include"
 CONFIGURE_ENV+=                PNG_LIBS="-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpng"
 
+.if !exists(${X11BASE}/lib/libXv.so)
+PLIST_SUBST+=          XV_WORKAROUND="@comment "
+.else
+PLIST_SUBST+=          XV_WORKAROUND=""
+.endif
+
 .include "../../audio/esound/buildlink2.mk"
 .include "../../audio/flac/buildlink2.mk"
 .include "../../audio/libvorbis/buildlink2.mk"
diff -r b976809e8ccf -r 4baecf5e847a graphics/xine-lib/PLIST
--- a/graphics/xine-lib/PLIST   Wed Nov 05 21:04:07 2003 +0000
+++ b/graphics/xine-lib/PLIST   Wed Nov 05 21:33:42 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2003/10/05 09:27:13 mycroft Exp $
+@comment $NetBSD: PLIST,v 1.6 2003/11/05 21:33:42 markd Exp $
 bin/xine-config
 include/xine.h
 include/xine/attributes.h
@@ -45,7 +45,7 @@
 lib/xine/plugins/1.0.0/post/xineplug_post_switch.a
 lib/xine/plugins/1.0.0/post/xineplug_post_switch.so
 lib/xine/plugins/1.0.0/post/xineplug_post_tvtime.a
-lib/xine/plugins/1.0.0/post/xineplug_post_tvtime.so
+${XV_WORKAROUND}lib/xine/plugins/1.0.0/post/xineplug_post_tvtime.so
 lib/xine/plugins/1.0.0/post/xineplug_post_visualizations.a
 lib/xine/plugins/1.0.0/post/xineplug_post_visualizations.so
 lib/xine/plugins/1.0.0/xineplug_ao_out_esd.a
@@ -213,7 +213,7 @@
 lib/xine/plugins/1.0.0/xineplug_vo_out_xshm.a
 lib/xine/plugins/1.0.0/xineplug_vo_out_xshm.so
 lib/xine/plugins/1.0.0/xineplug_vo_out_xv.a
-lib/xine/plugins/1.0.0/xineplug_vo_out_xv.so
+${XV_WORKAROUND}lib/xine/plugins/1.0.0/xineplug_vo_out_xv.so
 man/man1/xine-config.1
 share/aclocal/xine.m4
 share/doc/xine/README



Home | Main Index | Thread Index | Old Index