archlinux-pkgbuilds/moonlight-qt/PKGBUILD
2022-09-12 09:54:20 +02:00

27 lines
803 B
Bash

# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
pkgver=4.2.1
pkgrel=1
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64')
license=('GPL')
url='https://moonlight-stream.org'
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-svg' 'ffmpeg' 'sdl2_ttf')
makedepends=('git')
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs')
source=("https://github.com/moonlight-stream/${pkgname}/releases/download/v${pkgver}/MoonlightSrc-${pkgver}.tar.gz")
sha256sums=('5f939e259b92e17f34d6cec9ccdc96452812fc456232b7fecab3dc7b8fd605a3')
prepare() {
qmake PREFIX="$pkgdir/usr" moonlight-qt.pro
}
build() {
make release
}
package() {
make install
}