summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBooloki2018-02-24 10:48:20 +0100
committerBooloki2018-02-24 10:48:20 +0100
commit5dffced5c0230f3b0391d2b900acb29e9cc0bfd8 (patch)
tree9fbaf7de44bb06f15f45a7d4eb4ad9074d292fe8
parent8e81ef9f5aea59767b2bf7c4743e877eabca7f29 (diff)
downloadaur-5dffced5c0230f3b0391d2b900acb29e9cc0bfd8.tar.gz
Update to version 3.0.0
-rw-r--r--.SRCINFO83
-rw-r--r--PKGBUILD121
-rw-r--r--update-vlc-plugin-cache.hook11
3 files changed, 116 insertions, 99 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fadc5cd30d29..8ac0d801384e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,10 @@
# Generated by mksrcinfo v8
-# Thu Jan 25 18:42:00 UTC 2018
+# Sat Feb 24 09:47:42 UTC 2018
pkgbase = vlc-nox
- pkgdesc = A multi-platform MPEG, VCD/DVD, and DivX player (without X support)
- pkgver = 2.2.8
+ pkgdesc = Multi-platform MPEG, VCD/DVD, and DivX player (without X support)
+ pkgver = 3.0.0
pkgrel = 1
- url = http://www.videolan.org/vlc/
- install = vlc.install
- arch = i686
+ url = https://www.videolan.org/vlc/
arch = x86_64
license = LGPL2.1
license = GPL2
@@ -32,6 +30,10 @@ pkgbase = vlc-nox
makedepends = opus
makedepends = libssh2
makedepends = mesa
+ makedepends = protobuf
+ makedepends = libnfs
+ makedepends = mpg123
+ makedepends = schroedinger
depends = a52dec
depends = libdvbpsi
depends = libxpm
@@ -45,7 +47,7 @@ pkgbase = vlc-nox
depends = zvbi
depends = taglib
depends = libmpcdec
- depends = ffmpeg2.8
+ depends = ffmpeg
depends = faad2
depends = libupnp
depends = libshout
@@ -54,32 +56,39 @@ pkgbase = vlc-nox
depends = xcb-util-keysyms
depends = libtar
depends = libxinerama
- optdepends = avahi: for service discovery using bonjour protocol
- optdepends = ncurses: for ncurses interface support
- optdepends = libdvdcss: for decoding encrypted DVDs
- optdepends = lirc: for lirc plugin
- optdepends = libavc1394: for devices using the 1394ta AV/C
- optdepends = libdc1394: for IEEE 1394 plugin
- optdepends = libva-vdpau-driver: vdpau back-end for nvidia
- optdepends = libva-intel-driver: back-end for intel cards
- optdepends = libbluray: for Blu-Ray support
- optdepends = flac: for Free Lossless Audio Codec plugin
- optdepends = portaudio: for portaudio support
- optdepends = twolame: for TwoLAME mpeg2 encoder plugin
- optdepends = projectm: for ProjectM visualisation plugin
- optdepends = libcaca: for colored ASCII art video output
- optdepends = libgme: for libgme plugin
- optdepends = librsvg: for SVG plugin
- optdepends = libgoom2: for libgoom plugin
+ depends = libsecret
+ depends = libarchive
+ optdepends = avahi: service discovery using bonjour protocol
+ optdepends = libnotify: notification plugin
+ optdepends = ncurses: ncurses interface support
+ optdepends = libdvdcss: decoding encrypted DVDs
+ optdepends = lirc: lirc control plugin
+ optdepends = libavc1394: devices using the 1394ta AV/C
+ optdepends = libdc1394: IEEE 1394 access plugin
+ optdepends = libva-vdpau-driver: vdpau backend nvidia
+ optdepends = libva-intel-driver: backend intel cards
+ optdepends = libbluray: Blu-Ray video support
+ optdepends = flac: Free Lossless Audio Codec plugin
+ optdepends = portaudio: portaudio support
+ optdepends = twolame: TwoLAME mpeg2 encoder plugin
+ optdepends = projectm: ProjectM visualisation plugin
+ optdepends = libcaca: colored ASCII art video output
+ optdepends = libgme: libgme plugin
+ optdepends = librsvg: SVG plugin
+ optdepends = libgoom2: libgoom plugin
optdepends = vcdimager: navigate VCD with libvcdinfo
- optdepends = aalib: for ASCII art plugin
- optdepends = libmtp: for MTP devices support
- optdepends = smbclient: for SMB access plugin
- optdepends = libcdio: for audio CD playback support
- optdepends = ttf-freefont: for subtitle font
- optdepends = ttf-dejavu: for subtitle font
- optdepends = opus: for opus support
- optdepends = libssh2: for sftp support
+ optdepends = aalib: ASCII art plugin
+ optdepends = libmtp: MTP devices support
+ optdepends = smbclient: SMB access plugin
+ optdepends = libcdio: audio CD playback support
+ optdepends = ttf-freefont: subtitle font
+ optdepends = ttf-dejavu: subtitle font
+ optdepends = opus: opus codec support
+ optdepends = libssh2: sftp access support
+ optdepends = libnfs: NFS access support
+ optdepends = mpg123: mpg123 codec support
+ optdepends = schroedinger: schroedinger codec support
+ optdepends = protobuf: chromecast support
optdepends = lua-socket: for http interface
conflicts = vlc
conflicts = vlc-plugin
@@ -88,12 +97,12 @@ pkgbase = vlc-nox
replaces = vlc-plugin
replaces = vlc-git
options = !emptydirs
- backup = usr/share/vlc/lua/http/.hosts
- backup = usr/share/vlc/lua/http/dialogs/.hosts
- source = http://download.videolan.org/vlc/2.2.8/vlc-2.2.8.tar.xz
+ source = http://download.videolan.org/vlc/3.0.0/vlc-3.0.0.tar.xz
+ source = update-vlc-plugin-cache.hook
source = lua53_compat.patch
- md5sums = b721fddf65aaf64eeee5629aa9bf7c9e
- md5sums = 96d3b346d9149ffb1b430066dfb6249a
+ sha512sums = 9bdc64e16ddd2e8d2693179f2fcac8462d7defff186262a049ba325ef00882fbd75a9d323b506ba06876a8168fd5e90319837c8dcd136b206161e67748c2a9f7
+ sha512sums = 80357bae69e32b353d3784932d854e294906798e14faffb87c3383c3b6f6bdc57cbabb9c6e3f3c1adf0f8ddbb24153e72104c963cf1934970c2983c96daef9df
+ sha512sums = 33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f
pkgname = vlc-nox
diff --git a/PKGBUILD b/PKGBUILD
index 9b83b0cdc7f8..3ecee9dd7367 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,104 +1,98 @@
# $Id$
# Maintainer : Nicolas Perrin <booloki@lokizone.net>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
_pkgbase=vlc
pkgname=vlc-nox
-pkgver=2.2.8
+pkgver=3.0.0
pkgrel=1
-pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player (without X support)"
-arch=('i686' 'x86_64')
-url="http://www.videolan.org/vlc/"
+pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player (without X support)'
+url='https://www.videolan.org/vlc/'
+arch=('x86_64')
license=('LGPL2.1' 'GPL2')
-depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'libproxy'
- 'sdl_image' 'libdvdnav' 'libtiger' 'lua' 'libmatroska'
- 'zvbi' 'taglib' 'libmpcdec' 'ffmpeg2.8' 'faad2' 'libupnp'
- 'libshout' 'libmad' 'libmpeg2' 'xcb-util-keysyms' 'libtar'
- 'libxinerama')
-makedepends=('live-media' 'libnotify' 'libbluray' 'flac'
- 'libdc1394' 'libavc1394' 'lirc' 'libcaca'
- 'librsvg' 'portaudio' 'libgme' 'xosd' 'projectm'
- 'twolame' 'aalib' 'libmtp' 'libdvdcss'
- 'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa')
-optdepends=('avahi: for service discovery using bonjour protocol'
- 'ncurses: for ncurses interface support'
- 'libdvdcss: for decoding encrypted DVDs'
- 'lirc: for lirc plugin'
- 'libavc1394: for devices using the 1394ta AV/C'
- 'libdc1394: for IEEE 1394 plugin'
- 'libva-vdpau-driver: vdpau back-end for nvidia'
- 'libva-intel-driver: back-end for intel cards'
- 'libbluray: for Blu-Ray support'
- 'flac: for Free Lossless Audio Codec plugin'
- 'portaudio: for portaudio support'
- 'twolame: for TwoLAME mpeg2 encoder plugin'
- 'projectm: for ProjectM visualisation plugin'
- 'libcaca: for colored ASCII art video output'
- 'libgme: for libgme plugin'
- 'librsvg: for SVG plugin'
- 'libgoom2: for libgoom plugin'
+depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'libproxy' 'sdl_image' 'libdvdnav'
+ 'libtiger' 'lua' 'libmatroska' 'zvbi' 'taglib' 'libmpcdec' 'ffmpeg'
+ 'faad2' 'libupnp' 'libshout' 'libmad' 'libmpeg2' 'xcb-util-keysyms'
+ 'libtar' 'libxinerama' 'libsecret' 'libarchive')
+makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'libdc1394'
+ 'libavc1394' 'lirc' 'libcaca' 'librsvg' 'portaudio'
+ 'libgme' 'xosd' 'projectm' 'twolame' 'aalib' 'libmtp' 'libdvdcss'
+ 'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa' 'protobuf'
+ 'libnfs' 'mpg123' 'schroedinger')
+optdepends=('avahi: service discovery using bonjour protocol'
+ 'libnotify: notification plugin'
+ 'ncurses: ncurses interface support'
+ 'libdvdcss: decoding encrypted DVDs'
+ 'lirc: lirc control plugin'
+ 'libavc1394: devices using the 1394ta AV/C'
+ 'libdc1394: IEEE 1394 access plugin'
+ 'libva-vdpau-driver: vdpau backend nvidia'
+ 'libva-intel-driver: backend intel cards'
+ 'libbluray: Blu-Ray video support'
+ 'flac: Free Lossless Audio Codec plugin'
+ 'portaudio: portaudio support'
+ 'twolame: TwoLAME mpeg2 encoder plugin'
+ 'projectm: ProjectM visualisation plugin'
+ 'libcaca: colored ASCII art video output'
+ 'libgme: libgme plugin'
+ 'librsvg: SVG plugin'
+ 'libgoom2: libgoom plugin'
'vcdimager: navigate VCD with libvcdinfo'
- 'aalib: for ASCII art plugin'
- 'libmtp: for MTP devices support'
- 'smbclient: for SMB access plugin'
- 'libcdio: for audio CD playback support'
- 'ttf-freefont: for subtitle font '
- 'ttf-dejavu: for subtitle font'
- 'opus: for opus support'
- 'libssh2: for sftp support'
+ 'aalib: ASCII art plugin'
+ 'libmtp: MTP devices support'
+ 'smbclient: SMB access plugin'
+ 'libcdio: audio CD playback support'
+ 'ttf-freefont: subtitle font '
+ 'ttf-dejavu: subtitle font'
+ 'opus: opus codec support'
+ 'libssh2: sftp access support'
+ 'libnfs: NFS access support'
+ 'mpg123: mpg123 codec support'
+ 'schroedinger: schroedinger codec support'
+ 'protobuf: chromecast support'
'lua-socket: for http interface')
conflicts=('vlc' 'vlc-plugin' 'vlc-git')
replaces=('vlc' 'vlc-plugin' 'vlc-git')
-backup=('usr/share/vlc/lua/http/.hosts'
- 'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!emptydirs')
-install=${_pkgbase}.install
-source=("http://download.videolan.org/${_pkgbase}/${pkgver}/${_pkgbase}-${pkgver}.tar.xz"
- "lua53_compat.patch"
- "vlc-2.2.6-fix-memleak.patch"
- "vlc-2.2.8-libupnp-1.6.24.patch")
-md5sums=('b721fddf65aaf64eeee5629aa9bf7c9e'
- '96d3b346d9149ffb1b430066dfb6249a'
- '0df7ee60b31cc4dc372950cc595e8638'
- '9ac961bc55509ec9c87a5fc6e9a04d39')
+source=(http://download.videolan.org/${_pkgbase}/${pkgver}/${_pkgbase}-${pkgver}.tar.xz
+ update-vlc-plugin-cache.hook
+ lua53_compat.patch)
+sha512sums=('9bdc64e16ddd2e8d2693179f2fcac8462d7defff186262a049ba325ef00882fbd75a9d323b506ba06876a8168fd5e90319837c8dcd136b206161e67748c2a9f7'
+ '80357bae69e32b353d3784932d854e294906798e14faffb87c3383c3b6f6bdc57cbabb9c6e3f3c1adf0f8ddbb24153e72104c963cf1934970c2983c96daef9df'
+ '33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f')
prepare() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
-
- sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
- sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
-
+ sed -e 's:truetype/ttf-dejavu:TTF:g' -i modules/visualization/projectm.cpp
+ sed -e 's|-Werror-implicit-function-declaration||g' -i configure
patch -Np1 < "${srcdir}/lua53_compat.patch"
- patch -Np1 < "${srcdir}/vlc-2.2.6-fix-memleak.patch"
- patch -Np1 < "${srcdir}/vlc-2.2.8-libupnp-1.6.24.patch"
+ sed 's|whoami|echo builduser|g' -i configure
+ sed 's|hostname -f|echo arch|g' -i configure
}
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
- export PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig"
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-qt4
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-qt \
- --disable-skins2 \
+ --disable-wayland \
--disable-rpath \
- --disable-projectm \
--enable-faad \
--enable-nls \
--enable-lirc \
--enable-ncurses \
--enable-realrtsp \
--enable-aa \
- --enable-vcdx \
--enable-upnp \
--enable-opus \
--enable-sftp
@@ -111,7 +105,10 @@ package() {
make DESTDIR="${pkgdir}" install
for res in 16 32 48 128; do
- install -D -m644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
+ install -Dm 644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
done
+ install -Dm 644 "${srcdir}/update-vlc-plugin-cache.hook" -t "${pkgdir}/usr/share/libalpm/hooks"
}
+
+# vim: ts=2 sw=2 et:
diff --git a/update-vlc-plugin-cache.hook b/update-vlc-plugin-cache.hook
new file mode 100644
index 000000000000..3fbf13d9a1db
--- /dev/null
+++ b/update-vlc-plugin-cache.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/vlc/plugins/*
+
+[Action]
+Description = Updating the vlc plugin cache...
+When = PostTransaction
+Exec = /usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins