From 11e85b2f03ba217fe01d17763bb6832c536d768a Mon Sep 17 00:00:00 2001
From: James Meyer <jams@linhes.org>
Date: Wed, 5 Jan 2011 15:59:59 +0000
Subject: mesa-demos: added for xbmc This includes the patch to avoid having
 the name conflict with line and clear.

---
 abs/core/mesa-demos/PKGBUILD    | 2 ++
 abs/core/mesa-demos/__changelog | 4 ++++
 2 files changed, 6 insertions(+)
 create mode 100644 abs/core/mesa-demos/__changelog

diff --git a/abs/core/mesa-demos/PKGBUILD b/abs/core/mesa-demos/PKGBUILD
index 2f71ce6..8476db5 100644
--- a/abs/core/mesa-demos/PKGBUILD
+++ b/abs/core/mesa-demos/PKGBUILD
@@ -25,6 +25,8 @@ package() {
   make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
   install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
+  mv ${pkgdir}/usr/bin/clear ${pkgdir}/usr/bin/glxclear
+  mv ${pkgdir}/usr/bin/line ${pkgdir}/usr/bin/glxline
 }
 
 md5sums=('320c2a4b6edc6faba35d9cb1e2a30bf4'
diff --git a/abs/core/mesa-demos/__changelog b/abs/core/mesa-demos/__changelog
new file mode 100644
index 0000000..7b2e5a6
--- /dev/null
+++ b/abs/core/mesa-demos/__changelog
@@ -0,0 +1,4 @@
+--renamed conflicting files
+  mv ${pkgdir}/usr/bin/clear ${pkgdir}/usr/bin/glxclear
+  mv ${pkgdir}/usr/bin/line ${pkgdir}/usr/bin/glxline
+
-- 
cgit v0.12

