From 1c934c370d8bf6e981bf162d0da352e221f3c135 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 23 Jun 2010 15:17:23 -0500
Subject: xosd: include config file for user to select osd_cat color, font, and
 style

---
 abs/core-testing/xosd/PKGBUILD    | 11 +++++++----
 abs/core-testing/xosd/osd_cat.cfg |  6 ++++++
 2 files changed, 13 insertions(+), 4 deletions(-)
 create mode 100644 abs/core-testing/xosd/osd_cat.cfg

diff --git a/abs/core-testing/xosd/PKGBUILD b/abs/core-testing/xosd/PKGBUILD
index e4a87ba..45130c8 100644
--- a/abs/core-testing/xosd/PKGBUILD
+++ b/abs/core-testing/xosd/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=xosd
 pkgver=2.2.14
-pkgrel=1
+pkgrel=2
 pkgdesc="XOSD displays text on your screen. On-Screen-Display-libs for some tools."
 arch=("i686" "x86_64")
 license=('GPL2')
@@ -12,15 +12,18 @@ url="http://www.ignavus.net/software.html"
 depends=('libxt' 'libxinerama' 'gdk-pixbuf')
 makedepends=('xmms' 'bmp')
 options=(!libtool)
+backup=(etc/osd_cat.cfg)
 #source=("http://www.ignavus.net/xosd-$pkgver.tar.bz2")
-source=("http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_$pkgver.orig.tar.gz")
+source=("http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_$pkgver.orig.tar.gz" "osd_cat.cfg")
 
 build() {
   cd $startdir/src/xosd-$pkgver
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg/ install
+  mkdir -p $startdir/pkg/etc
+  cp -f  $startdir/src/osd_cat.cfg $startdir/pkg/etc/osd_cat.cfg
 }
 
-
-md5sums=('4b349fe930e4eee2f504d6c02673e24d')
+md5sums=('4b349fe930e4eee2f504d6c02673e24d'
+         '6ddbc7a78354f002ec0859a999d8fb86')
diff --git a/abs/core-testing/xosd/osd_cat.cfg b/abs/core-testing/xosd/osd_cat.cfg
new file mode 100644
index 0000000..4852508
--- /dev/null
+++ b/abs/core-testing/xosd/osd_cat.cfg
@@ -0,0 +1,6 @@
+color=white  #color of text
+outline=2  #Offset of outline, 0 is no outline
+outlinecolour=black
+shadow=0  #Offset of shadow, 0 is no shadow
+shadowcolour=black
+font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
-- 
cgit v0.12