diff --git a/common/shlibs b/common/shlibs index 185b3e0978..6b72f551f9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1131,3 +1131,6 @@ libnettle.so.4 nettle-2.5_1 libhogweed.so.2 nettle-2.5_1 libmikmod.so.3 libmikmod-3.2.0_1 libgtkspell.so.0 gtkspell-2.0.16_1 +libpurple.so.0 libpurple-2.10.6_1 +libpurple-client.so.0 libpurple-2.10.6_1 +libgnt.so.0 libgnt-2.10.6_1 diff --git a/srcpkgs/finch b/srcpkgs/finch new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/finch @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/finch-devel b/srcpkgs/finch-devel new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/finch-devel @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/libgnt b/srcpkgs/libgnt new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/libgnt @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/libgnt-devel b/srcpkgs/libgnt-devel new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/libgnt-devel @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/libpurple b/srcpkgs/libpurple new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/libpurple @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/libpurple-devel b/srcpkgs/libpurple-devel new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/libpurple-devel @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/pidgin-devel b/srcpkgs/pidgin-devel new file mode 120000 index 0000000000..d5dc3b19c8 --- /dev/null +++ b/srcpkgs/pidgin-devel @@ -0,0 +1 @@ +pidgin \ No newline at end of file diff --git a/srcpkgs/pidgin/finch-devel.template b/srcpkgs/pidgin/finch-devel.template new file mode 100644 index 0000000000..bcb4a6349b --- /dev/null +++ b/srcpkgs/pidgin/finch-devel.template @@ -0,0 +1,13 @@ +# Template file for 'finch-devel'. +# +noarch=yes +depends="libgnt-devel>=${version} libpurple-devel>=${version}" +short_desc="A ncurses-based messaging client -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include/finch usr/include + vmove usr/lib/pkgconfig/finch.pc usr/lib/pkgconfig +} diff --git a/srcpkgs/pidgin/finch.template b/srcpkgs/pidgin/finch.template new file mode 100644 index 0000000000..4a5b222902 --- /dev/null +++ b/srcpkgs/pidgin/finch.template @@ -0,0 +1,8 @@ +# Template file for 'finch-devel'. +# +short_desc="A ncurses-based messaging client" + +do_install() { + vmove usr/bin/finch usr/bin + vmove usr/share/man/man1/finch.1 usr/share/man/man1 +} diff --git a/srcpkgs/pidgin/libgnt-devel.template b/srcpkgs/pidgin/libgnt-devel.template new file mode 100644 index 0000000000..c730c2c0b8 --- /dev/null +++ b/srcpkgs/pidgin/libgnt-devel.template @@ -0,0 +1,10 @@ +# Template file for 'libgnt-devel'. +# +noarch=yes +depends="glib-devel libgnt>=${version}" +short_desc="IM library extracted from Pidgin (GNT) -- development files" + +do_install() { + vmove usr/include/gnt usr/include + vmove usr/lib/pkgconfig/gnt.pc usr/lib/pkgconfig +} diff --git a/srcpkgs/pidgin/libgnt.template b/srcpkgs/pidgin/libgnt.template new file mode 100644 index 0000000000..3472b58559 --- /dev/null +++ b/srcpkgs/pidgin/libgnt.template @@ -0,0 +1,9 @@ +# Template file for 'libgnt'. +# +short_desc="IM library extracted from Pidgin (GNT)" + +do_install() { + vmove "usr/lib/libgnt*.so*" usr/lib + vmove usr/lib/finch usr/lib + vmove usr/lib/gnt usr/lib +} diff --git a/srcpkgs/pidgin/libpurple-devel.template b/srcpkgs/pidgin/libpurple-devel.template new file mode 100644 index 0000000000..a5316e1b33 --- /dev/null +++ b/srcpkgs/pidgin/libpurple-devel.template @@ -0,0 +1,12 @@ +# Template file for 'libpurple-devel'. +# +noarch=yes +depends="glib-devel libpurple>=${version}" +short_desc="IM library extracted from Pidgin -- development files" + +do_install() { + vmove usr/include/libpurple usr/include + vmove usr/lib/pkgconfig/purple.pc usr/lib/pkgconfig + vmove usr/share/aclocal/purple.m4 usr/share/aclocal + vmove usr/share/man/man3/Purple.3p usr/share/man/man3 +} diff --git a/srcpkgs/pidgin/libpurple.template b/srcpkgs/pidgin/libpurple.template new file mode 100644 index 0000000000..024655f1f3 --- /dev/null +++ b/srcpkgs/pidgin/libpurple.template @@ -0,0 +1,12 @@ +# Template file for 'libpurple'. +# +short_desc="IM library extracted from Pidgin" + +do_install() { + vmove "usr/bin/purple-*" usr/bin + vmove "usr/lib/libpurple*.so*" usr/lib + vmove usr/lib/purple-2 usr/lib + vmove usr/share/purple usr/share + vmove usr/share/sounds/purple usr/share/sounds + vmove usr/share/gconf usr/share +} diff --git a/srcpkgs/pidgin/pidgin-devel.template b/srcpkgs/pidgin/pidgin-devel.template new file mode 100644 index 0000000000..bcf53cf5a2 --- /dev/null +++ b/srcpkgs/pidgin/pidgin-devel.template @@ -0,0 +1,14 @@ +# Template file for 'pidgin-devel'. +# +noarch=yes +depends="gtk+-devel libpurple-devel>=${version}" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/man/man3/Pidgin.3p usr/share/man/man3 +} diff --git a/srcpkgs/pidgin/template b/srcpkgs/pidgin/template new file mode 100644 index 0000000000..97f4ff9121 --- /dev/null +++ b/srcpkgs/pidgin/template @@ -0,0 +1,34 @@ +# Template file for 'pidgin' +pkgname=pidgin +version=2.10.6 +revision=1 +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 + --with-gconf-schema-file-dir=/usr/share/gconf/schemas + --disable-gnutls" +short_desc="Multi-protocol instant messaging client" +maintainer="Juan RP " +license="GPL-2" +homepage="http://pidgin.im/" +distfiles="${SOURCEFORGE_SITE}/pidgin/pidgin-${version}.tar.bz2" +checksum=3e25a633b97cbfa8326999a30282e7a662a9b9bbf2853be84af0b8fb60392c96 +long_desc=" + Pidgin is an easy to use and free chat client used by millions. Connect to + AIM, MSN, Yahoo, and more chat networks all at once." + +subpackages="libpurple libpurple-devel libgnt libgnt-devel + finch finch-devel pidgin-devel" + +makedepends="pkg-config intltool glib-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" + +post_install() { + mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc} + gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/purple.schemas \ + --domain purple ${wrksrc}/*.schemas +}