Skip to content

Commit

Permalink
Package simplescreenrecorder (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisven authored Jun 2, 2023
1 parent 8ce9100 commit a2f04c6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
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 <[email protected]>
# 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
}

0 comments on commit a2f04c6

Please sign in to comment.