# Template file for 'deepin-voice-recorder'
pkgname=deepin-voice-recorder
version=1.3.7
revision=2
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="qt5-multimedia-devel dtkwidget-devel ffmpeg-devel pulseaudio-devel"
depends="qt5integration gst-plugins-good1"
short_desc="Deepin voice recorder"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-voice-recorder/"
changelog="https://raw.githubusercontent.com/linuxdeepin/deepin-voice-recorder/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-voice-recorder/archive/${version}.tar.gz"
checksum=c5abf504ec67e379cd9a54a36104812e19f7dcf3ff1ac737468ac322407e1de0

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-multimedia-devel"
fi
