summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythtv-contrib
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
commit1f175a7b07b9553ce98d0546ac04dbb925ec0bc9 (patch)
treec969070115611a8a75f23d468aa5e0cf86a08121 /abs/extra/mythtv-contrib
parentc4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (diff)
downloadlinhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.zip
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.gz
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.bz2
RESYNC EXTRA:
synced extra-testing -> extra repo Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/extra/mythtv-contrib')
-rw-r--r--abs/extra/mythtv-contrib/6200ch.tar.gzbin0 -> 5040 bytes
-rw-r--r--abs/extra/mythtv-contrib/PKGBUILD150
-rw-r--r--abs/extra/mythtv-contrib/dct-channel_make.patch16
-rw-r--r--abs/extra/mythtv-contrib/mythchanger.10f.beta.tarbin0 -> 30720 bytes
-rw-r--r--abs/extra/mythtv-contrib/mythchanger_make.patch8
-rw-r--r--abs/extra/mythtv-contrib/mythtv-contrib.install7
-rw-r--r--abs/extra/mythtv-contrib/xbmc_mythlink.tgzbin0 -> 7766 bytes
7 files changed, 181 insertions, 0 deletions
diff --git a/abs/extra/mythtv-contrib/6200ch.tar.gz b/abs/extra/mythtv-contrib/6200ch.tar.gz
new file mode 100644
index 0000000..53debf4
--- /dev/null
+++ b/abs/extra/mythtv-contrib/6200ch.tar.gz
Binary files differ
diff --git a/abs/extra/mythtv-contrib/PKGBUILD b/abs/extra/mythtv-contrib/PKGBUILD
new file mode 100644
index 0000000..7f73f9d
--- /dev/null
+++ b/abs/extra/mythtv-contrib/PKGBUILD
@@ -0,0 +1,150 @@
+# Contributor: Michael Hanson <hansonorders@verizon.net>
+# Maintainer: Michael Hanson <hansonorders@verizon.net>
+pkgname=mythtv-contrib
+pkgver=0.23
+pkgrel=7
+pkgdesc="User contributed scripts and utilities for mythtv."
+arch=('i686' 'x86_64')
+url="http://mythtv.org"
+license=('GPL')
+groups=('mythtv-extras')
+depends=('perl' 'mythtv')
+makedepends=('gcc' 'subversion' 'libavc1394' 'libraw1394' 'libiec61883')
+install='mythtv-contrib.install'
+source=('http://www.pdp8.net/directv/directv.pl' \
+ 'http://stb-command.googlecode.com/files/stb-command1.2.tar.gz' \
+ 'http://mythtv.mlaronson.com/myth-xbmc-connect/downloads/xbmc_mythlink.tgz' \
+ 'mythchanger.10f.beta.tar' '6200ch.tar.gz' 'dct-channel_make.patch' \
+ 'mythchanger_make.patch')
+patches=('dct-channel_make.patch' 'mythchanger_make.patch')
+_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-23-fixes/mythtv/contrib
+_svnver=23566
+_svnmod=contrib
+
+build() {
+ # get clean copy from SVN repo
+ svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod
+ svn revert -R $_svnmod
+
+ cd $startdir/src/contrib
+
+ # build and install
+ echo "Building 6200ch..."
+ cd $srcdir
+ tar zxf 6200ch.tar.gz
+ cd $srcdir/6200ch
+ gcc -std=gnu99 -o 6200ch 6200ch.c -lavc1394 -lrom1394 -lraw1394 || return 1
+ install -D -m755 6200ch $startdir/pkg/usr/bin/6200ch || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.6200ch || return 1
+
+ echo "Building change-channel-lirc..."
+ cd $srcdir/contrib/channel_changers/change-channel-lirc || return 1
+ install -D -m755 *{.pl,.sh} $startdir/pkg/usr/bin || return 1
+
+ echo "Building d10control..."
+ cd $srcdir/contrib/channel_changers/d10control || return 1
+ install -D -m755 d10control.pl $startdir/pkg/usr/bin/d10control.pl || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.d10control
+
+ echo "Building dct-channel..."
+ cd $srcdir/contrib/channel_changers/dct-channel
+ patch -p4 <$startdir/dct-channel_make.patch || return 1
+ cd $srcdir/contrib/channel_changers/dct-channel || return 1
+ make || return 1
+ install -D -m755 channel $startdir/pkg/usr/bin || return 1
+ install -D -m644 channel.1 $startdir/pkg/usr/man/man1/channel.1 || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct-channel
+ install -D -m644 COPYING $startdir/pkg/usr/share/licenses/mythtv-contrib/COPYING.dct-channel
+
+ echo "Building dct2000serial..."
+ cd $srcdir/contrib/channel_changers/dct2000serial || return 1
+ install -D -m755 *.py $startdir/pkg/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct2000serial
+
+ echo "Building redeye..."
+ cd $srcdir/contrib/channel_changers/red_eye || return 1
+ gcc -Wall -o red_eye red_eye.c || return 1
+ install -D -m755 red_eye $startdir/pkg/usr/bin/red_eye || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.red_eye
+
+ echo "Building sa3250ch..."
+ cd $srcdir/contrib/channel_changers/sa3250ch || return 1
+ gcc -Wall -o sa3250ch sa3250ch.c -lrom1394 -lavc1394 -lraw1394 || return 1
+ install -D -m755 sa3250ch $startdir/pkg/usr/bin/sa3250ch || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.sa3250ch
+
+ echo "Building firewire_tester..."
+ cd $srcdir/contrib/development/firewire_tester || return 1
+ gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394 || return 1
+ install -D -m755 firewire_tester $startdir/pkg/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.firewire_tester
+
+ echo "Building tsc-calibrate..."
+ cd $srcdir/contrib/development/tsc-calibrate || return 1
+ gcc -o tsc-calibrate tsc-calibrate.c || return 1
+ install -D -m755 tsc-calibrate $startdir/pkg/usr/bin || return 1
+
+ echo "Building mythname..."
+ cd $srcdir/contrib/info/mythname || return 1
+ install -D -m755 mythname.pl $startdir/pkg/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythname
+
+ echo "Building misc_status_info..."
+ cd $srcdir/contrib/info/misc_status_info || return 1
+ install -D -m755 *{.sh,.pl} $startdir/pkg/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.misc_status_info
+
+ echo "Building maintenance..."
+ cd $srcdir/contrib/maintenance || return 1
+ install -D -m755 *.pl $startdir/pkg/usr/bin || return 1
+
+ echo "Building mythmail..."
+ cd $srcdir/contrib/mythmail || return 1
+ install -D -m755 *.pl $startdir/pkg/usr/bin || return 1
+
+ echo "Building recovery..."
+ cd $srcdir/contrib/recovery || return 1
+ install -D -m755 *.pl $startdir/pkg/usr/bin || return 1
+
+ echo "Building user_jobs..."
+ cd $srcdir/contrib/user_jobs || return 1
+ install -D -m755 *.pl $startdir/pkg/usr/bin || return 1
+ install -D -m755 setbookmark $startdir/pkg/usr/bin/setbookmark.pl || return 1
+
+ echo "Building directv.pl..."
+ cd $srcdir || return 1
+ install -D -m755 directv.pl $startdir/pkg/usr/bin || return 1
+
+ echo "Building stb-command..."
+ cd $srcdir
+ tar zxf stb-command1.0.tar.gz || return 1
+ cd $srcdir/stb-command
+ make || return 1
+ install -D -m755 stb-command $startdir/pkg/usr/bin || return 1
+ install -D -m755 sa3250_ch_guid $startdir/pkg/usr/bin || return 1
+ install -D -m755 stb_cmd_guid $startdir/pkg/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.stb-command || return 1
+
+ echo "Building mythchanger..."
+ cd $srcdir
+ tar xf mythchanger.10f.beta.tar || return 1
+ cd $srcdir/mythchanger.10f.beta
+ patch -p1 <$startdir/mythchanger_make.patch || return 1
+ make || return 1
+ install -D -m755 mythchanger $pkgdir/usr/bin || return 1
+ install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythchanger
+
+ echo "Building xbmc mythlink..."
+ cd $srcdir
+ tar zxf xbmc_mythlink.tgz || return 1
+ install -D -m755 tvdb_get.sh $startdir/pkg/usr/bin || return 1
+ install -D -m755 xbmc_cleanup.sh $startdir/pkg/usr/bin || return 1
+ install -D -m755 xbmc_mythlink.py $startdir/pkg/usr/bin || return 1
+}
+md5sums=('89cfc17883a41e365e85e0a4ac20994f'
+ '8067175170add2c4d8aa333e43c9387c'
+ '2ee7eafc3804f0bd48ede0ad05e718f1'
+ '34d148795f832f12973a08d59e9a0ef3'
+ '9029957cad36d5867a070da373d2bc2a'
+ '309342034f20d85dce3270a21320fb4c'
+ 'c5996437bef4448acbee300bd6659dad')
diff --git a/abs/extra/mythtv-contrib/dct-channel_make.patch b/abs/extra/mythtv-contrib/dct-channel_make.patch
new file mode 100644
index 0000000..9d9dc53
--- /dev/null
+++ b/abs/extra/mythtv-contrib/dct-channel_make.patch
@@ -0,0 +1,16 @@
+--- src/contrib/channel_changers/dct-channel/Makefile.orig 2010-03-23 00:56:51.000000000 +0000
++++ src/contrib/channel_changers/dct-channel/Makefile 2010-03-23 00:57:47.000000000 +0000
+@@ -1,5 +1,5 @@
+ CFLAGS = -Wall
+-PREFIX = /usr/local
++PREFIX = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr
+ MANPATH = ${PREFIX}/man/man1
+ BINPATH = ${PREFIX}/bin
+
+@@ -44,4 +44,4 @@
+ rm -f *.o channel core
+
+ veryclean: clean
+- rm -f channel.1
+\ No newline at end of file
++ rm -f channel.1
diff --git a/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar b/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar
new file mode 100644
index 0000000..e848866
--- /dev/null
+++ b/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar
Binary files differ
diff --git a/abs/extra/mythtv-contrib/mythchanger_make.patch b/abs/extra/mythtv-contrib/mythchanger_make.patch
new file mode 100644
index 0000000..facd9e6
--- /dev/null
+++ b/abs/extra/mythtv-contrib/mythchanger_make.patch
@@ -0,0 +1,8 @@
+--- mythchanger.10f.beta/Makefile.orig 2010-03-23 01:35:27.000000000 +0000
++++ mythchanger.10f.beta/Makefile 2010-03-23 01:36:16.000000000 +0000
+@@ -1,4 +1,4 @@
+-prefix = /usr
++prefix = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr
+
+ CC = gcc
+
diff --git a/abs/extra/mythtv-contrib/mythtv-contrib.install b/abs/extra/mythtv-contrib/mythtv-contrib.install
new file mode 100644
index 0000000..bb7b801
--- /dev/null
+++ b/abs/extra/mythtv-contrib/mythtv-contrib.install
@@ -0,0 +1,7 @@
+post_install() {
+ echo ">>> AS IS WITHOUT WARRANTY."
+ echo ">>> DO NOT FILE BUG REPORTS ON COMPONENTS OF THIS PACKAGE."
+ echo ">>> ANY ISSUES WITH SHOULD BE TAKEN UP WITH THE COMPONENT'S"
+ echo ">>> AUTHOR."
+ echo ">>> See README's in /usr/share/doc/mythtv-contrib"
+}
diff --git a/abs/extra/mythtv-contrib/xbmc_mythlink.tgz b/abs/extra/mythtv-contrib/xbmc_mythlink.tgz
new file mode 100644
index 0000000..be3f2ef
--- /dev/null
+++ b/abs/extra/mythtv-contrib/xbmc_mythlink.tgz
Binary files differ