You are not logged in.

#1 2005-11-13 17:30:32

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

[PKGBUILD] ihu

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.

http://ihu.sourceforge.net/

#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

#2 2005-11-13 18:05:20

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [PKGBUILD] ihu

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

#3 2005-11-13 19:56:54

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [PKGBUILD] ihu

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

#4 2005-11-13 20:22:41

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [PKGBUILD] ihu

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

#5 2005-11-13 20:35:55

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [PKGBUILD] ihu

It work´s :-D

Offline

Board footer

Powered by FluxBB