mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/vlc to 2.2.5.1-1
This commit is contained in:
parent
ea3ff564de
commit
fd5e96f29f
1 changed files with 29 additions and 25 deletions
|
@ -1,5 +1,6 @@
|
|||
# $Id$
|
||||
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Maintainer: 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>
|
||||
|
||||
|
@ -7,11 +8,11 @@
|
|||
# - enable gles2
|
||||
|
||||
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'
|
||||
|
@ -56,31 +57,34 @@ optdepends=('avahi: for service discovery using bonjour protocol'
|
|||
'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}
|
||||
|
||||
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
|
||||
|
||||
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" \
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-rpath \
|
||||
|
@ -94,9 +98,7 @@ build() {
|
|||
--enable-upnp \
|
||||
--enable-opus \
|
||||
--enable-sftp \
|
||||
--enable-gles2 \
|
||||
LUAC=/usr/bin/luac LUA_LIBS="`pkg-config --libs lua`" \
|
||||
RCC=/usr/bin/rcc-qt4
|
||||
--enable-gles2
|
||||
|
||||
make
|
||||
}
|
||||
|
@ -107,9 +109,11 @@ 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 -Dm644 "$srcdir"/update-vlc-plugin-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-vlc-plugin-cache.hook
|
||||
install -Dm 644 "${srcdir}/update-vlc-plugin-cache.hook" -t "${pkgdir}/usr/share/libalpm/hooks"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
Loading…
Reference in a new issue