summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk/mythphone
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-11 22:05:12 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-11 22:05:12 (GMT)
commit7ee3d8f8cea03f1208da573a3735c8752e3176c1 (patch)
tree812334a8181e117102368be447bb71a71b808a37 /abs/core-testing/mythtv/trunk/mythphone
parentfbb24365ea90db72009ea782ef448c56801bdd15 (diff)
parent6ce121aee4008a66172ce5b8264e73b157d3c271 (diff)
downloadlinhes_pkgbuild-7ee3d8f8cea03f1208da573a3735c8752e3176c1.zip
linhes_pkgbuild-7ee3d8f8cea03f1208da573a3735c8752e3176c1.tar.gz
linhes_pkgbuild-7ee3d8f8cea03f1208da573a3735c8752e3176c1.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/mythtv/trunk/mythphone')
-rw-r--r--abs/core-testing/mythtv/trunk/mythphone/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythphone/PKGBUILD b/abs/core-testing/mythtv/trunk/mythphone/PKGBUILD
new file mode 100644
index 0000000..f6bf3ec
--- /dev/null
+++ b/abs/core-testing/mythtv/trunk/mythphone/PKGBUILD
@@ -0,0 +1,42 @@
+pkgname=mythphone-svn
+pkgver=16153
+pkgrel=3
+pkgdesc="Plugin that allows phone calls to be made to MythTv"
+url="http://www.mythtv.org"
+arch=('i686')
+depends=('mythtv-svn')
+conflicts=('mythtv-plugins-svn')
+groups=('mythtv-all-plugins-svn')
+license="GPL"
+source=()
+_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins
+_svnmod=mythplugins
+
+
+build() {
+ cd $startdir/src/
+ echo svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ cd $startdir/src/mythplugins
+ make distclean
+ PLUGIN=mythphone
+ grep -q programs-libs.pro $PLUGIN/$PLUGIN/$PLUGIN.pro
+ if [ $? != 0 ]
+ then
+ echo "include ( ../../programs-libs.pro )" >> $PLUGIN/$PLUGIN/$PLUGIN.pro
+ msg "appending program lib"
+ fi
+
+ msg "Correcting configure kde3 to kde"
+ sed -i 's#kde3#kde#' configure || return 1
+ ./configure --enable-opengl --disable-all --enable-mythphone || return 1
+ qmake mythplugins.pro || return 1
+ make qmake || return 1
+
+ msg "Correcting Makefile kde3 to kde"
+ sed -i 's#kde3#kde#' ./mythphone/mythphone/Makefile || return 1
+
+ make -j 2 || return 1
+ make INSTALL_ROOT=$startdir/pkg install
+}
+