summaryrefslogtreecommitdiff
path: root/extra/vlc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc')
-rw-r--r--extra/vlc/PKGBUILD28
1 files changed, 9 insertions, 19 deletions
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index e23ab3a67..9df7324ce 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 149284 2012-02-06 17:33:43Z ibiru $
+# $Id: PKGBUILD 150609 2012-02-18 22:53:43Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=vlc
-pkgver=1.1.13
-pkgrel=6
+pkgver=2.0.0
+pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
@@ -16,7 +16,7 @@ depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libxpm' 'libcdio'
'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug' 'xcb-util-keysyms'
'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'desktop-file-utils')
-makedepends=('avahi' 'pkgconfig' 'live-media' 'libnotify'
+makedepends=('avahi' 'pkg-config' 'live-media' 'libnotify'
'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'libpulse'
'lirc-utils' 'gnutls' 'libcaca')
@@ -33,41 +33,31 @@ optdepends=('avahi: for service discovery using bonjour protocol'
'libva-driver-intel: back-end for intel cards')
conflicts=('vlc-plugin')
replaces=('vlc-plugin')
-backup=('usr/share/vlc/http/.hosts'
- 'usr/share/vlc/http/dialogs/.hosts'
- 'usr/share/vlc/lua/http/.hosts'
+backup=('usr/share/vlc/lua/http/.hosts'
'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!libtool')
install=vlc.install
-source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'vlc-1.1.13-skin2_theme_loader.patch'
- 'vlc-1.1.13-youtube.patch')
-md5sums=('9678fb7a04808b6e0de63746d35e4bb1'
- 'f7c2ea18da9570d633f5fd834a1f72c8'
- '26dbd3574219daf4babc2f127a3229bc')
+source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('8806bff2ea9c76791123d444a92f708c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/vlc-1.1.13-skin2_theme_loader.patch"
- patch -Np1 -i "${srcdir}/vlc-1.1.13-youtube.patch"
- sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
+ sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
./configure --prefix=/usr \
--disable-rpath \
--enable-faad \
- --enable-v4l \
- --enable-snapshot \
--enable-dbus-control \
--enable-nls \
--enable-lirc \
--enable-pvr \
--enable-ncurses \
- --with-live555-tree=/usr/lib/live \
--enable-upnp \
--enable-realrtsp
make
}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"