archlinux-pkgbuilds/PKGBUILD

31 lines
717 B
Text
Raw Normal View History

2018-08-09 01:10:05 +02:00
# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
2020-06-03 17:20:42 +02:00
pkgver=2.1.0
2019-10-06 22:56:11 +02:00
pkgrel=1
2018-08-09 01:10:05 +02:00
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64')
license=('GPL')
2019-06-23 13:38:36 +02:00
url='https://moonlight-stream.org'
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-svg' 'ffmpeg' 'sdl2_ttf')
makedepends=('git')
2018-08-09 01:10:05 +02:00
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs')
2019-05-28 00:02:16 +02:00
source=("git+https://github.com/moonlight-stream/${pkgname}.git#tag=v${pkgver}")
2018-08-09 01:10:05 +02:00
md5sums=('SKIP')
prepare() {
2018-08-09 01:10:05 +02:00
cd "$pkgname"
git submodule update --init --recursive
2019-05-28 00:02:16 +02:00
qmake PREFIX="$pkgdir/usr" moonlight-qt.pro
2018-08-09 01:10:05 +02:00
}
build() {
cd "$pkgname"
2019-05-28 00:02:16 +02:00
make release
2018-08-09 01:10:05 +02:00
}
package() {
cd "$pkgname"
make install
}