diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-26 15:21:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-26 15:21:44 +0000 |
commit | e49633a303cf30141ee1162ca858bd5bc020cccf (patch) | |
tree | d9d2aceca10337b434331ccbe32c44e004fcd2fe | |
parent | 77c5b6973d381aa3c8104b49f6b92879c7b2bc2c (diff) | |
download | pkgsrc-e49633a303cf30141ee1162ca858bd5bc020cccf.tar.gz |
NetBSD doesn't build vcd plugin (and cdda as side effect), so
conditionalize the entries in the PLIST. Bump revision.
-rw-r--r-- | multimedia/vlc08/Makefile | 12 | ||||
-rw-r--r-- | multimedia/vlc08/PLIST | 6 |
2 files changed, 13 insertions, 5 deletions
diff --git a/multimedia/vlc08/Makefile b/multimedia/vlc08/Makefile index 8c84e613216..0e8130ad740 100644 --- a/multimedia/vlc08/Makefile +++ b/multimedia/vlc08/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2006/05/19 20:53:34 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2006/05/26 15:21:44 joerg Exp $ # DISTNAME= vlc-${VLC_VER} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${VLC_VER}/ EXTRACT_SUFX= .tar.bz2 @@ -86,6 +86,14 @@ SUBST_SED.libav= -e "s,libavcodec/libavcodec.a,libavcodec.a,g" BUILDLINK_TRANSFORM.ffmpeg+= -e "s,include/ffmpeg,include/,g" +.if ${OPSYS} == "NetBSD" +PLIST_SUBST+= COND_CDDA="@comment " +PLIST_SUBST+= COND_VCD="@comment " +.else +PLIST_SUBST+= COND_CDDA="" +PLIST_SUBST+= COND_VCD="" +.endif + .include "../../audio/lame/buildlink3.mk" .include "../../audio/liba52/buildlink3.mk" .include "../../audio/libcddb/buildlink3.mk" diff --git a/multimedia/vlc08/PLIST b/multimedia/vlc08/PLIST index 41cfde99fe3..1790e6f0de7 100644 --- a/multimedia/vlc08/PLIST +++ b/multimedia/vlc08/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2006/05/19 20:53:34 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2006/05/26 15:21:44 joerg Exp $ bin/vlc bin/vlc-config bin/wxvlc @@ -21,12 +21,12 @@ lib/vlc/access/libaccess_http_plugin.so lib/vlc/access/libaccess_mms_plugin.so lib/vlc/access/libaccess_tcp_plugin.so lib/vlc/access/libaccess_udp_plugin.so -lib/vlc/access/libcdda_plugin.so +${COND_CDDA}lib/vlc/access/libcdda_plugin.so lib/vlc/access/libcddax_plugin.so lib/vlc/access/libdvdnav_plugin.so lib/vlc/access/libdvdread_plugin.so lib/vlc/access/libscreen_plugin.so -lib/vlc/access/libvcd_plugin.so +${COND_VCD}lib/vlc/access/libvcd_plugin.so lib/vlc/access_filter/libaccess_filter_record_plugin.so lib/vlc/access_filter/libaccess_filter_timeshift_plugin.so lib/vlc/access_output/libaccess_output_dummy_plugin.so |