summaryrefslogtreecommitdiff
path: root/vlc/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-06-17 20:51:59 +0000
committerTim Biermann <tbier@posteo.de>2020-06-17 20:51:59 +0000
commit5cdf28489051f1087a4c755cd3479040f79ded35 (patch)
tree0984f51e6e6f73922409247e56f33f4e0c75c928 /vlc/Pkgfile
parent54fde4c023d4b3c68b55d3312f870d54ddf4448d (diff)
downloadcontrib-5cdf28489051f1087a4c755cd3479040f79ded35.tar.gz
contrib-5cdf28489051f1087a4c755cd3479040f79ded35.tar.xz
[notify] vlc: 3.0.10 -> 3.0.11; fixes CVE-2020-13428
Diffstat (limited to 'vlc/Pkgfile')
-rw-r--r--vlc/Pkgfile21
1 files changed, 3 insertions, 18 deletions
diff --git a/vlc/Pkgfile b/vlc/Pkgfile
index 4b21695cf..6b1afee2f 100644
--- a/vlc/Pkgfile
+++ b/vlc/Pkgfile
@@ -5,31 +5,17 @@
# Nice to have: opus libvorbis x264 libogg libmtp libtheora flac libvdpau
name=vlc
-version=3.0.10
+version=3.0.11
release=1
source=(https://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz)
build() {
cd $name-$version
- [ -z "$(pkg-config --libs --static libavutil | grep -- '-lvdpau')" ] && PKGMK_VLC=' --disable-vdpau'
+ [ -z "$(pkg-config --libs --static libavutil | grep -- '-lvdpau')" ] && PKGMK_VLC+=' --disable-vdpau'
- # allow building with new avcodec
- #sed -i 's/ 56/ 57/g' configure.ac
autoreconf -fi
- # initialize avformat structure
- #sed -i 's/AVProbeData *pd;/AVProbeData pd={};/g' modules/demux/avformat/demux.c
-
- #PKG_CONFIG_PATH="/usr/lib/ffmpeg-compat/pkgconfig" \
-
- ## grabbed from arch
- ## https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/vlc
- #export CFLAGS+=" -I/usr/include/samba-4.0"
- #export CPPFLAGS+=" -I/usr/include/samba-4.0"
- #export CXXFLAGS+=" -std=c++11"
- #export LUAC=/usr/bin/luac
- #export LUA_LIBS="$(pkg-config --libs lua)"
export RCC=/usr/bin/rcc-qt5
sed -e 's|-Werror-implicit-function-declaration||g' -i configure
BUILDCC="gcc -std=gnu11" \
@@ -41,10 +27,9 @@ build() {
--disable-update-check \
--enable-alsa
- #make
V=1 ./compile
make DESTDIR=$PKG install
- rm -rf $PKG/usr/share/doc
+ rm -rf $PKG/usr/share/{doc,kde4}
# fix desktop file
sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop

Generated by cgit