From 97c77e5d32a9a79d7939c557c63589619bcabbb5 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 26 Mar 2014 16:04:24 +0000
Subject: xbmc: restore gen_lib_xml.py in .install. refs #962

---
 abs/extra/xbmc/PKGBUILD     | 2 +-
 abs/extra/xbmc/__changelog  | 1 +
 abs/extra/xbmc/xbmc.install | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD
index 6b626c6..3d49bee 100644
--- a/abs/extra/xbmc/PKGBUILD
+++ b/abs/extra/xbmc/PKGBUILD
@@ -10,7 +10,7 @@ _prefix=/usr
 pkgname=xbmc
 pkgver=12.3
 _codename=Frodo
-pkgrel=12
+pkgrel=13
 pkgdesc="A software media player and entertainment hub for digital media"
 arch=('i686' 'x86_64')
 url="http://xbmc.org"
diff --git a/abs/extra/xbmc/__changelog b/abs/extra/xbmc/__changelog
index c01c1ea..161a9f6 100644
--- a/abs/extra/xbmc/__changelog
+++ b/abs/extra/xbmc/__changelog
@@ -1,2 +1,3 @@
 8/23/12 -jm -Added xbmc_lib.conf, this file goes in /etc/gen_lib_xml.d/
 brf - keep --disable-external-ffmpeg instead of using external ffmpeg
+brf - xbmc.install: add gen_lib_xml.py to post_install and post_remove
diff --git a/abs/extra/xbmc/xbmc.install b/abs/extra/xbmc/xbmc.install
index 8076fe2..ad3b95a 100644
--- a/abs/extra/xbmc/xbmc.install
+++ b/abs/extra/xbmc/xbmc.install
@@ -6,6 +6,7 @@ post_install() {
   usermod -a -G xbmc,audio,video,network,optical xbmc
   mkdir -p var/lib/xbmc
   chown -R xbmc:xbmc var/lib/xbmc
+  gen_lib_xml.py
 }
 
 post_upgrade() {
@@ -16,4 +17,5 @@ post_remove() {
   [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
   [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
   getent passwd xbmc > /dev/null && userdel xbmc
+  gen_lib_xml.py
 }
-- 
cgit v0.12

