26 lines
878 B
Bash
26 lines
878 B
Bash
# Template file for 'ssr'
|
|
pkgname=ssr
|
|
version=0.4.3
|
|
revision=1
|
|
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 libXinerama-devel v4l-utils-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=03b5f6cd613b504f8b2351c2728a6fd070aa0cc98e709bcafdcf93b672bd2b71
|
|
|
|
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
|