git » vlc.git » commit 262367d

Make qt4 optional, some packages depend only on libvlc and shouldn't pull an entire toolkit (FS#21934,FS#47888)

author Antonio Rojas
2016-04-24 10:59:01 UTC
committer Antonio Rojas
2016-04-24 10:59:01 UTC
parent 2cd9893b61cfa66d1f9b7dc22038732ee83d6017

Make qt4 optional, some packages depend only on libvlc and shouldn't pull an entire toolkit (FS#21934,FS#47888)

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index f4d134d..da840bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
 
 pkgname=vlc
 pkgver=2.2.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
 arch=('i686' 'x86_64')
 url="http://www.videolan.org/vlc/"
 license=('LGPL2.1' 'GPL2')
-depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt4' 'libproxy'
+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'
@@ -18,7 +18,7 @@ makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
              'libdc1394' 'libavc1394' 'lirc' 'libcaca' 'gtk2'
              'librsvg' 'portaudio' 'libgme' 'xosd' 'projectm'
              'twolame' 'aalib' 'libmtp' 'libdvdcss' 'gnome-vfs'
-             'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa')
+             'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa' 'qt4')
 optdepends=('avahi: for service discovery using bonjour protocol'
             'libnotify: for notification plugin'
             'gtk2: for notify plugin'
@@ -49,7 +49,8 @@ optdepends=('avahi: for service discovery using bonjour protocol'
             'ttf-dejavu: for subtitle font'
             'opus: for opus support'
             'libssh2: for sftp support'
-            'lua-socket: for http interface')
+            'lua-socket: for http interface'
+            'qt4: for the GUI')
 conflicts=('vlc-plugin')
 replaces=('vlc-plugin')
 backup=('usr/share/vlc/lua/http/.hosts'