summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortytan6522022-10-19 14:11:44 +0200
committertytan6522022-10-19 14:11:44 +0200
commitc0eabe296f8ff4942099deae0967d31a39f2f83d (patch)
tree57e432ca627b96a589a974519d6ec6e3153e23d8
parent0f89e2996da26015bdc804a268eef60f6f834989 (diff)
downloadaur-c0eabe296f8ff4942099deae0967d31a39f2f83d.tar.gz
build: Fix git CVE mess
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fbb2b268de3..81979252d4b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = obs-studio-browser
pkgdesc = Free and open source software for video recording and live streaming. With everything except service integration
pkgver = 28.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/obsproject/obs-studio
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index eae8fd728608..40ae1413175b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ DISTRIB_ID=`lsb_release --id | cut -f2 -d$'\t'`
pkgname=obs-studio-browser
pkgver=28.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="Free and open source software for video recording and live streaming. With everything except service integration"
arch=("x86_64")
url="https://github.com/obsproject/obs-studio"
@@ -121,6 +121,7 @@ fi
prepare() {
cd "$srcdir/obs-studio"
+ git config --local protocol.file.allow always
git config submodule.plugins/obs-browser.url $srcdir/obs-browser
git config submodule.plugins/obs-websocket.url $srcdir/obs-websocket
git submodule update
@@ -131,6 +132,7 @@ prepare() {
sed -i 's|AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/deps/asio/asio/include/asio.hpp||' CMakeLists.txt
sed -i "s|AND EXISTS|EXISTS|" CMakeLists.txt
sed -i "s|add_subdirectory(deps/json)|find_package(nlohmann_json 3.10.0 REQUIRED)|" CMakeLists.txt
+ git config --local protocol.file.allow always
git config submodule.deps/qr.url $srcdir/qr
git submodule update deps/qr
}