You are not logged in.
Pages: 1
I´ve done a PKGBUILD for IHU. IHU is a Voice over IP (VoIP) application for Linux (using Qt), that creates an audio stream between two computers easily and with the minimal traffic on the network.
#Contributor: ise <daniel.isenmann@gmx.de>
pkgname=ihu
pkgver=0.5.2
pkgrel=1
pkgdesc="IHU is a Voice over IP (VoIP) application for Linux (using Qt)"
url="http://ihu.sourceforge.net/"
depends=(qt)
source=(http://dl.sourceforge.net/ihu/$pkgname-$pkgver-bin_dynamicQt.tar.bz2)
md5sums=('f25fb6811f19c83239ccec19700f4c40')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/{bin,share/pixmaps}
cp $pkgname $startdir/pkg/usr/bin
cp icon/ihu.png $startdir/pkg/usr/share/pixmaps/ihu.png
}
Daniel
Offline
It´s better for the future to have a source build pkgbuild. So here it is my first try:
#Contributor: ise <daniel.isenmann@gmx.de>
pkgname=ihu
pkgver=0.5.2
pkgrel=1
pkgdesc="IHU is a Voice over IP (VoIP) application for Linux (using Qt)"
url="http://ihu.sourceforge.net/"
depends=('qt' 'alsa-lib' 'gmp')
source=(http://dl.sourceforge.net/ihu/$pkgname-$pkgver.tar.bz2)
md5sums=('525d12191edb2a4b07efce41ded61ecd')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
But I get an error:
[root@workstation andyrtr]# pacman -A /var/abs/local/ihu/ihu-0.5.2-1.pkg.tar.gz
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
ihu: /usr/lib/pkgconfig/speex.pc: exists in filesystem
ihu: /usr/share/aclocal/speex.m4: exists in filesystem
errors occurred, no packages were upgraded.
[root@workstation andyrtr]#
What could that be?
Offline
It conflicts with speex. I don't think these two fiiles are needed for ihu to work. Just to be safe, remove them from the package:
rm $startdir/pkg/usr/lib/pkgconfig/speex.pc
rm $startdir/pkg/usr/share/aclocal/speex.m4
and add speex as dependency.
Offline
It works this way fine:
#Contributor: ise <daniel.isenmann@gmx.de>
pkgname=ihu
pkgver=0.5.2
pkgrel=1
pkgdesc="IHU is a Voice over IP (VoIP) application for Linux (using Qt)"
url="http://ihu.sourceforge.net/"
depends=('qt' 'alsa-lib' 'gmp' 'speex')
source=(http://dl.sourceforge.net/ihu/$pkgname-$pkgver.tar.bz2)
md5sums=('525d12191edb2a4b07efce41ded61ecd')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --without
make || return 1
make DESTDIR=$startdir/pkg install
rm $startdir/pkg/usr/lib/pkgconfig/speex.pc
rm $startdir/pkg/usr/share/aclocal/speex.m4
}
Offline
It work´s :-D
Offline
Pages: 1