Add 'moonlight-qt/' from commit 'f305b296528f6abdeb60c73061b7b376192fc792'

git-subtree-dir: moonlight-qt
git-subtree-mainline: 4b3eb6790d
git-subtree-split: f305b29652
This commit is contained in:
Cedric Girard 2021-01-20 09:07:35 +01:00
commit 8fad769c33
3 changed files with 53 additions and 0 deletions

19
moonlight-qt/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = moonlight-qt
pkgdesc = GameStream client for PCs (Windows, Mac, and Linux)
pkgver = 2.1.0
pkgrel = 1
url = https://moonlight-stream.org
arch = x86_64
license = GPL
makedepends = git
depends = qt5-base
depends = qt5-quickcontrols2
depends = qt5-svg
depends = ffmpeg
depends = sdl2_ttf
optdepends = libva-intel-driver: hardware acceleration for Intel GPUs
source = git+https://github.com/moonlight-stream/moonlight-qt.git#tag=v1.1.0
md5sums = SKIP
pkgname = moonlight-qt

4
moonlight-qt/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO

30
moonlight-qt/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
pkgver=2.1.0
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=("git+https://github.com/moonlight-stream/${pkgname}.git#tag=v${pkgver}")
md5sums=('SKIP')
prepare() {
cd "$pkgname"
git submodule update --init --recursive
qmake PREFIX="$pkgdir/usr" moonlight-qt.pro
}
build() {
cd "$pkgname"
make release
}
package() {
cd "$pkgname"
make install
}