summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0006af5f302c..36f66cf084be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vlc-luajit
pkgdesc = Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility
pkgver = 3.0.16
- pkgrel = 1
+ pkgrel = 2
url = https://www.videolan.org/vlc/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a1596a67e7dd..5ccf7e827ce7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _vlcver=3.0.16
# optional fixup version including hyphen
_vlcfixupver=
pkgver=${_vlcver}${_vlcfixupver//-/.r}
-pkgrel=1
+pkgrel=2
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility'
url='https://www.videolan.org/vlc/'
arch=('i686' 'x86_64' 'aarch64')
@@ -120,6 +120,11 @@ prepare() {
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
+
+ # Fix to build against libcaca 0.99.beta20
+ sed -i 's/cucul_/caca_/g' modules/video_output/caca.c
+ sed -i 's/CUCUL_COLOR/CACA/g' modules/video_output/caca.c
+
autoreconf -vf
}