diff options
author | Xiretza | 2022-05-15 12:51:24 +0200 |
---|---|---|
committer | Xiretza | 2022-05-15 13:03:22 +0200 |
commit | b8a22945d860ba507d5708a862501a0eb0cf20ac (patch) | |
tree | 77a63dba989d088d7908ac156b839116fcb663a6 | |
parent | 2242884b42c5f50f1fb08e357ca9d48098254604 (diff) | |
download | aur-b8a22945d860ba507d5708a862501a0eb0cf20ac.tar.gz |
Fix missing include in upstream
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch | 24 | ||||
-rw-r--r-- | PKGBUILD | 12 |
3 files changed, 36 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = libtg_owt-git pkgdesc = WebRTC library - static linked, git version - pkgver = 0.git.r275.c1aea3d1 + pkgver = 0.git.r325.10d5f4bf pkgrel = 1 url = https://github.com/desktop-app/tg_owt arch = x86_64 @@ -30,9 +30,11 @@ pkgbase = libtg_owt-git source = libvpx::git+https://chromium.googlesource.com/webm/libvpx.git source = libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git source = pipewire::git+https://github.com/PipeWire/pipewire.git + source = 0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch b2sums = SKIP b2sums = SKIP b2sums = SKIP b2sums = SKIP + b2sums = e123c6b8e3cc0445ee9d843ff018500ab1203e6e4fb966a2409275a238bb26903e7d635929aab075cf4d5ce2098d3d1f101f9d5c2b81c6fb24fdcd9ddf85443b pkgname = libtg_owt-git diff --git a/0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch b/0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch new file mode 100644 index 000000000000..211ed25db9b7 --- /dev/null +++ b/0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch @@ -0,0 +1,24 @@ +From 86d2bcd7afb8706663d29e30f65863de5a626142 Mon Sep 17 00:00:00 2001 +From: Xiretza <xiretza@xiretza.xyz> +Date: Sun, 15 May 2022 12:47:41 +0200 +Subject: [PATCH] fix(h265_pps_parser): fix missing cstdint include + +--- + src/common_video/h265/h265_pps_parser.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/common_video/h265/h265_pps_parser.h b/src/common_video/h265/h265_pps_parser.h +index 28c95ea9..c180b1b9 100644 +--- a/src/common_video/h265/h265_pps_parser.h ++++ b/src/common_video/h265/h265_pps_parser.h +@@ -12,6 +12,7 @@ + #define COMMON_VIDEO_H265_PPS_PARSER_H_ + + #include "absl/types/optional.h" ++#include <cstdint> + + namespace rtc { + class BitBuffer; +-- +2.36.1 + @@ -3,7 +3,7 @@ _pkgname=libtg_owt pkgname=${_pkgname}-git -pkgver=0.git.r275.c1aea3d1 +pkgver=0.git.r325.10d5f4bf pkgrel=1 pkgdesc='WebRTC library - static linked, git version' arch=('x86_64') @@ -16,11 +16,14 @@ options=('staticlibs') source=("tg_owt::git+${url}.git" "libvpx::git+https://chromium.googlesource.com/webm/libvpx.git" "libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git" - "pipewire::git+https://github.com/PipeWire/pipewire.git") + "pipewire::git+https://github.com/PipeWire/pipewire.git" + "0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch" +) b2sums=('SKIP' 'SKIP' 'SKIP' - 'SKIP') + 'SKIP' + 'e123c6b8e3cc0445ee9d843ff018500ab1203e6e4fb966a2409275a238bb26903e7d635929aab075cf4d5ce2098d3d1f101f9d5c2b81c6fb24fdcd9ddf85443b') provides=('libtg_owt') conflicts=('libtg_owt') @@ -31,6 +34,9 @@ pkgver(){ prepare() { cd tg_owt + + patch -p1 < "$srcdir/0001-fix-h265_pps_parser-fix-missing-cstdint-include.patch" + git submodule init git config submodule.src/third_party/libvpx/source/libvpx.url "$srcdir"/libvpx git config submodule.src/third_party/libyuv.url "$srcdir"/libyuv |