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