summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIwan Timmer2015-06-12 20:14:14 +0200
committerIwan Timmer2015-06-12 20:14:14 +0200
commitcbd9e301f42e509c092613620e01d40d956b366e (patch)
treef3885f6dbd654f3c68c43c6f7075f26b4f6522d1
downloadaur-cbd9e301f42e509c092613620e01d40d956b366e.tar.gz
Initial commit of Moonlight Embedded
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD29
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ec2e92bfa4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+# Generated by makepkg 4.2.1
+# Fri Jun 12 18:11:20 UTC 2015
+pkgbase = moonlight-embedded
+ pkgdesc = Gamestream client for embedded devices
+ pkgver = 2.0
+ pkgrel = 1
+ url = https://github.com/irtimmer/moonlight-embedded
+ arch = armv6h
+ arch = armv7h
+ license = GPL
+ makedepends = cmake
+ depends = curl
+ depends = opus
+ depends = alsa-lib
+ depends = avahi
+ depends = curl
+ depends = libevdev
+ depends = libsystemd
+ optdepends = raspberrypi-firmware-tools: Raspberry Pi support
+ optdepends = imx-vpu: i.MX6 support
+ source = https://github.com/irtimmer/moonlight-embedded/releases/download/v2.0/moonlight-embedded-2.0.tar.xz
+ sha256sums = 5671b6c5b33357ea2a2e2882d42e852590983f55fd6779eb0d2de1f08f0226b5
+ makedepends_armv6h = raspberrypi-firmware-tools
+ makedepends_armv7h = raspberrypi-firmware-tools
+ makedepends_armv7h = imx-vpu
+
+pkgname = moonlight-embedded
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0c4509c0e96
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Iwan Timmer <irtimmer@gmail.com>
+
+pkgname=moonlight-embedded
+pkgver=2.0
+pkgrel=1
+pkgdesc="Gamestream client for embedded devices"
+arch=('armv6h' 'armv7h')
+url="https://github.com/irtimmer/moonlight-embedded"
+license=('GPL')
+depends=('curl' 'opus' 'alsa-lib' 'avahi' 'curl' 'libevdev' 'libsystemd')
+makedepends_armv7h=('raspberrypi-firmware-tools' 'imx-vpu')
+makedepends_armv6h=('raspberrypi-firmware-tools')
+optdepends=('raspberrypi-firmware-tools: Raspberry Pi support'
+ 'imx-vpu: i.MX6 support')
+makedepends=('cmake')
+source=("https://github.com/irtimmer/moonlight-embedded/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('5671b6c5b33357ea2a2e2882d42e852590983f55fd6779eb0d2de1f08f0226b5')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../moonlight-embedded-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+}