diff options
Diffstat (limited to 'abs/core/linhes-theme/PKGBUILD')
-rw-r--r-- | abs/core/linhes-theme/PKGBUILD | 50 |
1 files changed, 37 insertions, 13 deletions
diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD index 2b1aba3..c8e97ab 100644 --- a/abs/core/linhes-theme/PKGBUILD +++ b/abs/core/linhes-theme/PKGBUILD @@ -1,20 +1,37 @@ pkgname=linhes-theme -pkgver=8.1 -pkgrel=20 +pkgver=8.2 +pkgrel=7 pkgdesc="Default LinHES MythTV theme" arch=('i686' 'x86_64') license=('GPL2') url="http://linhes.org/" patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch' - 'menu-ui-vert.xml.patch' 'recordings-ui.xml.patch' 'qtlook.txt.patch') + 'menu-ui-vert.xml.patch' 'schedule-ui.xml.patch' 'qtlook.txt.patch') -#The LinHES theme is based on TintedGlass 4.39 by Harley Peters -source=("git+https://github.com/MythTV-Themes/TintedGlass.git#branch=fixes/0.27" - `echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' +#The LinHES theme is based on TintedGlass 4.56 by Harley Peters +source=(`echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' 'background.png' 'preview.png' 'tux_thoughts.png' 'LHLogoAndText.png') +prepare() { + _gitroot="https://github.com/MythTV-Themes/TintedGlass.git" + _gitname="TintedGlass" + _gitbranch="fixes/0.27" + + cd $srcdir + if [ -d $_gitname ] + then + cd $_gitname + git checkout $_gitbranch + git pull + msg "TintedGlass local files updated." + else + git clone -b $_gitbranch $_gitroot + msg "TintedGlass git checkout done." + fi +} + package() { THEMEROOT=usr/share/mythtv/themes @@ -53,15 +70,22 @@ package() { grep -lr '#CCCC29' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#CCCC29/\#ebb81c/g" #blue grep -lr '#3a9ade' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#3a9ade/\#0072bc/g" + + msg "Modifying fonts to Overlock" + grep -lr 'DejaVu Sans' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\DejaVu Sans/\Overlock/g" + + msg "Updating themeinfo.xml version number" + IFS="." read -a array <<< "$pkgver" + sed -i "s/MAJ_VER/${array[0]}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml + sed -i "s/MIN_VER/${array[1]}${pkgrel}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml } -md5sums=('SKIP' - '95478bd9bab15e9e4365c1048757c225' - 'ed4f8baf431e20babc345e4e2602426f' - '9c2c8f2a8d881e01ea84457ae508f655' - 'ec11d601d47cd4b2954e1609262a571b' - '4ad8bc893412eeeb890f0b1f1f1bd541' +md5sums=('2dca856c2a4d1f959473512c94e43b60' + 'e857e084963166bb37c6236463750dc1' + '5fccb4e20c15d87223ea5de4c40faa06' + 'c75c83b90969fb07755062113f858e88' + '22ff4044c8c29560451fb51dcbf4d44e' '9fe3371a8b964a7028126405cfaa330b' - '7d7bc458a8f4af408700609f3e1f412e' + '5a8fb2a5f0e657d52be6f0a6a006ce72' 'a0201e0aa1608eeab27ee754e4d2c1de' '12d26a786fde397348653128a6d7676a' '4b1c27297bb5f8d9d7bbaf72b35130b5' |