community/simplescreenrecorder to 0.3.9-1

This commit is contained in:
Kevin Mihelich 2018-01-17 20:55:10 +00:00
parent 712f3a2969
commit e53304a2a2

View file

@ -3,13 +3,13 @@
# Contributor: Maarten Baert
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure with --disable-x86-asm --disable-glinjectlib
# - cmake with -DENABLE_32BIT_GLINJECT="FALSE" -DENABLE_X86_ASM="FALSE" -DWITH_GLINJECT="FALSE"
pkgname=simplescreenrecorder
pkgver=0.3.8
pkgver=0.3.9
pkgrel=1
pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL."
arch=("i686" "x86_64")
arch=("x86_64")
url="http://www.maartenbaert.be/simplescreenrecorder/"
license=("GPL3")
# upstream reports crashes with Qt5, reverting FS#45104
@ -18,22 +18,30 @@ depends=("qt4" "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")
makedepends=("git" "cmake")
source=("git+https://github.com/MaartenBaert/ssr.git#tag=$pkgver")
md5sums=("SKIP")
options=("!libtool")
install=simplescreenrecorder.install
build() {
prepare() {
cd ssr
mkdir -p build
}
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 --disable-x86-asm --disable-glinjectlib
#./configure --prefix=/usr --disable-assert
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR='lib' ../ \
-DENABLE_32BIT_GLINJECT="FALSE" -DENABLE_X86_ASM="FALSE" -DWITH_GLINJECT="FALSE"
make
}
package() {
cd ssr
cd ssr/build
make DESTDIR="$pkgdir" install
}