From 7ad955664d2961ed72fb425eeb2b19bc99abde91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Mon, 17 May 2021 01:17:49 -0300 Subject: [PATCH] vlc: revbump for libmicrodns update Also fix tests. Closes: #30356 [via git-merge-pr] --- srcpkgs/vlc/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/vlc/template b/srcpkgs/vlc/template index e2076d5218..37000e84df 100644 --- a/srcpkgs/vlc/template +++ b/srcpkgs/vlc/template @@ -1,7 +1,7 @@ # Template file for 'vlc' pkgname=vlc version=3.0.14 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-gme --disable-libtar --enable-jack --enable-live555 --disable-fluidsynth --enable-dvdread @@ -89,6 +89,11 @@ pre_configure() { sed 's|pl_shader_alloc(tc->pl_ctx, NULL, 0, 0);|pl_shader_alloc(tc->pl_ctx, NULL, 0);|' -i modules/video_output/opengl/vout_helper.c } + +pre_check() { + export QT_QPA_PLATFORM=offscreen +} + pre_install() { if [ "$CROSS_BUILD" ]; then # install .lua files instead of precompiled .luac ones @@ -97,6 +102,7 @@ pre_install() { sed -i -e "s/\(@list='\$(nobase_vlclib_DATA\)/\1:.luac=.lua/" share/Makefile fi } + post_install() { # Remove unused stuff rm -f ${DESTDIR}/usr/lib/vlc/plugins/plugins.dat @@ -119,6 +125,7 @@ libvlc_package() { done } } + vlc-devel_package() { short_desc+=" - development files" depends+=" lib${sourcepkg}>=${version}_${revision}"