summaryrefslogblamecommitdiff
path: root/user/pidgin/APKBUILD
blob: 9cb65dc8efb6e7e25aca5fc87d6e60cd18474e99 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
             
        
                                                 
                        

                      
                          
                        
                                                                    
                                                                              
                                                                               
                                                      
                                                                     


                                                                         

         
                                          













                                           
                             

                                               
                                    
                                     

                                    



            



                  





                                                                    
                                                        










                                                                   

                                                                                                                                                                         
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pidgin
pkgver=2.14.8
pkgrel=1
pkgdesc="Multi-protocol instant messaging client"
url="https://pidgin.im/"
arch="all"
license="GPL-2.0-only"
depends="gst-plugins-base"
checkdepends="check-dev"
makedepends="gtk+2.0-dev perl-dev libsm-dev startup-notification-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 gtkspell-dev
	gst-plugins-base-dev farstream-dev libgnt-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang finch libpurple"
source="https://downloads.sourceforge.net/pidgin/$pkgname-$pkgver.tar.bz2
	pidgin-2.14.8-libpurple_test_fix.patch
	"

build() {
	LIBS="-lX11 -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 \
		--enable-vv \
		--enable-gstreamer \
		--enable-gstreamer-interfaces \
		--enable-farstream \
		--enable-cyrus-sasl \
		--enable-nss \
		--disable-gevolution
	make
}

check() {
	make check
}

package() {
	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/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/
}

sha512sums="23975501b07d14829edab7b92628703962d7a8f90849b303e2a765ec6e47d1fcbdeff62539811e26682e300a2f94520193369844de3b1c0e87f99721ca0255e6  pidgin-2.14.8.tar.bz2
9b328516173c8c81bc99c3045fc91c1cd99a4b74a26b37b93ba9ec2fbfb7560bcaf0c5b8890a8ee02bbb19052a774f608d9a4061eb9966f70e5b19cd1dc144eb  pidgin-2.14.8-libpurple_test_fix.patch"