Package Details: replay-sorcery 0.5.0-1

Git Clone URL: (read-only, click to copy)
Package Base: replay-sorcery
Description: An open-source, instant-replay screen recorder for Linux
Upstream URL:
Licenses: GPL3
Submitter: bennettbackward
Maintainer: bennettbackward (matanui159)
Last Packager: matanui159
Votes: 6
Popularity: 0.48
First Submitted: 2020-07-26 01:02
Last Updated: 2021-01-24 03:21

Latest Comments

liamtimms commented on 2021-02-10 16:12


Anyone have access to AUR, can anyone consider adding "-DRS_SETID=OFF" to pkgbuild for replay-sorcery.

There is a security bug related to setuid, and it should be disabled.


katt commented on 2020-07-30 11:31

@matanui159 The benefits is that the downloading is handled by makepkg and is cached, and won't have to be re-downloaded every single time wasting bandwidth, time and SSD cycles.

matanui159 commented on 2020-07-30 08:12

@katt would you be able to open a PR on the source repo?

Also what are the benefits of handling submodules in this way? I would prefer if it used the exact version from the repo instead and it just overall seems more verbose.

katt commented on 2020-07-29 18:30

Took the liberty of cleaning this PKGBUILD up.

diff --git a/PKGBUILD b/PKGBUILD
index 84ce555..0a8d6ba 100644
@@ -3,26 +3,38 @@ pkgver=0.2.6
 pkgdesc="An open-source, instant-replay screen recorder for Linux"
 arch=("i686" "x86_64")
-makedepends=("cmake" "make" "git" "pkg-config" "nasm")
+depends=("gcc-libs" "libxext")
+makedepends=("cmake" "git" "nasm")
+        "git+"
+        "git+"
+        "git+"
+        "git+")
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')

 prepare() {
-   mkdir -p "${pkgname}/build"
-   git -C "${pkgname}" submodule update --init --recursive --depth=1
+   cd ${pkgname}
+   git submodule init
+   git config submodule."dep/libjpeg-turbo".url ../libjpeg-turbo
+   git config submodule."dep/libbacktrace".url ../libbacktrace
+   git config submodule."dep/x264".url ../x264
+   git config submodule."dep/minimp4".url ../minimp4
+   git submodule update

 build() {
-   cd "${pkgname}" || exit 1
-   cmake -B build \
+   cmake -B build -S "${pkgname}" \
       -DCMAKE_BUILD_TYPE=Release \
-   make -C build
+   cmake --build build

 package() {
-   cd "${pkgname}" || exit 1
-   make -C build DESTDIR=${pkgdir} install
+   DESTDIR="${pkgdir}" cmake --install build