mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 19:32:31 +01:00
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=pidgin
|
|
pkgver=2.10.7
|
|
pkgrel=1
|
|
pkgdesc="graphical multi-protocol instant messaging client for X"
|
|
url="http://pidgin.im/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
makedepends="gtk+-dev intltool libsm-dev startup-notification-dev gtkspell-dev
|
|
libxml2-dev gstreamer-dev libidn-dev dbus-glib-dev gnutls-dev
|
|
cyrus-sasl-dev ncurses-dev nss-dev farstream0.1-dev
|
|
autoconf automake libtool"
|
|
subpackages="$pkgname-dev $pkgname-doc finch libpurple $pkgname-lang"
|
|
source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
|
|
pidgin-underlinking.patch
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case "$i" in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
libtoolize || return 1
|
|
aclocal -I m4macros && autoconf && automake --add-missing || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-avahi \
|
|
--disable-doxygen \
|
|
--disable-gnutls \
|
|
--disable-meanwhile \
|
|
--disable-nm \
|
|
--disable-perl \
|
|
--disable-schemas-install \
|
|
--disable-screensaver \
|
|
--disable-tcl \
|
|
--enable-vv \
|
|
--enable-cyrus-sasl \
|
|
--enable-nss \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" -name '*.la' -delete
|
|
}
|
|
|
|
finch() {
|
|
pkgdesc="text-based multi-protocol instant messaging client"
|
|
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/lib/gnt "$pkgdir"/usr/lib/libgnt.so.* \
|
|
"$pkgdir"/usr/lib/finch \
|
|
"$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/bin/finch "$subpkgdir"/usr/bin/
|
|
}
|
|
|
|
libpurple() {
|
|
pkgdesc="multi-protocol instant messaging library"
|
|
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share/sounds
|
|
mv "$pkgdir"/usr/lib/*purple* "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/share/purple "$pkgdir"/usr/share/sounds \
|
|
"$subpkgdir"/usr/share/
|
|
}
|
|
md5sums="ea88976b9952e80b702b030489f94393 pidgin-2.10.7.tar.bz2
|
|
9e7f42f8bc4284009dff50e8128bf4f9 pidgin-underlinking.patch"
|