2012-12-09 18:18:12 +01:00
|
|
|
# Template file for 'pidgin'
|
|
|
|
pkgname=pidgin
|
2014-12-07 19:49:07 +01:00
|
|
|
version=2.10.11
|
|
|
|
revision=1
|
2014-04-02 11:00:45 +02:00
|
|
|
lib32disabled=yes
|
2012-12-09 18:18:12 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-schemas-install --disable-meanwhile
|
|
|
|
--enable-cyrus-sasl --disable-doxygen --enable-nm --disable-vv
|
2014-01-28 23:17:18 +01:00
|
|
|
--with-system-ssl-certs=/etc/ssl/certs --disable-tk --disable-tcl
|
2014-12-07 19:49:07 +01:00
|
|
|
--disable-gnutls --disable-perl
|
|
|
|
--with-ncurses-headers=${XBPS_CROSS_BASE}/usr/include
|
|
|
|
--with-avahi-client-includes=${XBPS_CROSS_BASE}/usr/include
|
|
|
|
--with-avahi-client-libs=${XBPS_CROSS_BASE}/usr/lib"
|
2012-12-09 18:18:12 +01:00
|
|
|
short_desc="Multi-protocol instant messaging client"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-12-09 18:18:12 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://pidgin.im/"
|
2014-12-07 20:03:16 +01:00
|
|
|
#distfiles="${SOURCEFORGE_SITE}/pidgin/pidgin-${version}.tar.bz2"
|
|
|
|
distfiles="http://ftp.osuosl.org/pub/blfs/svn/p/pidgin-${version}.tar.bz2"
|
2014-12-07 19:49:07 +01:00
|
|
|
checksum=f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007
|
2012-12-09 18:18:12 +01:00
|
|
|
|
2014-10-22 18:20:56 +02:00
|
|
|
hostmakedepends="pkg-config intltool automake libtool gettext-devel glib-devel"
|
|
|
|
makedepends="libglib-devel gtk+-devel libXext-devel
|
2012-12-09 18:18:12 +01:00
|
|
|
libXScrnSaver-devel gtkspell-devel startup-notification-devel ncurses-devel
|
|
|
|
libxml2-devel GConf-devel gst-plugins-base-devel libidn-devel python-devel
|
|
|
|
avahi-glib-libs-devel dbus-glib-devel NetworkManager-devel nss-devel
|
2014-10-22 18:20:56 +02:00
|
|
|
libsasl-devel libXext-devel libSM-devel"
|
2014-11-05 09:05:55 +01:00
|
|
|
depends="cyrus-sasl-modules gst-plugins-good"
|
2012-12-09 18:18:12 +01:00
|
|
|
|
2013-04-16 00:22:17 +02:00
|
|
|
pre_configure() {
|
|
|
|
# Create this to make configure happy.
|
|
|
|
install -d /etc/ssl/certs
|
2013-04-22 10:04:07 +02:00
|
|
|
autoreconf -fi
|
2012-12-09 18:18:12 +01:00
|
|
|
}
|
2013-04-14 11:13:30 +02:00
|
|
|
|
2013-04-22 10:47:28 +02:00
|
|
|
post_install() {
|
2014-01-28 23:17:18 +01:00
|
|
|
rm -rf ${DESTDIR}/etc/gconf
|
2013-04-22 10:47:28 +02:00
|
|
|
}
|
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
libpurple_package() {
|
|
|
|
short_desc="IM library extracted from Pidgin"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/bin/purple-*"
|
2014-01-28 23:17:18 +01:00
|
|
|
vmove "usr/lib/libpurple*.so.*"
|
2013-04-14 11:13:30 +02:00
|
|
|
vmove usr/lib/purple-2
|
|
|
|
vmove usr/share/purple
|
|
|
|
vmove usr/share/sounds/purple
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libpurple-devel_package() {
|
2014-01-28 23:17:18 +01:00
|
|
|
depends="libglib-devel libpurple>=${version}_${revision}"
|
|
|
|
short_desc="IM library extracted from Pidgin - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/libpurple
|
|
|
|
vmove usr/lib/pkgconfig/purple.pc
|
2014-04-02 11:00:45 +02:00
|
|
|
vmove usr/lib/libpurple*.so
|
2013-04-14 11:13:30 +02:00
|
|
|
vmove usr/share/aclocal/purple.m4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libgnt_package() {
|
|
|
|
short_desc="IM library extracted from Pidgin (GNT)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libgnt*.so*"
|
|
|
|
vmove usr/lib/finch
|
|
|
|
vmove usr/lib/gnt
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libgnt-devel_package() {
|
2014-01-28 23:17:18 +01:00
|
|
|
depends="libglib-devel libgnt>=${version}_${revision}"
|
|
|
|
short_desc="IM library extracted from Pidgin (GNT) - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/gnt
|
|
|
|
vmove usr/lib/pkgconfig/gnt.pc
|
2014-01-28 23:17:18 +01:00
|
|
|
vmove usr/lib/libgnt.so
|
2013-04-14 11:13:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
finch_package() {
|
|
|
|
short_desc="A ncurses-based messaging client"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/finch
|
|
|
|
vmove usr/share/man/man1/finch.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
finch-devel_package() {
|
2014-01-28 23:17:18 +01:00
|
|
|
depends="libgnt-devel>=${version} libpurple-devel>=${version}_${revision}"
|
|
|
|
short_desc="A ncurses-based messaging client - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/finch
|
|
|
|
vmove usr/lib/pkgconfig/finch.pc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pidgin-devel_package() {
|
2014-01-28 23:17:18 +01:00
|
|
|
depends="gtk+-devel libpurple-devel>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|