[arch-commits] Commit in simplescreenrecorder/repos (3 files)
Kyle Keen
kkeen at archlinux.org
Mon Apr 23 19:49:33 UTC 2018
Date: Monday, April 23, 2018 @ 19:49:32
Author: kkeen
Revision: 317447
archrelease: copy trunk to community-staging-x86_64
Added:
simplescreenrecorder/repos/community-staging-x86_64/
simplescreenrecorder/repos/community-staging-x86_64/PKGBUILD
(from rev 317446, simplescreenrecorder/trunk/PKGBUILD)
simplescreenrecorder/repos/community-staging-x86_64/simplescreenrecorder.install
(from rev 317446, simplescreenrecorder/trunk/simplescreenrecorder.install)
------------------------------+
PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++
simplescreenrecorder.install | 9 +++++++
2 files changed, 61 insertions(+)
Copied: simplescreenrecorder/repos/community-staging-x86_64/PKGBUILD (from rev 317446, simplescreenrecorder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-04-23 19:49:32 UTC (rev 317447)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Maarten Baert
+
+pkgname=simplescreenrecorder
+pkgver=0.3.10
+pkgrel=2
+pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL."
+arch=("x86_64")
+url="http://www.maartenbaert.be/simplescreenrecorder/"
+license=("GPL3")
+# upstream reports crashes with Qt5, reverting FS#45104
+# trying qt5 again with 0.3.9-3
+#depends=("qt4"
+depends=("qt5-base" "qt5-x11extras"
+ "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu"
+ "libx11" "libxext" "libxfixes" "libxi"
+ "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")
+md5sums=("SKIP")
+
+install=simplescreenrecorder.install
+
+prepare() {
+ cd ssr
+ mkdir -p build
+ # ffmpeg 4.0 tweaks
+ sed -i 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_CODEC_CAP_VARIABLE_FRAME_SIZE|' src/AV/Output/AudioEncoder.cpp
+ sed -i 's|CODEC_FLAG_QSCALE|AV_CODEC_FLAG_QSCALE|' src/AV/Output/{Audio,Video}Encoder.cpp
+ sed -i 's|CODEC_CAP_DELAY|AV_CODEC_CAP_DELAY|' src/AV/Output/BaseEncoder.cpp
+ sed -i 's|CODEC_FLAG_GLOBAL_HEADER|AV_CODEC_FLAG_GLOBAL_HEADER|' src/AV/Output/Muxer.cpp
+ sed -i 's|CODEC_CAP_EXPERIMENTAL|AV_CODEC_CAP_EXPERIMENTAL|' src/AV/Output/Muxer.cpp
+}
+
+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 317446, simplescreenrecorder/trunk/simplescreenrecorder.install)
===================================================================
--- community-staging-x86_64/simplescreenrecorder.install (rev 0)
+++ community-staging-x86_64/simplescreenrecorder.install 2018-04-23 19:49:32 UTC (rev 317447)
@@ -0,0 +1,9 @@
+post_install() {
+ ldconfig
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list