diff --git a/nvchecker/archlinux-proaudio.toml b/nvchecker/archlinux-proaudio.toml index e7848709..5bba5c1d 100644 --- a/nvchecker/archlinux-proaudio.toml +++ b/nvchecker/archlinux-proaudio.toml @@ -285,6 +285,11 @@ prefix = "v" source = "pypi" pypi = "rtcqs" +[simplescreenrecorder] +source = "github" +github = "MaartenBaert/ssr" +use_max_tag = true + [sfzlint] source = "github" github = "jisaacstone/sfzlint" diff --git a/nvchecker/old_ver.json b/nvchecker/old_ver.json index 2e6c4fee..2519426b 100644 --- a/nvchecker/old_ver.json +++ b/nvchecker/old_ver.json @@ -47,6 +47,7 @@ "rakarrack-plus": "1.2.3", "rezonateur": "0.1.0", "rtcqs": "0.5.3", + "simplescreenrecorder": "0.4.4", "sfzlint": "0.1.5", "stone-phaser": "0.1.2", "string-machine": "0.1.0", diff --git a/packages/simplescreenrecorder/PKGBUILD b/packages/simplescreenrecorder/PKGBUILD new file mode 100644 index 00000000..a1022d5b --- /dev/null +++ b/packages/simplescreenrecorder/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: OSAMC +# Contributor: this.ven +# Contributor: Christopher Arndt + +_name=ssr +pkgname=simplescreenrecorder +pkgver=0.4.4 +pkgrel=1 +pkgdesc='A feature-rich screen recorder that supports X11 and OpenGL' +arch=(x86_64 aarch64) +url='https://www.maartenbaert.be/simplescreenrecorder' +license=(GPL3) +depends=(alsa-lib desktop-file-utils ffmpeg glu gtk-update-icon-cache jack + libgl libpulse libx11 libxext libxfixes libxi libxinerama qt5-base + qt5-x11extras) +makedepends=(cmake qt5-tools) +source=("https://github.com/MaartenBaert/$_name/archive/refs/tags/$pkgver.tar.gz" + ffmpeg5.patch::https://patch-diff.githubusercontent.com/raw/MaartenBaert/ssr/pull/934.patch) +sha256sums=('69fccf8df6e7285d4df5033eed8748f4eae13b407488906dcf4810a277d557b8' + '4b01938615a34127236a21ee0ffa20bbb179c8bfcc5ecef872fc5a246727d2e1') + +prepare() { + cd $_name-$pkgver + mkdir -p build + patch -p1 -i "$srcdir"/ffmpeg5.patch # Fix build with ffmpeg 5 +} + +build() { + cd $_name-$pkgver/build + cmake -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_QT5=on \ + -DCMAKE_INSTALL_LIBDIR='lib' ../ + make +} + +package() { + cd $_name-$pkgver/build + make DESTDIR="$pkgdir" install +} +