Package Details: replay-sorcery 0.6.0-2

Git Clone URL: https://aur.archlinux.org/replay-sorcery.git (read-only, click to copy)
Package Base: replay-sorcery
Description: Open-source, instant-replay solution for Linux
Upstream URL: https://github.com/matanui159/ReplaySorcery
Licenses: GPL-3.0-or-later
Submitter: bennettbackward
Maintainer: xiota
Last Packager: xiota
Votes: 12
Popularity: 0.41
First Submitted: 2020-07-26 01:02 (UTC)
Last Updated: 2024-08-04 02:01 (UTC)

Latest Comments

« First ‹ Previous 1 2

MithicSpirit commented on 2021-10-25 02:15 (UTC)

the config file should either be in /usr/local/etc or just /etc, since /usr/etc is a non-standard location to store configuration files.

liamtimms commented on 2021-02-10 16:12 (UTC)

Hello,

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

https://aur.archlinux.org/packages/replay-sorcery/

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

https://www.openwall.com/lists/oss-security/2021/02/10/1

https://bugzilla.suse.com/show_bug.cgi

-from: https://www.reddit.com/r/archlinux/comments/lgvtep/anyone_have_access_to_aur_consider_adding_drs/

katt commented on 2020-07-30 11:31 (UTC)

@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 (UTC)

@katt would you be able to open a PR on the source repo? https://github.com/matanui159/ReplaySorcery

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 (UTC)

Took the liberty of cleaning this PKGBUILD up.

diff --git a/PKGBUILD b/PKGBUILD
index 84ce555..0a8d6ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,26 +3,38 @@ pkgver=0.2.6
 pkgrel=1
 pkgdesc="An open-source, instant-replay screen recorder for Linux"
 arch=("i686" "x86_64")
-license=("GPL-3.0")
-makedepends=("cmake" "make" "git" "pkg-config" "nasm")
+license=("GPL3")
+depends=("gcc-libs" "libxext")
+makedepends=("cmake" "git" "nasm")
 url="https://github.com/matanui159/ReplaySorcery"
-source=("${pkgname}::git+${url}.git#tag=${pkgver}")
-sha256sums=("SKIP")
+source=("${pkgname}::git+${url}.git#tag=${pkgver}"
+        "git+https://github.com/libjpeg-turbo/libjpeg-turbo.git"
+        "git+https://github.com/ianlancetaylor/libbacktrace.git"
+        "git+https://code.videolan.org/videolan/x264.git"
+        "git+https://github.com/lieff/minimp4.git")
+sha256sums=('SKIP'
+            '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 \
       -DCMAKE_INSTALL_PREFIX=/usr
-   make -C build
+   cmake --build build
 }

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