95 lines
2.7 KiB
Text
95 lines
2.7 KiB
Text
# Template file for 'pidgin'
|
|
pkgname=pidgin
|
|
version=2.10.10
|
|
revision=2
|
|
lib32disabled=yes
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-install --disable-meanwhile
|
|
--enable-cyrus-sasl --disable-doxygen --enable-nm --disable-vv
|
|
--with-system-ssl-certs=/etc/ssl/certs --disable-tk --disable-tcl
|
|
--disable-gnutls --disable-perl"
|
|
short_desc="Multi-protocol instant messaging client"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://pidgin.im/"
|
|
distfiles="${SOURCEFORGE_SITE}/pidgin/pidgin-${version}.tar.bz2"
|
|
checksum=dc6b95512eaec75aef170aabce471491fc70584932599dfead20f1f1c45c822d
|
|
|
|
hostmakedepends="pkg-config intltool automake libtool gettext-devel glib-devel"
|
|
makedepends="libglib-devel gtk+-devel libXext-devel
|
|
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
|
|
libsasl-devel libXext-devel libSM-devel"
|
|
depends="cyrus-sasl-modules gst-plugins-good"
|
|
|
|
pre_configure() {
|
|
# Create this to make configure happy.
|
|
install -d /etc/ssl/certs
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/etc/gconf
|
|
}
|
|
|
|
libpurple_package() {
|
|
short_desc="IM library extracted from Pidgin"
|
|
pkg_install() {
|
|
vmove "usr/bin/purple-*"
|
|
vmove "usr/lib/libpurple*.so.*"
|
|
vmove usr/lib/purple-2
|
|
vmove usr/share/purple
|
|
vmove usr/share/sounds/purple
|
|
}
|
|
}
|
|
libpurple-devel_package() {
|
|
depends="libglib-devel libpurple>=${version}_${revision}"
|
|
short_desc="IM library extracted from Pidgin - development files"
|
|
pkg_install() {
|
|
vmove usr/include/libpurple
|
|
vmove usr/lib/pkgconfig/purple.pc
|
|
vmove usr/lib/libpurple*.so
|
|
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() {
|
|
depends="libglib-devel libgnt>=${version}_${revision}"
|
|
short_desc="IM library extracted from Pidgin (GNT) - development files"
|
|
pkg_install() {
|
|
vmove usr/include/gnt
|
|
vmove usr/lib/pkgconfig/gnt.pc
|
|
vmove usr/lib/libgnt.so
|
|
}
|
|
}
|
|
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() {
|
|
depends="libgnt-devel>=${version} libpurple-devel>=${version}_${revision}"
|
|
short_desc="A ncurses-based messaging client - development files"
|
|
pkg_install() {
|
|
vmove usr/include/finch
|
|
vmove usr/lib/pkgconfig/finch.pc
|
|
}
|
|
}
|
|
pidgin-devel_package() {
|
|
depends="gtk+-devel libpurple-devel>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|