blob: 7fd3b46f23033519f24e7672aac8f0fc9c0f9fda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
pkgname=mythphone-release-fixes
pkgver=21228
pkgrel=1
pkgdesc="Plugin that allows phone calls to be made to MythTv"
url="http://www.mythtv.org"
arch=('i686')
depends=('mythtv-release-fixes')
conflicts=('mythtv-plugins-release-fixes')
groups=('mythtv-all-plugins-release-fixes')
license="GPL"
source=()
_svntrunk=http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins
_svntrunk=http://svn.mythtv.org/svn/branches/release-0-21-fixes/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 --prefix=/usr --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
}
|