void-packages/srcpkgs/orion/template

25 lines
823 B
Bash

# Template file for 'orion'
pkgname=orion
version=1.6.1
revision=2
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel mpv-devel"
depends="qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects qt5-svg"
short_desc="Qt-based client for Twitch.tv"
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/alamminsalo/orion"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=eaa8ace822d3381a1915db82c4203d4ce4e56ec324d4ee18544bd68b00bce749
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel"
fi
do_install() {
vbin orion
vinstall distfiles/Orion.desktop 644 usr/share/applications/
vinstall distfiles/orion.svg 644 usr/share/icons/
}