diff options
author | markd <markd> | 2003-11-05 21:33:42 +0000 |
---|---|---|
committer | markd <markd> | 2003-11-05 21:33:42 +0000 |
commit | 6037888db298335e272cda3d24bbd19de3ed7a79 (patch) | |
tree | 1fff4e06050b749f1631f16af45404cd63bdee03 /graphics/xine-lib | |
parent | 363aaa85548db46e5c4cf641482dab056003fff3 (diff) | |
download | pkgsrc-6037888db298335e272cda3d24bbd19de3ed7a79.tar.gz |
Some plugins arent built if you don't have a shared libXv.
Should fix PR pkg/23025 and Alistair's bulk build.
Diffstat (limited to 'graphics/xine-lib')
-rw-r--r-- | graphics/xine-lib/Makefile | 8 | ||||
-rw-r--r-- | graphics/xine-lib/PLIST | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/graphics/xine-lib/Makefile b/graphics/xine-lib/Makefile index 76997d19183..d73628d04d1 100644 --- a/graphics/xine-lib/Makefile +++ b/graphics/xine-lib/Makefile @@ -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+= have_libpng="yes" 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 --git a/graphics/xine-lib/PLIST b/graphics/xine-lib/PLIST index 1bb2782da3b..d9f2ad2118e 100644 --- a/graphics/xine-lib/PLIST +++ b/graphics/xine-lib/PLIST @@ -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_planar.so 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_syncfb.so 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 |