void-packages/srcpkgs/orion/template

25 lines
822 B
Bash

# Template file for 'orion'
pkgname=orion
version=1.6.6
revision=1
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/${version}.tar.gz"
checksum=3c8750555e9302e49904c43f35f2c2870a0224a231304c63301b9112471575e1
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/
}