diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-06 18:09:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-06 18:09:19 -0500 |
commit | 8203afa94b5a6b19a8df6cfadb93add3445ce216 (patch) | |
tree | 5ee16b2a4541e240f70d3d651ad6b90e34b542f1 /user/pidgin | |
parent | 58c2a318442a90f0f1dbc177fc1fc8ce55166df2 (diff) | |
download | packages-8203afa94b5a6b19a8df6cfadb93add3445ce216.tar.gz packages-8203afa94b5a6b19a8df6cfadb93add3445ce216.tar.bz2 packages-8203afa94b5a6b19a8df6cfadb93add3445ce216.tar.xz packages-8203afa94b5a6b19a8df6cfadb93add3445ce216.zip |
user/pidgin: i HAVE the chats
Diffstat (limited to 'user/pidgin')
-rw-r--r-- | user/pidgin/APKBUILD | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/user/pidgin/APKBUILD b/user/pidgin/APKBUILD new file mode 100644 index 000000000..55caf7b39 --- /dev/null +++ b/user/pidgin/APKBUILD @@ -0,0 +1,91 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=pidgin +pkgver=2.13.0 +pkgrel=0 +pkgdesc="Multi-protocol instant messaging client" +url="http://pidgin.im/" +arch="all" +license="GPL-2.0-only" +depends= +makedepends="gtk+-dev perl-dev libsm-dev startup-notification-dev gtkspell-dev + libxml2-dev libidn-dev gnutls-dev dbus-dev dbus-glib-dev gstreamer-dev + cyrus-sasl-dev ncurses-dev nss-dev tcl-dev tk-dev intltool + " +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang + libpurple-oscar:_oscar + finch libpurple + " +source="https://bitbucket.org/pidgin/main/downloads/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$builddir" + LIBS="-ltinfo" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-avahi \ + --enable-dbus \ + --disable-doxygen \ + --enable-gnutls \ + --disable-meanwhile \ + --disable-nm \ + --enable-perl \ + --disable-schemas-install \ + --disable-screensaver \ + --enable-tcl \ + --disable-vv \ + --enable-gstreamer \ + --enable-gstreamer-interfaces \ + --disable-farstream \ + --enable-cyrus-sasl \ + --enable-nss + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +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/ +} + +_mv_purple() { + pkgdesc="$1" + shift + mkdir -p "$subpkgdir"/usr/lib/purple-2/ + for i; do + mv "$pkgdir"/usr/lib/purple-2/${i}.* \ + "$subpkgdir"/usr/lib/purple-2/ + done +} + +_bonjour() { + _mv_purple "Bonjour (Zeroconf) plugin for libpurple" libbonjour +} + +_oscar() { + _mv_purple "AIM and ICQ plugins for libpurple" liboscar libaim libicq +} + +sha512sums="68b3d1eefee111544c7eb347386d0aea4f47c3e320d5963a4e0d833ed6af7b1be243a7bcd6a38c9234b58601d10a9aebf8541f1d97decfeca754fa78dc693047 pidgin-2.13.0.tar.bz2" |