mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
extra/vlc to 3.0.3.r1-1
This commit is contained in:
parent
e664d98b5e
commit
db09357a0d
1 changed files with 10 additions and 7 deletions
|
@ -7,8 +7,11 @@
|
|||
# - enable gles2
|
||||
|
||||
pkgname=vlc
|
||||
pkgver=3.0.3
|
||||
pkgrel=4
|
||||
_vlcver=3.0.3
|
||||
# optional fixup version including hyphen
|
||||
_vlcfixupver=-1
|
||||
pkgver=${_vlcver}${_vlcfixupver//-/.r}
|
||||
pkgrel=1
|
||||
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player'
|
||||
url='https://www.videolan.org/vlc/'
|
||||
arch=('x86_64')
|
||||
|
@ -93,7 +96,7 @@ optdepends=('avahi: service discovery using bonjour protocol'
|
|||
conflicts=('vlc-plugin')
|
||||
replaces=('vlc-plugin')
|
||||
options=('!emptydirs')
|
||||
source=(https://download.videolan.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}-1.tar.xz{,.asc}
|
||||
source=(https://download.videolan.org/${pkgname}/${_vlcver}/${pkgname}-${_vlcver}${_vlcfixupver}.tar.xz{,.asc}
|
||||
update-vlc-plugin-cache.hook
|
||||
aom-remove-unsupported-pixel-formats.patch
|
||||
lua53_compat.patch
|
||||
|
@ -109,7 +112,7 @@ sha512sums=('d1979f6149821cf91d7b40b18d83d399b9021966b60589615638423a4e2c3ff86fd
|
|||
validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}-${_vlcver}
|
||||
sed -e 's:truetype/ttf-dejavu:TTF:g' -i modules/visualization/projectm.cpp
|
||||
sed -e 's|-Werror-implicit-function-declaration||g' -i configure
|
||||
sed 's|whoami|echo builduser|g' -i configure
|
||||
|
@ -121,7 +124,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}-${_vlcver}
|
||||
|
||||
export CFLAGS+=" -I/usr/include/samba-4.0"
|
||||
export CPPFLAGS+=" -I/usr/include/samba-4.0"
|
||||
|
@ -225,12 +228,12 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
cd ${pkgname}-${_vlcver}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
for res in 16 32 48 128 256; do
|
||||
install -Dm 644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
|
||||
install -Dm 644 "${srcdir}/vlc-${_vlcver}/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"
|
||||
|
|
Loading…
Reference in a new issue