summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBooloki2020-02-23 08:28:43 +0100
committerBooloki2020-02-23 08:28:43 +0100
commitb4b70e1c1b02677d2f143b2877ffffe9e255d5f3 (patch)
treee78f368649a239785ec490ef1f7cf46bdeff617b
parentda19a1bdd5858cd35328adc217191ba6ea210b75 (diff)
downloadaur-b4b70e1c1b02677d2f143b2877ffffe9e255d5f3.tar.gz
aom compat patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
-rw-r--r--aom_compat.patch11
3 files changed, 20 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7963ed2bbe..da77815d5f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vlc-nox
pkgdesc = Multi-platform MPEG, VCD/DVD, and DivX player (without X support)
pkgver = 3.0.8
- pkgrel = 1
+ pkgrel = 2
url = https://www.videolan.org/vlc/
arch = x86_64
license = LGPL2.1
@@ -158,9 +158,11 @@ pkgbase = vlc-nox
source = http://download.videolan.org/vlc/3.0.8/vlc-3.0.8.tar.xz
source = update-vlc-plugin-cache.hook
source = lua53_compat.patch
+ source = aom_compat.patch
sha512sums = 5ade0b350e98fd6fa90035bffabda96f0addb3844a7c0a242b4db1cab6a746e1adb1d713ddcb48ae51a7d1736090f096f5d3b0637a9f958ccf4fcf27e838cf70
sha512sums = 80357bae69e32b353d3784932d854e294906798e14faffb87c3383c3b6f6bdc57cbabb9c6e3f3c1adf0f8ddbb24153e72104c963cf1934970c2983c96daef9df
sha512sums = 33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f
+ sha512sums = 5f3476ea0674640dd0321349dbec1e1d36169b456b5cc5492467e1db1e839c8af1b1b8ceeb16c54beb4d449aabd595c72984fbd2ae9df07f457867f99a7b7d98
pkgname = vlc-nox
diff --git a/PKGBUILD b/PKGBUILD
index d15dab74fad..6dbf29eb19b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
_pkgbase=vlc
pkgname=vlc-nox
pkgver=3.0.8
-pkgrel=1
+pkgrel=2
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player (without X support)'
url='https://www.videolan.org/vlc/'
arch=('x86_64')
@@ -92,16 +92,19 @@ replaces=('vlc' 'vlc-plugin' 'vlc-git')
options=('!emptydirs')
source=(http://download.videolan.org/${_pkgbase}/${pkgver}/${_pkgbase}-${pkgver}.tar.xz
update-vlc-plugin-cache.hook
- lua53_compat.patch)
+ lua53_compat.patch
+ aom_compat.patch)
sha512sums=('5ade0b350e98fd6fa90035bffabda96f0addb3844a7c0a242b4db1cab6a746e1adb1d713ddcb48ae51a7d1736090f096f5d3b0637a9f958ccf4fcf27e838cf70'
'80357bae69e32b353d3784932d854e294906798e14faffb87c3383c3b6f6bdc57cbabb9c6e3f3c1adf0f8ddbb24153e72104c963cf1934970c2983c96daef9df'
- '33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f')
+ '33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f'
+ '5f3476ea0674640dd0321349dbec1e1d36169b456b5cc5492467e1db1e839c8af1b1b8ceeb16c54beb4d449aabd595c72984fbd2ae9df07f457867f99a7b7d98')
prepare() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
sed -e 's:truetype/ttf-dejavu:TTF:g' -i modules/visualization/projectm.cpp
sed -e 's|-Werror-implicit-function-declaration||g' -i configure
patch -Np1 < "${srcdir}/lua53_compat.patch"
+ patch -Np1 < "${srcdir}/aom_compat.patch"
sed 's|whoami|echo builduser|g' -i configure
sed 's|hostname -f|echo arch|g' -i configure
}
diff --git a/aom_compat.patch b/aom_compat.patch
new file mode 100644
index 00000000000..4f9f319cf56
--- /dev/null
+++ b/aom_compat.patch
@@ -0,0 +1,11 @@
+diff -u -r vlc-3.0.8/modules/codec/aom.c vlc-3.0.8-aom/modules/codec/aom.c
+--- vlc-3.0.8/modules/codec/aom.c 2019-01-09 16:02:11.000000000 +0000
++++ vlc-3.0.8-aom/modules/codec/aom.c 2020-02-22 11:44:27.188620819 +0000
+@@ -98,7 +98,6 @@
+ { VLC_CODEC_I444, AOM_IMG_FMT_I444, 8, 0 },
+
+ { VLC_CODEC_YV12, AOM_IMG_FMT_YV12, 8, 0 },
+-{ VLC_CODEC_YUVA, AOM_IMG_FMT_444A, 8, 0 },
+
+ { VLC_CODEC_GBR_PLANAR, AOM_IMG_FMT_I444, 8, 1 },
+ { VLC_CODEC_GBR_PLANAR_10L, AOM_IMG_FMT_I44416, 10, 1 },