vlc: revbump for libmicrodns update

Also fix tests.

Closes: #30356 [via git-merge-pr]
This commit is contained in:
Érico Nogueira 2021-05-17 01:17:49 -03:00
parent 77ee038322
commit 7ad955664d
1 changed files with 8 additions and 1 deletions

View File

@ -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}"