summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortytan6522021-10-22 18:27:03 +0200
committertytan6522021-10-22 18:27:03 +0200
commit2e434e3edfe0eef54b3340d77fef56cb1382bb18 (patch)
treef8bffd4fd4d0b6cc677594aa4c2d632d5ff5e312
parent31e395ea06b03f4a57d6c59f26915d425c36fb6d (diff)
downloadaur-2e434e3edfe0eef54b3340d77fef56cb1382bb18.tar.gz
build: fix for libcaca 0.99.beta20
-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
}