view gaim.apspec.in @ 10581:59a2807e10bb

[gaim-migrate @ 11981] I'm not sure when using --class broke (though it was probably when we added -c) but this fixes it for me and is arguable more correct anyway since according to the gtk docs gtk_init (and gtk_init_check) "will initialize everything needed to operate the toolkit and parses some standard command line options. argc and argv are adjusted accordingly so your own code will never see those standard arguments." committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 08 Feb 2005 04:59:35 +0000
parents 895ab663c87c
children 8fbab42659c2
line wrap: on
line source

# -*-shell-script-*-

[Meta]
RootName: @gaim.sourceforge.net/gaim:$SOFTWAREVERSION
DisplayName: Gaim Internet Messenger
ShortName: gaim
Maintainer: The Gaim Developers
URL: http://gaim.sourceforge.net/
Packager: Tim Ringenbach <marv_sf@users.sourceforge.net>
Summary: Gaim allows you to talk to friends on a variety of chat network, such as AIM, ICQ, Yahoo!, MSN, and IRC.
SoftwareVersion: @VERSION@

# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
#
InterfaceVersion: 2.0

PackageVersion: 1


[Description]
Gaim is a modular messaging client capable of using AIM, MSN, Yahoo!, Jabber,
ICQ, IRC, SILC, Novell GroupWise, Napster, Zephyr, and Gadu-Gadu all at once.
It is written using Gtk+ and is licensed under the GPL.

Gaim is NOT affiliated with or endorsed by AOL.

[BuildPrepare]
prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl


[BuildUnprepare]
unprepareBuild

[Imports]
rm -rf include
rm -rf lib/pkgconfig
find -name '*.la' | xargs rm
echo '*' | import

[Prepare]
# Dependency checking
require @gtk.org/gtk 2.2
require @68k.org/libaudiofile 0.0
require @xiph.org/libao 2.0
require @gtkspell.sourceforge.net/gtkspell 0.0

require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; }


[Install]
# Put your installation script here
installExe ./bin/*
installLib ./lib/libgaim-remote.so.0.0.0
# do the plugins
copyFiles ./lib/gaim "$PREFIX/lib"
installMan 1 ./man/man1/gaim.1
installDesktop "Networking/Instant Messaging" ./share/applications/gaim.desktop
copyFiles ./share/locale "$PREFIX/share"
copyFiles ./share/pixmaps "$PREFIX/share"
copyFiles ./share/sounds "$PREFIX/share"
installIcon ./share/pixmaps/gaim.png
# install and fix the .pc file
# move this to the -devel package when I make one
# copyFile ./lib/pkgconfig/gaim.pc "$PREFIX/lib/pkgconfig/gaim.pc"
# safeSed "$PREFIX/lib/pkgconfig/gaim.pc" "s|prefix=/usr/local|prefix=$PREFIX|"

[Uninstall]
# Usually just the following line is enough to uninstall everything
uninstallFromLog