summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-01-16 18:53:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-01-16 18:53:50 (GMT)
commitc7033cd90ab47e9c739e492bd2de1c50699e7516 (patch)
treef7dc49452aafacc1bb9ff8cc69d779385b2d25eb /abs/core
parent57d85567cbc5a7aac581642e1d54ccc473f106d8 (diff)
downloadlinhes_pkgbuild-c7033cd90ab47e9c739e492bd2de1c50699e7516.zip
linhes_pkgbuild-c7033cd90ab47e9c739e492bd2de1c50699e7516.tar.gz
linhes_pkgbuild-c7033cd90ab47e9c739e492bd2de1c50699e7516.tar.bz2
linhes-scripts: add script to fetch the airplay key. VERY basic at the moment, someone should a disclaimer or something.
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