From d57a352d5f6f9645e02e04a1cd0df8316a6daf01 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 1 Feb 2016 18:12:09 +0000 Subject: linhes-theme: recordings-ui.xml: adjust spacing of episode on selected add .install to clear themecache and quit mythfrontend --- abs/core/linhes-theme/PKGBUILD | 5 +++-- abs/core/linhes-theme/linhes-theme.install | 14 ++++++++++++++ abs/core/linhes-theme/recordings-ui.xml.patch | 26 +++++++++++++++++++++++++- 3 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 abs/core/linhes-theme/linhes-theme.install diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD index 952f559..38db265 100644 --- a/abs/core/linhes-theme/PKGBUILD +++ b/abs/core/linhes-theme/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-theme pkgver=8.4 -pkgrel=2 +pkgrel=3 pkgdesc="Default LinHES MythTV theme" arch=('i686' 'x86_64') license=('GPL2') @@ -14,6 +14,7 @@ patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch' source=(`echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' 'osd_subtitle.xml' 'bubble_background.png' 'preview.png' 'blank_coverart.png' 'LHLogo.png' 'LHLogoAndText.png') +install=($pkgname.install) prepare() { _gitroot="https://github.com/MythTV-Themes/TintedGlass.git" @@ -88,7 +89,7 @@ md5sums=('2dca856c2a4d1f959473512c94e43b60' '23d7e1400b4b192046896e57c509b548' '22ff4044c8c29560451fb51dcbf4d44e' '9fe3371a8b964a7028126405cfaa330b' - '919d02ffb789b2ec3c1fd5d2866d12dc' + 'e88dc1587a164aaa15b280cb66f6a82b' 'a04b287a48d5d67ee6d95a8e975684cc' '5a8fb2a5f0e657d52be6f0a6a006ce72' '35d77d91125e46728a30ab23d0903223' diff --git a/abs/core/linhes-theme/linhes-theme.install b/abs/core/linhes-theme/linhes-theme.install new file mode 100644 index 0000000..c506cbe --- /dev/null +++ b/abs/core/linhes-theme/linhes-theme.install @@ -0,0 +1,14 @@ +post_install() { + . /usr/MythVantage/bin/install_functions.sh + home_check + if /usr/bin/ls $MYTHHOME/.mythtv/themecache/LinHES* 1> /dev/null 2>&1 + then + echo "Clearing themecache and quitting mythfrontend." + /usr/bin/rm -rf $MYTHHOME/.mythtv/themecache/LinHES* + killall mythfrontend + fi +} + +post_upgrade() { + post_install +} diff --git a/abs/core/linhes-theme/recordings-ui.xml.patch b/abs/core/linhes-theme/recordings-ui.xml.patch index af599c0..66f8875 100644 --- a/abs/core/linhes-theme/recordings-ui.xml.patch +++ b/abs/core/linhes-theme/recordings-ui.xml.patch @@ -1,5 +1,5 @@ --- recordings-ui.xml.orig 2016-01-13 18:49:43.937377460 +0000 -+++ recordings-ui.xml 2016-01-13 01:12:57.516392855 +0000 ++++ recordings-ui.xml 2016-02-01 17:30:34.022038184 +0000 @@ -105,19 +105,11 @@ @@ -44,6 +44,30 @@ right,vcenter + + + @@ -606,57 +600,48 @@ -- cgit v0.12