-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|