ssr: update to 0.3.10, fix cross compilation

This commit is contained in:
cr6git 2018-03-26 21:10:10 +02:00 committed by Enno Boland
parent 73056519f9
commit 1e7d184657
1 changed files with 10 additions and 11 deletions

View File

@ -1,26 +1,25 @@
# Template file for 'ssr'
pkgname=ssr
version=0.3.9
revision=2
version=0.3.10
revision=1
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"
makedepends="alsa-lib-devel ffmpeg-devel glu-devel jack-devel
libXi-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"
homepage="http://www.maartenbaert.be/simplescreenrecorder/"
distfiles="https://github.com/MaartenBaert/${pkgname}/archive/${version}.tar.gz"
checksum=f3820eadaf9ecfe9aaf0940bf868cedd828c6e75b6a860195ecc091c174fcebe
distfiles="https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz"
checksum=6f3c8507d69a0efd4f159d17cd8f840a8bbeeb8d67ffb7b14b9fc2d1bd4f340b
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" -DENABLE_X86_ASM=no -DWITH_GLINJECT=no" ;;
i686*|x86_64*) ;;
*) configure_args+=" -DENABLE_X86_ASM=no -DWITH_GLINJECT=no" ;;
esac