# Maintainer: hiddeninthesand pkgname='moonlight-qt' _gitname='moonlight-qt' pkgver='4.3.1' pkgrel='1' pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)' arch=('x86_64') license=('GPL') url='https://moonlight-stream.org' makedepends=('git' 'build-essential') depends=('libegl1-mesa-dev' 'libgl1-mesa-dev' 'libopus-dev' 'libqt5svg5-dev' 'libsdl2-dev' 'libsdl2-ttf-dev' 'libssl-dev' 'libavcodec-dev' 'libva-dev' 'libvdpau-dev' 'libxkbcommon-dev' 'qt5-default' 'qt5-qmake' 'qtbase5-dev' 'qtdeclarative5-dev' 'qtquickcontrols2-5-dev' 'wayland-protocols' 'qml-module-qtquick-controls2' 'qml-module-qtquick-layouts' 'qml-module-qtquick-window2' 'qml-module-qtquick2' 'ffmpeg') makedepends=('git') source=("git+https://github.com/moonlight-stream/${_gitname}.git#tag=v${pkgver}") conflicts=("${_gitname}-git" "${_gitname}-bin") sha256sums=('SKIP') prepare() { cd "${srcdir}/${_gitname}" git submodule update --init --recursive qmake PREFIX="${pkgdir}/usr" moonlight-qt.pro } build() { cd "${srcdir}/${_gitname}" make release } package() { cd "${srcdir}/${_gitname}" make install }