xine-lib: enable dav1d supportdiff -r1.170 -r1.171 pkgsrc/multimedia/xine-lib/Makefile
(nia)
@@ -1,42 +1,41 @@ | @@ -1,42 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.170 2021/04/21 13:25:06 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.171 2021/05/17 14:09:39 nia Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 2 | 3 | PKGREVISION= 3 | |
4 | .include "Makefile.common" | 4 | .include "Makefile.common" | |
5 | 5 | |||
6 | COMMENT= Multimedia player library | 6 | COMMENT= Multimedia player library | |
7 | LICENSE= gnu-lgpl-v2 | 7 | LICENSE= gnu-lgpl-v2 | |
8 | 8 | |||
9 | CONFLICTS+= xine-xcb-[0-9]* | 9 | CONFLICTS+= xine-xcb-[0-9]* | |
10 | 10 | |||
11 | CONFIGURE_ARGS+= --disable-v4l | 11 | CONFIGURE_ARGS+= --disable-v4l | |
12 | CONFIGURE_ARGS+= --disable-v4l2 | 12 | CONFIGURE_ARGS+= --disable-v4l2 | |
13 | CONFIGURE_ARGS+= --disable-real-codecs | 13 | CONFIGURE_ARGS+= --disable-real-codecs | |
14 | CONFIGURE_ARGS+= --disable-mlib | 14 | CONFIGURE_ARGS+= --disable-mlib | |
15 | CONFIGURE_ARGS+= --disable-vaapi | 15 | CONFIGURE_ARGS+= --disable-vaapi | |
16 | CONFIGURE_ARGS+= --disable-vidix | 16 | CONFIGURE_ARGS+= --disable-vidix | |
17 | CONFIGURE_ARGS+= --disable-w32dll | 17 | CONFIGURE_ARGS+= --disable-w32dll | |
18 | CONFIGURE_ARGS+= --disable-xvmc | 18 | CONFIGURE_ARGS+= --disable-xvmc | |
19 | 19 | |||
20 | .include "../../multimedia/libvdpau/available.mk" | 20 | .include "../../multimedia/libvdpau/available.mk" | |
21 | 21 | |||
22 | PLIST_VARS+= vdpau | 22 | PLIST_VARS+= vdpau | |
23 | .if ${VDPAU_AVAILABLE} == "yes" | 23 | .if ${VDPAU_AVAILABLE} == "yes" | |
24 | PLIST.vdpau= yes | 24 | PLIST.vdpau= yes | |
25 | CONFIGURE_ARGS+= --enable-vdpau | 25 | CONFIGURE_ARGS+= --enable-vdpau | |
26 | . include "../../multimedia/libvdpau/buildlink3.mk" | 26 | . include "../../multimedia/libvdpau/buildlink3.mk" | |
27 | .endif | 27 | .endif | |
28 | 28 | |||
29 | CONFIGURE_ARGS+= --without-dav1d | |||
30 | CONFIGURE_ARGS+= --without-esound | 29 | CONFIGURE_ARGS+= --without-esound | |
31 | 30 | |||
32 | SUBST_CLASSES+= oss | 31 | SUBST_CLASSES+= oss | |
33 | SUBST_STAGE.oss= pre-configure | 32 | SUBST_STAGE.oss= pre-configure | |
34 | SUBST_FILES.oss= src/audio_out/audio_oss_out.c | 33 | SUBST_FILES.oss= src/audio_out/audio_oss_out.c | |
35 | SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g" | 34 | SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g" | |
36 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" | 35 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" | |
37 | SUBST_SED.oss+= -e "s,\"dsp\",\"audio\",g" | 36 | SUBST_SED.oss+= -e "s,\"dsp\",\"audio\",g" | |
38 | .endif | 37 | .endif | |
39 | SUBST_MESSAGE.oss= Fixing hardcoded audio device. | 38 | SUBST_MESSAGE.oss= Fixing hardcoded audio device. | |
40 | 39 | |||
41 | .if ${OPSYS} == "SunOS" | 40 | .if ${OPSYS} == "SunOS" | |
42 | PLIST_VARS+= oss | 41 | PLIST_VARS+= oss | |
@@ -64,22 +63,23 @@ post-install: | @@ -64,22 +63,23 @@ post-install: | |||
64 | .include "../../devel/gettext-lib/buildlink3.mk" | 63 | .include "../../devel/gettext-lib/buildlink3.mk" | |
65 | PLIST_VARS+= egl | 64 | PLIST_VARS+= egl | |
66 | .if ${OPSYS} != "Darwin" | 65 | .if ${OPSYS} != "Darwin" | |
67 | . include "../../graphics/MesaLib/features.mk" | 66 | . include "../../graphics/MesaLib/features.mk" | |
68 | . if ${MESALIB_SUPPORTS_EGL} == "yes" | 67 | . if ${MESALIB_SUPPORTS_EGL} == "yes" | |
69 | PLIST.egl= yes | 68 | PLIST.egl= yes | |
70 | . endif | 69 | . endif | |
71 | . include "../../graphics/MesaLib/buildlink3.mk" | 70 | . include "../../graphics/MesaLib/buildlink3.mk" | |
72 | . include "../../graphics/glu/buildlink3.mk" | 71 | . include "../../graphics/glu/buildlink3.mk" | |
73 | .endif | 72 | .endif | |
74 | .include "../../graphics/mng/buildlink3.mk" | 73 | .include "../../graphics/mng/buildlink3.mk" | |
75 | .include "../../graphics/png/buildlink3.mk" | 74 | .include "../../graphics/png/buildlink3.mk" | |
76 | .include "../../misc/libcdio/buildlink3.mk" | 75 | .include "../../misc/libcdio/buildlink3.mk" | |
76 | .include "../../multimedia/dav1d/buildlink3.mk" | |||
77 | .include "../../multimedia/libaom/buildlink3.mk" | 77 | .include "../../multimedia/libaom/buildlink3.mk" | |
78 | .include "../../multimedia/libbluray/buildlink3.mk" | 78 | .include "../../multimedia/libbluray/buildlink3.mk" | |
79 | .include "../../multimedia/libdvdnav/buildlink3.mk" | 79 | .include "../../multimedia/libdvdnav/buildlink3.mk" | |
80 | .include "../../multimedia/libtheora/buildlink3.mk" | 80 | .include "../../multimedia/libtheora/buildlink3.mk" | |
81 | .include "../../multimedia/libvpx/buildlink3.mk" | 81 | .include "../../multimedia/libvpx/buildlink3.mk" | |
82 | .include "../../security/gnutls/buildlink3.mk" | 82 | .include "../../security/gnutls/buildlink3.mk" | |
83 | .include "../../sysutils/vcdimager/buildlink3.mk" | 83 | .include "../../sysutils/vcdimager/buildlink3.mk" | |
84 | .include "../../mk/jpeg.buildlink3.mk" | 84 | .include "../../mk/jpeg.buildlink3.mk" | |
85 | .include "../../mk/bsd.pkg.mk" | 85 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST.common,v 1.43 2020/12/18 23:33:06 nia Exp $ | 1 | @comment $NetBSD: PLIST.common,v 1.44 2021/05/17 14:09:39 nia Exp $ | |
2 | bin/xine-config | 2 | bin/xine-config | |
3 | bin/xine-list-1.2 | 3 | bin/xine-list-1.2 | |
4 | include/xine.h | 4 | include/xine.h | |
5 | include/xine/alphablend.h | 5 | include/xine/alphablend.h | |
6 | include/xine/array.h | 6 | include/xine/array.h | |
7 | include/xine/attributes.h | 7 | include/xine/attributes.h | |
8 | include/xine/audio_decoder.h | 8 | include/xine/audio_decoder.h | |
9 | include/xine/audio_out.h | 9 | include/xine/audio_out.h | |
10 | include/xine/broadcaster.h | 10 | include/xine/broadcaster.h | |
11 | include/xine/buffer.h | 11 | include/xine/buffer.h | |
12 | include/xine/compat.h | 12 | include/xine/compat.h | |
13 | include/xine/configfile.h | 13 | include/xine/configfile.h | |
14 | include/xine/demux.h | 14 | include/xine/demux.h | |
@@ -54,26 +54,28 @@ lib/xine/plugins/${XINE_MOD_DIR_VER}/pos | @@ -54,26 +54,28 @@ lib/xine/plugins/${XINE_MOD_DIR_VER}/pos | |||
54 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_goom.so | 54 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_goom.so | |
55 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_mosaico.a | 55 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_mosaico.a | |
56 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_mosaico.so | 56 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_mosaico.so | |
57 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_planar.a | 57 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_planar.a | |
58 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_planar.so | 58 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_planar.so | |
59 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_switch.a | 59 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_switch.a | |
60 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_switch.so | 60 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_switch.so | |
61 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_tvtime.a | 61 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_tvtime.a | |
62 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_tvtime.so | 62 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_tvtime.so | |
63 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_visualizations.a | 63 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_visualizations.a | |
64 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_visualizations.so | 64 | lib/xine/plugins/${XINE_MOD_DIR_VER}/post/xineplug_post_visualizations.so | |
65 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.a | 65 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.a | |
66 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.so | 66 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.so | |
67 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dav1d.a | |||
68 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dav1d.so | |||
67 | ${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.a | 69 | ${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.a | |
68 | ${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.so | 70 | ${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.so | |
69 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.a | 71 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.a | |
70 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.so | 72 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.so | |
71 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_faad.a | 73 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_faad.a | |
72 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_faad.so | 74 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_faad.so | |
73 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_ff.a | 75 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_ff.a | |
74 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_ff.so | 76 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_ff.so | |
75 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_gsm610.a | 77 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_gsm610.a | |
76 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_gsm610.so | 78 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_gsm610.so | |
77 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libaom.a | 79 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libaom.a | |
78 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libaom.so | 80 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libaom.so | |
79 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libjpeg.a | 81 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_libjpeg.a |