[arch-commits] Commit in simplescreenrecorder/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jan 26 19:43:32 UTC 2022
Date: Wednesday, January 26, 2022 @ 19:43:31
Author: arojas
Revision: 1116184
archrelease: copy trunk to community-staging-x86_64
Added:
simplescreenrecorder/repos/community-staging-x86_64/
simplescreenrecorder/repos/community-staging-x86_64/PKGBUILD
(from rev 1116183, simplescreenrecorder/trunk/PKGBUILD)
simplescreenrecorder/repos/community-staging-x86_64/simplescreenrecorder.install
(from rev 1116183, simplescreenrecorder/trunk/simplescreenrecorder.install)
------------------------------+
PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++++++
simplescreenrecorder.install | 9 ++++++++
2 files changed, 55 insertions(+)
Copied: simplescreenrecorder/repos/community-staging-x86_64/PKGBUILD (from rev 1116183, simplescreenrecorder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-01-26 19:43:31 UTC (rev 1116184)
@@ -0,0 +1,46 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Maarten Baert
+
+pkgname=simplescreenrecorder
+pkgver=0.4.3
+pkgrel=2
+pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL."
+arch=("x86_64")
+url="https://www.maartenbaert.be/simplescreenrecorder/"
+license=("GPL3")
+depends=("qt5-base" "qt5-x11extras"
+ "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu"
+ "libx11" "libxext" "libxfixes" "libxi" "libxinerama"
+ "desktop-file-utils" "gtk-update-icon-cache")
+optdepends=("lib32-simplescreenrecorder: OpenGL recording of 32-bit applications")
+makedepends=("git" "cmake" "qt5-tools")
+source=("git+https://github.com/MaartenBaert/ssr.git#tag=$pkgver"
+ ffmpeg5.patch::https://patch-diff.githubusercontent.com/raw/MaartenBaert/ssr/pull/934.patch)
+md5sums=('SKIP'
+ '4ef035d6c45d146a06b9953075173185')
+
+install=simplescreenrecorder.install
+
+prepare() {
+ cd ssr
+ mkdir -p build
+
+ patch -p1 -i ../ffmpeg5.patch # Fix build with ffmpeg 5
+}
+
+build() {
+ cd ssr/build
+ # fPIC is only required for qt5 + gcc5
+ #CXXFLAGS="$CXXFLAGS -fPIC"
+ #./configure --prefix=/usr --disable-assert --with-qt5
+ #./configure --prefix=/usr --disable-assert
+ # -DLRELEASE='/usr/bin/lrelease-qt4' \
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_QT5=on \
+ -DCMAKE_INSTALL_LIBDIR='lib' ../
+ make
+}
+package() {
+ cd ssr/build
+ make DESTDIR="$pkgdir" install
+}
Copied: simplescreenrecorder/repos/community-staging-x86_64/simplescreenrecorder.install (from rev 1116183, simplescreenrecorder/trunk/simplescreenrecorder.install)
===================================================================
--- community-staging-x86_64/simplescreenrecorder.install (rev 0)
+++ community-staging-x86_64/simplescreenrecorder.install 2022-01-26 19:43:31 UTC (rev 1116184)
@@ -0,0 +1,9 @@
+post_install() {
+ ldconfig
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list