1# -*-shell-script-*- 2 3[Meta] 4RootName: @pidgin.im/pidgin:$SOFTWAREVERSION 5DisplayName: Pidgin Internet Messenger 6ShortName: Pidgin 7Maintainer: The Pidgin Developers 8URL: http://pidgin.im/ 9Packager: Tim Ringenbach <marv_sf@users.sourceforge.net> 10Summary: A GTK+ based multiprotocol instant messaging client 11SoftwareVersion: @VERSION@ 12InterfaceVersion: 2.0 13PackageVersion: 1 14 15[Description] 16Pidgin allows you to talk to anyone using a variety of messaging protocols, 17including IRC, XMPP, 18Gadu-Gadu, and Zephyr. These protocols are implemented using a 19modular, easy to use design. To use a protocol, just add an account using the 20account editor. 21 22Pidgin supports many common features of other clients, as well as many unique 23features, such as perl scripting, TCL scripting and C plugins. 24 25[BuildPrepare] 26APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-gtktest --disable-glibtest --disable-vv --disable-fortify 27#APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-vv 28 29 30[BuildUnprepare] 31unprepareBuild 32 33[Imports] 34rm -rf include 35rm -rf lib/pkgconfig 36find -name '*.la' | xargs rm 37echo '*' | import 38 39[Prepare] 40# Dependency checking 41require @gtk.org/gtk 2.2 42require @68k.org/libaudiofile 0.0 43require @xiph.org/libao 2.0 44require @gtkspell.sourceforge.net/gtkspell 0.0 45require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; } 46 47[Install] 48# Put your installation script here 49installExe ./bin/* 50installLib ./lib/libpurple-remote.so.0.0.0 51# do the plugins 52copyFiles ./lib/pidgin "$PREFIX/lib" 53installMan 1 ./man/man1/pidgin.1 54installDesktop "Networking/Instant Messaging" ./share/applications/pidgin.desktop 55installLocale ./share/locale 56copyFiles ./share/pixmaps "$PREFIX/share" 57copyFiles ./share/sounds "$PREFIX/share" 58installIcon ./share/pixmaps/pidgin.png 59# install and fix the .pc file 60# move this to the -devel package when I make one 61# copyFile ./lib/pkgconfig/pidgin.pc "$PREFIX/lib/pkgconfig/pidgin.pc" 62# safeSed "$PREFIX/lib/pkgconfig/pidgin.pc" "s|prefix=/usr/local|prefix=$PREFIX|" 63 64[Uninstall] 65# Usually just the following line is enough to uninstall everything 66uninstallFromLog 67