void-packages/srcpkgs/ssr/template
2018-07-01 19:30:17 +02:00

25 lines
845 B
Bash

# Template file for 'ssr'
pkgname=ssr
version=0.3.11
revision=2
build_style=cmake
configure_args="-DWITH_QT5=ON"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel ffmpeg-devel glu-devel jack-devel pulseaudio-devel
qt5-tools-devel qt5-x11extras-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Simple Screen Recorder for programs and games"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3.0-or-later"
homepage="http://www.maartenbaert.be/simplescreenrecorder/"
distfiles="https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz"
checksum=54f5c349c54694038586d3dfe0014da5d83044d0cf0ed9c0de525ddc54cbd150
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" -DENABLE_X86_ASM=no -DWITH_GLINJECT=no" ;;
esac