Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package simplescreenrecorder #237

Merged
merged 5 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nvchecker/archlinux-proaudio.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions nvchecker/old_ver.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
41 changes: 41 additions & 0 deletions packages/simplescreenrecorder/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: this.ven <misgi@ven.uber.space>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

_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
}