|
楼主 |
发表于 2006-7-4 12:35:49
|
显示全部楼层
到csyfek说的云帆论坛上看了一下,关于openq还真有不少东西。
但是按照他说的,beta3 上死活编译不过去。
无奈试了下beta2,结果成功了,附上我的PKGBUILD,不喜欢同时开多个IM客户端的同志们试试吧。
- pkgname=gaim
- pkgver=2.0.0beta2
- pkgrel=1
- pkgdesc="A GTK+-based messaging client, Beta Version"
- url="http://gaim.sourceforge.net"
- depends=('startup-notification' 'libao' 'nss' 'tk' 'gtkspell' 'audiofile')
- source=(http://dl.sourceforge.net/sourceforge/gaim/gaim-$pkgver.tar.bz2)
- md5sums=('f01c99b4556bde703a81d8ac16ebe6ab')
- build() {
- cd $startdir/src/gaim-$pkgver
- # Stripping out features that add dependencies beyond what is required in
- # gaim 1.5. To enable such features, remove the appropriate "--disable-*"
- # entry from the configure line, and add to "depends" line. The Bonjour
- # Protocol plugin requires howl, which has no configure line tag, so just
- # add it to the depends line.
- # Gaim 2.0.0beta2 refuses to against with GNUTLS, so using Mozilla NSS
- ./configure --prefix=/usr --enable-gtkspell --enable-gnutls=no \
- --enable-nss=yes --disable-gevolution --disable-dbus --disable-mono \
- --disable-debug
- make || return 1
- make DESTDIR=$startdir/pkg install
- rm $startdir/pkg/usr/lib/perl5/*/$CARCH-linux-thread-multi/perllocal.pod
- mv $startdir/pkg/usr/lib/perl5/?.?.? $startdir/pkg/usr/lib/perl5/current
- find $startdir/pkg -name '*.la' -exec rm {} \;
- }
复制代码
- pkgname=gaim-openq
- pkgver=0.3.2
- pkgrel=1
- pkgdesc="OpenQ is a QQ-liked protocol plugin for Gaim."
- url="http://sourceforge.net/projects/openq/"
- license=""
- depends=('gaim=2.0.0beta2-1' 'glibc')
- source=(http://dl.sourceforge.net/sourceforge/openq/openq-$pkgver.tar.gz http://www.myswear.net/myswear/openq/0.3.2-patches/gaim-2.0.0/beta2/openq-0.3.2_gaim-2.0.0-0.beta2_poppyer-20060131.patch.gz)
- md5sums=('9a6d05ba62275d6ab8814b5e74fce3a4' 'c8fa486800a48692545ed7c82550639e')
- build() {
- cd $startdir/src
- patch -p0<openq-0.3.2_gaim-2.0.0-0.beta2_poppyer-20060131.patch
- cd $startdir/src/openq-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- find $startdir/pkg -name '*.la' -exec rm {} \;
- }
复制代码 |
|