[arch-commits] Commit in vlc/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon May 22 15:55:46 UTC 2017
Date: Monday, May 22, 2017 @ 15:55:45
Author: anthraxx
Revision: 296422
upgpkg: vlc 2.2.5.1-1
Modified:
vlc/trunk/PKGBUILD
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++----------------------------
1 file changed, 29 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-22 14:31:02 UTC (rev 296421)
+++ PKGBUILD 2017-05-22 15:55:45 UTC (rev 296422)
@@ -1,14 +1,14 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark at kde.org>
pkgname=vlc
-pkgver=2.2.4
-pkgrel=9
-pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
+pkgver=2.2.5.1
+pkgrel=1
+pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player'
+url='https://www.videolan.org/vlc/'
arch=('i686' 'x86_64')
-url="http://www.videolan.org/vlc/"
license=('LGPL2.1' 'GPL2')
depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'libproxy'
'sdl_image' 'libdvdnav' 'libtiger' 'lua' 'libmatroska'
@@ -53,31 +53,34 @@
'qt4: for the GUI')
conflicts=('vlc-plugin')
replaces=('vlc-plugin')
-backup=('usr/share/vlc/lua/http/.hosts'
- 'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!emptydirs')
-source=("http://download.videolan.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
- update-vlc-plugin-cache.hook "lua53_compat.patch")
-validpgpkeys=(65F7C6B4206BD057A7EB73787180713BE58D1ADC) # VideoLAN Release Signing Key
-md5sums=('55666c9898f658c7fcca12725bf7dd1b'
- 'SKIP'
- '6449d0d26bd34bca009eed58a4c20c83'
- '96d3b346d9149ffb1b430066dfb6249a')
+source=(https://download.videolan.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz{,.asc}
+ update-vlc-plugin-cache.hook
+ lua53_compat.patch)
+sha512sums=('1e0e0a7a2a7499a9e00485cd5dcf324673083e71a841d40edbcb5e15ed5b5485fa6d2f5b885ef57098fc56868bdb26e8e8ebe5b924dfa28cdf1430e53f5d76bc'
+ 'SKIP'
+ 'd9e69a01eb8868647beac0f419328e6ca3fe14a2e2a9e6ce4b61ed590b41b0136fb3ac9e284b174a910c2fe8822d1b37445a48d0b7caea647060ebfabe899e7b'
+ '33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f')
+validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
prepare() {
- cd "${pkgname}-${pkgver}"
-
+ cd ${pkgname}-${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
-
patch -p1 < "${srcdir}/lua53_compat.patch"
}
build() {
- cd "${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
- PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig" \
- CFLAGS+=" -I/usr/include/samba-4.0" CPPFLAGS+=" -I/usr/include/samba-4.0" CXXFLAGS+=" -std=gnu++98" \
+ 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=gnu++98"
+ export LUAC=/usr/bin/luac
+ export LUA_LIBS="`pkg-config --libs lua`"
+ export RCC=/usr/bin/rcc-qt4
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
@@ -90,10 +93,7 @@
--enable-vcdx \
--enable-upnp \
--enable-opus \
- --enable-sftp \
- LUAC=/usr/bin/luac LUA_LIBS="`pkg-config --libs lua`" \
- RCC=/usr/bin/rcc-qt4
-
+ --enable-sftp
make
}
@@ -103,9 +103,10 @@
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"
+}
- install -Dm644 "$srcdir"/update-vlc-plugin-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-vlc-plugin-cache.hook
-}
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list