void-packages/srcpkgs/ssr/template
Andrew Benson 60a9f6f5eb ssr: fix cross compile
Closes: #12056 [via git-merge-pr]
2018-03-06 17:48:56 +01:00

26 lines
863 B
Bash

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