diff options
author | James Meyer <james.meyer@operamail.com> | 2008-12-10 22:03:27 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-12-10 22:03:27 (GMT) |
commit | 81a5d9fb48a4b6a348336644c153bd1bf8456957 (patch) | |
tree | 05b24d45233ccc87557bee5de409b0f3fd696036 /abs/core-testing/mythtv/trunk/plugins/mythphone | |
parent | 79975a551625d4968919055a571c305f05162022 (diff) | |
download | linhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.zip linhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.tar.gz linhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.tar.bz2 |
initial checkin for svn plugins.
Diffstat (limited to 'abs/core-testing/mythtv/trunk/plugins/mythphone')
-rw-r--r-- | abs/core-testing/mythtv/trunk/plugins/mythphone/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/trunk/plugins/mythphone/PKGBUILD b/abs/core-testing/mythtv/trunk/plugins/mythphone/PKGBUILD new file mode 100644 index 0000000..f6bf3ec --- /dev/null +++ b/abs/core-testing/mythtv/trunk/plugins/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 +} + |