mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/vlc-rpi to 3.0.21-3
Build errors on armv7h are centered around taglib even with the Arch patch. Build without taglib for armv7h.
This commit is contained in:
parent
da894f23a2
commit
503a6ab61a
2 changed files with 122 additions and 119 deletions
|
@ -4,18 +4,16 @@
|
||||||
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
||||||
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
|
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
|
||||||
|
|
||||||
buildarch=8
|
|
||||||
|
|
||||||
pkgname=vlc-rpi
|
pkgname=vlc-rpi
|
||||||
_pkgname=vlc
|
_pkgname=vlc
|
||||||
_vlcver=3.0.21
|
_vlcver=3.0.21
|
||||||
# optional fixup version including hyphen
|
# optional fixup version including hyphen
|
||||||
_vlcfixupver=
|
_vlcfixupver=
|
||||||
pkgver=${_vlcver}${_vlcfixupver//-/.r}
|
pkgver=${_vlcver}${_vlcfixupver//-/.r}
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player with hw accel for RPi 3 and above'
|
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player with hw accel for RPi 3 and above'
|
||||||
url='https://www.videolan.org/vlc/'
|
url='https://www.videolan.org/vlc/'
|
||||||
arch=(aarch64)
|
arch=(aarch64 armv7h)
|
||||||
license=(
|
license=(
|
||||||
'GPL-2.0-or-later'
|
'GPL-2.0-or-later'
|
||||||
'LGPL-2.1-or-later'
|
'LGPL-2.1-or-later'
|
||||||
|
@ -64,7 +62,6 @@ depends=(
|
||||||
'qt5-base'
|
'qt5-base'
|
||||||
'qt5-svg'
|
'qt5-svg'
|
||||||
'qt5-x11extras'
|
'qt5-x11extras'
|
||||||
'taglib'
|
|
||||||
'wayland'
|
'wayland'
|
||||||
'xcb-util-keysyms'
|
'xcb-util-keysyms'
|
||||||
'zlib'
|
'zlib'
|
||||||
|
@ -132,6 +129,7 @@ makedepends=(
|
||||||
'xosd'
|
'xosd'
|
||||||
'zvbi'
|
'zvbi'
|
||||||
)
|
)
|
||||||
|
makedepends_aarch64=('taglib')
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'aalib: ASCII art video output'
|
'aalib: ASCII art video output'
|
||||||
'alsa-lib: ALSA audio output'
|
'alsa-lib: ALSA audio output'
|
||||||
|
@ -224,7 +222,7 @@ sha256sums=('24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0'
|
||||||
'b98043683dd90d3f5a3f501212dfc629839b661100de5ac79fd30cb7b4a06f13'
|
'b98043683dd90d3f5a3f501212dfc629839b661100de5ac79fd30cb7b4a06f13'
|
||||||
'db41f3a11d4df28251f1baaf41bc0913227ff1e77680e43d7efa172e6ae1cc29'
|
'db41f3a11d4df28251f1baaf41bc0913227ff1e77680e43d7efa172e6ae1cc29'
|
||||||
'61125ab0da600d813f1aebd8445fcf03e176389cfb8aa28591f8225a13043089'
|
'61125ab0da600d813f1aebd8445fcf03e176389cfb8aa28591f8225a13043089'
|
||||||
'f7d129441b5f1f1ce03f7056ebe2707d8c431a69a11afe153a9990dd61ce75ec'
|
'48da04f8f649952b99320b955854498853141411050d6e5583b835a244644137'
|
||||||
'753517a8b88c5950d516f0fe57a3ef169e0665ba7817d4b8d9976c666829a291'
|
'753517a8b88c5950d516f0fe57a3ef169e0665ba7817d4b8d9976c666829a291'
|
||||||
'616833e99372317d9a1e1a73254ee48f71a803eb13e8dd04db158e7c3db0eb5c')
|
'616833e99372317d9a1e1a73254ee48f71a803eb13e8dd04db158e7c3db0eb5c')
|
||||||
validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
|
validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
|
||||||
|
@ -258,108 +256,115 @@ build() {
|
||||||
export RCC=/usr/bin/rcc-qt5
|
export RCC=/usr/bin/rcc-qt5
|
||||||
export PKG_CONFIG_PATH="/usr/lib/ffmpeg-rpi/pkgconfig/:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="/usr/lib/ffmpeg-rpi/pkgconfig/:$PKG_CONFIG_PATH"
|
||||||
|
|
||||||
./configure \
|
_args=(
|
||||||
--prefix=/usr \
|
--prefix=/usr
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc
|
||||||
--with-kde-solid=/usr/share/solid/actions/ \
|
--with-kde-solid=/usr/share/solid/actions/
|
||||||
--disable-rpath \
|
--disable-rpath
|
||||||
--enable-omxil \
|
--enable-omxil
|
||||||
--enable-omxil-vout \
|
--enable-omxil-vout
|
||||||
--enable-rpi-omxil \
|
--enable-rpi-omxil
|
||||||
--enable-gles2 \
|
--enable-gles2
|
||||||
--enable-nls \
|
--enable-nls
|
||||||
--enable-archive \
|
--enable-archive
|
||||||
--enable-live555 \
|
--enable-live555
|
||||||
--enable-dc1394 \
|
--enable-dc1394
|
||||||
--enable-dv1394 \
|
--enable-dv1394
|
||||||
--enable-dvdread \
|
--enable-dvdread
|
||||||
--enable-dvdnav \
|
--enable-dvdnav
|
||||||
--enable-bluray \
|
--enable-bluray
|
||||||
--disable-opencv \
|
--disable-opencv
|
||||||
--enable-smbclient \
|
--enable-smbclient
|
||||||
--enable-sftp \
|
--enable-sftp
|
||||||
--enable-nfs \
|
--enable-nfs
|
||||||
--enable-realrtsp \
|
--enable-realrtsp
|
||||||
--enable-dvbpsi \
|
--enable-dvbpsi
|
||||||
--enable-gme \
|
--enable-gme
|
||||||
--enable-ogg \
|
--enable-ogg
|
||||||
--enable-shout \
|
--enable-shout
|
||||||
--enable-matroska \
|
--enable-matroska
|
||||||
--enable-mod \
|
--enable-mod
|
||||||
--enable-mpc \
|
--enable-mpc
|
||||||
--enable-mad \
|
--enable-mad
|
||||||
--enable-mpg123 \
|
--enable-mpg123
|
||||||
--enable-gst-decode \
|
--enable-gst-decode
|
||||||
--enable-avcodec \
|
--enable-avcodec
|
||||||
--enable-libva \
|
--enable-libva
|
||||||
--enable-avformat \
|
--enable-avformat
|
||||||
--enable-postproc \
|
--enable-postproc
|
||||||
--enable-faad \
|
--enable-faad
|
||||||
--enable-vpx \
|
--enable-vpx
|
||||||
--enable-twolame \
|
--enable-twolame
|
||||||
--disable-fdkaac \
|
--disable-fdkaac
|
||||||
--enable-a52 \
|
--enable-a52
|
||||||
--enable-dca \
|
--enable-dca
|
||||||
--enable-flac \
|
--enable-flac
|
||||||
--enable-fluidsynth \
|
--enable-fluidsynth
|
||||||
--enable-libmpeg2 \
|
--enable-libmpeg2
|
||||||
--enable-vorbis \
|
--enable-vorbis
|
||||||
--enable-speex \
|
--enable-speex
|
||||||
--enable-opus \
|
--enable-opus
|
||||||
--enable-oggspots \
|
--enable-oggspots
|
||||||
--disable-schroedinger \
|
--disable-schroedinger
|
||||||
--enable-png \
|
--enable-png
|
||||||
--enable-jpeg \
|
--enable-jpeg
|
||||||
--enable-x264 \
|
--enable-x264
|
||||||
--enable-x265 \
|
--enable-x265
|
||||||
--enable-zvbi \
|
--enable-zvbi
|
||||||
--enable-libass \
|
--enable-libass
|
||||||
--enable-kate \
|
--enable-kate
|
||||||
--enable-tiger \
|
--enable-tiger
|
||||||
--enable-vdpau \
|
--enable-vdpau
|
||||||
--enable-wayland \
|
--enable-wayland
|
||||||
--enable-sdl-image \
|
--enable-sdl-image
|
||||||
--enable-freetype \
|
--enable-freetype
|
||||||
--enable-fribidi \
|
--enable-fribidi
|
||||||
--enable-harfbuzz \
|
--enable-harfbuzz
|
||||||
--enable-fontconfig \
|
--enable-fontconfig
|
||||||
--enable-svg \
|
--enable-svg
|
||||||
--enable-svgdec \
|
--enable-svgdec
|
||||||
--enable-aa \
|
--enable-aa
|
||||||
--enable-caca \
|
--enable-caca
|
||||||
--enable-pulse \
|
--enable-pulse
|
||||||
--enable-alsa \
|
--enable-alsa
|
||||||
--enable-jack \
|
--enable-jack
|
||||||
--enable-samplerate \
|
--enable-samplerate
|
||||||
--enable-soxr \
|
--enable-soxr
|
||||||
--disable-chromaprint \
|
--disable-chromaprint
|
||||||
--enable-chromecast \
|
--enable-chromecast
|
||||||
--enable-qt \
|
--enable-qt
|
||||||
--enable-skins2 \
|
--enable-skins2
|
||||||
--enable-libtar \
|
--enable-libtar
|
||||||
--enable-ncurses \
|
--enable-ncurses
|
||||||
--enable-lirc \
|
--enable-lirc
|
||||||
--enable-goom \
|
--enable-goom
|
||||||
--enable-projectm \
|
--enable-projectm
|
||||||
--enable-avahi \
|
--enable-avahi
|
||||||
--enable-mtp \
|
--enable-mtp
|
||||||
--enable-upnp \
|
--enable-upnp
|
||||||
--enable-microdns \
|
--enable-microdns
|
||||||
--enable-libxml2 \
|
--enable-libxml2
|
||||||
--disable-libgcrypt \
|
--disable-libgcrypt
|
||||||
--enable-gnutls \
|
--enable-gnutls
|
||||||
--enable-taglib \
|
--enable-secret
|
||||||
--enable-secret \
|
--enable-kwallet
|
||||||
--enable-kwallet \
|
--disable-update-check
|
||||||
--disable-update-check \
|
--enable-notify
|
||||||
--enable-notify \
|
--disable-libplacebo
|
||||||
--disable-libplacebo \
|
--enable-vlc
|
||||||
--enable-vlc \
|
--enable-aribsub
|
||||||
--enable-aribsub \
|
--enable-aribcam
|
||||||
--enable-aribcam \
|
--enable-aom
|
||||||
--enable-aom \
|
--enable-srt
|
||||||
--enable-srt \
|
|
||||||
--enable-dav1d
|
--enable-dav1d
|
||||||
|
)
|
||||||
|
if [[ $CARCH == "aarch64" ]]; then
|
||||||
|
_args+=( --enable-taglib )
|
||||||
|
elif [[ $CARCH == "armv7h" ]]; then
|
||||||
|
_args+=( --disable-taglib )
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure "${_args[@]}"
|
||||||
|
|
||||||
# prevent excessive overlinking due to libtool
|
# prevent excessive overlinking due to libtool
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
|
@ -1,19 +1,17 @@
|
||||||
dtoverlay=vc4-kms-v3d,cma-384
|
|
||||||
|
|
||||||
[pi4]
|
|
||||||
dtoverlay=vc4-kms-v3d,cma-512
|
dtoverlay=vc4-kms-v3d,cma-512
|
||||||
### RPi 4B/400 ONLY
|
|
||||||
### For 4k content @ 60 Hz refresh rate, uncomment hdmi_enable_4kp60=1
|
|
||||||
#hdmi_enable_4kp60=1
|
|
||||||
|
|
||||||
[pi5]
|
|
||||||
dtoverlay=vc4-kms-v3d,cma-512
|
|
||||||
max_framebuffers=0
|
|
||||||
|
|
||||||
[all]
|
|
||||||
### leave this next entry blank as ensures dt parameters like dtparam=audio=on
|
### leave this next entry blank as ensures dt parameters like dtparam=audio=on
|
||||||
### which could appear after "include kodi.config.txt" in /boot/config.txt are
|
### which could appear after "include kodi.config.txt" in /boot/config.txt are
|
||||||
### applied to the base dt instead of to the last dtoverlay loaded
|
### applied to the base dt instead of to the last dtoverlay loaded
|
||||||
dtoverlay=
|
dtoverlay=
|
||||||
disable_overscan=1
|
disable_overscan=1
|
||||||
disable_fw_kms_setup=1
|
disable_fw_kms_setup=1
|
||||||
|
display_auto_detect=1
|
||||||
|
|
||||||
|
[pi4]
|
||||||
|
### For 4k content @ 60 Hz refresh rate
|
||||||
|
hdmi_enable_4kp60=1
|
||||||
|
|
||||||
|
[pi5]
|
||||||
|
max_framebuffers=0
|
||||||
|
|
||||||
|
[all]
|
||||||
|
|
Loading…
Reference in a new issue