summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-12-06 21:05:32 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-12-06 21:05:32 (GMT)
commit105c6ce480c325abee5f4dd4e42296ac769bac84 (patch)
tree8a046eeedcdbb69f9eee9342e4d249df1d773581 /abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD
parentf9d8baf1e8d94e1252cbd90999d9f2382cff8a57 (diff)
parent7992f86412030fefd007b6509b90d31212ec95f9 (diff)
downloadlinhes_pkgbuild-105c6ce480c325abee5f4dd4e42296ac769bac84.zip
linhes_pkgbuild-105c6ce480c325abee5f4dd4e42296ac769bac84.tar.gz
linhes_pkgbuild-105c6ce480c325abee5f4dd4e42296ac769bac84.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD')
-rw-r--r--abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD
new file mode 100644
index 0000000..696d1af
--- /dev/null
+++ b/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD
@@ -0,0 +1,52 @@
+pkgname=mytharchive
+pkgver=0.22
+pkgrel=22000
+pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows."
+url="http://www.mythtv.org"
+license="GPL"
+arch=('i686' 'x86_64')
+
+depends=('mythtv' 'libxmu' 'mysql-python' 'pil' 'dvdauthor' 'mjpegtools' 'transcode')
+conflicts=('mytharchive-svn')
+groups=('mythtv-extras')
+
+patches=()
+source=(`echo ${patches[@]:0}`)
+
+_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins
+_svnver=22936
+_svnmod=mythplugins
+
+
+build() {
+
+ svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod
+ svn revert -R $_svnmod
+
+ cd $startdir/src/$_svnmod
+
+ echo "--------------------------applying patches----------------------------------------------------"
+ for i in `echo ${patches[@]:0} `
+ do
+ echo applying $i
+ echo "-----------------------------"
+ patch -Np0 -i ${startdir}/src/$i || return 1
+ done
+ echo "--------------------------done applying patches-----------------------------------------------"
+
+ [ "$CARCH" = "i686" ] && ARCH="i686"
+ [ "$CARCH" = "x86_64" ] && ARCH="x86-64"
+
+ # clean up
+ make distclean
+
+ # configure
+ ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \
+ --enable-mytharchive || return 1
+
+ # build and install
+ . /etc/profile
+ make || return 1
+ make INSTALL_ROOT=$startdir/pkg install || return 1
+
+}