summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/linhes-scripts/PKGBUILD10
-rwxr-xr-xabs/core/linhes-scripts/get_airplay_key6
2 files changed, 12 insertions, 4 deletions
diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index 6c37de4..8de4c88 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=linhes-scripts
pkgver=7
-pkgrel=48
+pkgrel=49
pkgdesc="Various scripts that help to make LinHES, LinHES."
arch=('i686' 'x86_64')
license=('GPL2')
@@ -48,18 +48,19 @@ xwin_find.sh
upgrade_screen_rc
upgrade_linhes_script.sh
find_orphans.py
-acl_fix_fstab.py
+acl_fix_fstab.py
stop_xss.sh
myth2mkv
LinHES-osd
ripD_eject.sh
+get_airplay_key
)
build() {
cd ${srcdir}
install -d ${pkgdir}/usr/LH/bin
install -d ${pkgdir}/usr/LH/etc
- install -D -m755 myth2* *.sh *.pl *.py vdpau* run-* pause_* LinHES* ${pkgdir}/usr/LH/bin/
+ install -D -m755 myth2* *.sh *.pl *.py vdpau* run-* pause_* LinHES* get_airplay_key ${pkgdir}/usr/LH/bin/
install -D -m755 upgrade_screen_rc ${pkgdir}/usr/LH/etc/
mkdir -p ${pkgdir}/etc/sv/pause-mythcommflag/supervise
cp run-pause-mythcommflag ${pkgdir}/etc/sv/pause-mythcommflag/run
@@ -110,4 +111,5 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
'54a478660d0f8150fe10112a9ecf2740'
'503df99218373dfc75e7e7f5e449a44e'
'b608044c9e7530a400d8f5b88fdfe6e6'
- 'e2e24dd59d5d576cc33feafb329fa302')
+ 'e2e24dd59d5d576cc33feafb329fa302'
+ '33fbebbd546672cedd3c5e7350ab414e')
diff --git a/abs/core/linhes-scripts/get_airplay_key b/abs/core/linhes-scripts/get_airplay_key
new file mode 100755
index 0000000..89a40dd
--- /dev/null
+++ b/abs/core/linhes-scripts/get_airplay_key
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+. /usr/MythVantage/bin/install_functions.sh
+curl https://raw.github.com/juhovh/shairplay/master/airport.key > $MYTHHOME/.mythtv/RAOPKey.rsa
+chmod 755 $MYTHHOME/.mythtv/RAOPKey.rsa
+chown mythtv:mythtv $MYTHHOME/.mythtv/RAOPKey.rsa \ No newline at end of file