From e3ae7b7fe750ebf74ca2e6749ecd9a284f9fdda8 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Fri, 4 Sep 2009 07:44:49 +0930
Subject: scanfw scte65scan: initial inclusion

---
 abs/extra-testing/rrdtool/PKGBUILD              |   2 +-
 abs/extra-testing/scanfw/PKGBUILD               |  23 +++++++++++++++++++++++
 abs/extra-testing/scanfw/scanfw-98d.beta.tar.gz | Bin 0 -> 45883 bytes
 abs/extra-testing/scanfw/scanfw.install         |   5 +++++
 abs/extra-testing/scte65scan/PKGBUILD           |  23 +++++++++++++++++++++++
 5 files changed, 52 insertions(+), 1 deletion(-)
 create mode 100644 abs/extra-testing/scanfw/PKGBUILD
 create mode 100644 abs/extra-testing/scanfw/scanfw-98d.beta.tar.gz
 create mode 100644 abs/extra-testing/scanfw/scanfw.install
 create mode 100644 abs/extra-testing/scte65scan/PKGBUILD

diff --git a/abs/extra-testing/rrdtool/PKGBUILD b/abs/extra-testing/rrdtool/PKGBUILD
index e128f0e..9d67224 100644
--- a/abs/extra-testing/rrdtool/PKGBUILD
+++ b/abs/extra-testing/rrdtool/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=rrdtool
 pkgver=1.3.6
-pkgrel=5
+pkgrel=7
 pkgdesc="Data logging and graphing application"
 arch=('i686' 'x86_64')
 url="http://www.rrdtool.org"
diff --git a/abs/extra-testing/scanfw/PKGBUILD b/abs/extra-testing/scanfw/PKGBUILD
new file mode 100644
index 0000000..21d4f29
--- /dev/null
+++ b/abs/extra-testing/scanfw/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Michael Hanson <hansonorders@verizon.net>
+pkgname=scanfw
+pkgver=98d.beta
+pkgrel=1
+pkgdesc="A CCI scanner for MythTV"
+arch=('i686')
+url="https://help.ubuntu.com/community/MythTV_Firewire/scanfw"
+license=('GPL2')
+depends=('libraw1394' 'libiec61883' 'libavc1394')
+install=scanfw.install
+source=($pkgname-$pkgver.tar.gz)
+md5sums=('8b1da4fca459062f366232a3de6c7775')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make || return 1
+  mkdir -p "$pkgdir"/usr/bin
+  mkdir -p "$pkgdir"/usr/share/doc/"$pkgname"
+  cp "$srcdir"/"$pkgname"-"$pkgver"/scanfw "$pkgdir"/usr/bin/ || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/mythtv.firewire.channels.pl "$pkgdir"/usr/bin/ || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/SCAN_TIPS "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/README "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+}
diff --git a/abs/extra-testing/scanfw/scanfw-98d.beta.tar.gz b/abs/extra-testing/scanfw/scanfw-98d.beta.tar.gz
new file mode 100644
index 0000000..7bd0ee9
Binary files /dev/null and b/abs/extra-testing/scanfw/scanfw-98d.beta.tar.gz differ
diff --git a/abs/extra-testing/scanfw/scanfw.install b/abs/extra-testing/scanfw/scanfw.install
new file mode 100644
index 0000000..d5695a9
--- /dev/null
+++ b/abs/extra-testing/scanfw/scanfw.install
@@ -0,0 +1,5 @@
+post_install() {
+   echo "==> Information on usage is in /usr/share/doc/scanfw/README."
+   echo "==> Scanning tips can be found in /usr/share/doc/scanfw/SCAN_TIPS."
+}
+
diff --git a/abs/extra-testing/scte65scan/PKGBUILD b/abs/extra-testing/scte65scan/PKGBUILD
new file mode 100644
index 0000000..221b7ba
--- /dev/null
+++ b/abs/extra-testing/scte65scan/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Michael Hanson <hansonorders@verizon.net>
+pkgname=scte65scan
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A reader and parser of SCTE-65 in-band SI data with HDHomerun support."
+arch=('i686')
+url="http://scte65scan.sourceforge.net/"
+license=('GPL')
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tgz http://download.silicondust.com/hdhomerun/libhdhomerun_20090830.tgz)
+md5sums=('1ab2d5f1895931c9c1192ee0dcc46f11'
+         '9c51200782c159703f3b32de24ae2608')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  tar zxf "$srcdir"/libhdhomerun_20090830.tgz
+  make -f Makefile.hdhr || return 1
+  mkdir -p "$pkgdir"/usr/bin || return 1
+  mkdir -p "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/scte65scan "$pkgdir"/usr/bin/ || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/Changelog "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/README "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+  cp "$srcdir"/"$pkgname"-"$pkgver"/us-Cable-Standard-center-frequencies-QAM256 "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+}
-- 
cgit v0.12