From: David F. <fa...@us...> - 2011-08-31 21:15:50
|
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto In directory vz-cvs-3.sog:/tmp/cvs-serv21860/crypto Modified Files: pidgin-facebookchat.info Log Message: upstream update 1.69, more precise bdeps, use pkg-config instead of hard-code generate depfile so f-p-p can scan it Index: pidgin-facebookchat.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto/pidgin-facebookchat.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pidgin-facebookchat.info 1 Jul 2010 01:37:10 -0000 1.1 +++ pidgin-facebookchat.info 31 Aug 2011 21:15:46 -0000 1.2 @@ -1,13 +1,51 @@ Package: pidgin-facebookchat -Version: 1.65 -Revision: 2 -Depends: glib2-shlibs (>= 2.18.2-1), libgettext8-shlibs (>= 0.14.5-2), pidgin, libpurple-shlibs, libjson-glib-shlibs (>= 0.6.2-2) -BuildDepends: glib2-dev (>= 2.18.2-1), libgettext8-dev (>= 0.14.5-2), pidgin-dev, libpurple, libjson-glib +Version: 1.69 +Revision: 1 +Depends: << + glib2-shlibs (>= 2.18.2-1), + libgettext8-shlibs (>= 0.14.5-2), + pidgin, + libpurple-shlibs, + libjson-glib-shlibs (>= 0.7.6-1) +<< +BuildDepends: << + fink-package-precedence, + pkgconfig, + glib2-dev (>= 2.18.2-1), + libgettext8-dev (>= 0.14.5-2), + libpurple, + libjson-glib (>= 0.7.6-1) +<< Source: http://%n.googlecode.com/files/%n-source-%v.tar.bz2 -Source-MD5: 7d7bbee32cf758e29baeaec1528c669e +Source-MD5: e6855197f9cb3fc6540039b6d42841f6 SourceDirectory: %n -CompileScript: gcc -I%p/include/libpurple -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB -Wall -I%p/include/glib-2.0 -I%p/lib/glib-2.0/include -I%p/include -I%p/include/glib-2.0 -I%p/lib/glib-2.0/include -I%p/include -I%p/include/json-glib-1.0 -I. -Os -pipe libfacebook.h libfacebook.c fb_blist.h fb_blist.c fb_connection.h fb_connection.c fb_conversation.h fb_conversation.c fb_info.h fb_info.c fb_managefriends.h fb_managefriends.c fb_messages.h fb_messages.c fb_notifications.h fb_notifications.c fb_search.h fb_search.c fb_util.h fb_util.c fb_friendlist.h fb_friendlist.c -o libfacebook.so -bundle -fPIC -DPIC -L%p/lib -lpurple -ljson-glib-1.0 -lglib-2.0 -lgobject-2.0 -lintl -lz -InstallScript: mkdir -p %i/lib/pidgin %i/share/pixmaps/pidgin/protocols/16 %i/share/pixmaps/pidgin/protocols/22 %i/share/pixmaps/pidgin/protocols/48 && cp -p libfacebook.so %i/lib/pidgin/ && cp facebook16.png %i/share/pixmaps/pidgin/protocols/16/facebook.png && cp facebook22.png %i/share/pixmaps/pidgin/protocols/22/facebook.png && cp facebook48.png %i/share/pixmaps/pidgin/protocols/48/facebook.png +CompileScript: << + #!/bin/sh -ev + # their Makefile has only hard-coded values, blech + PURPLE_CFLAGS="`pkg-config --cflags purple`" + PURPLE_LIBS="`pkg-config --libs purple`" + JSON_CFLAGS="`pkg-config --cflags json-glib-1.0`" + JSON_LIBS="`pkg-config --libs json-glib-1.0`" + CPPFLAGS="-DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB $PURPLE_CFLAGS $JSON_CFLAGS -I%p/include -I." + CFLAGS="-Wall -g -O2 -pipe" + MKDEP_CFLAGS="-MD -MF libfacebook.Po" + SHLIB_CFLAGS="-bundle -fPIC -DPIC" + LDFLAGS="$PURPLE_LIBS $JSON_LIBS -lz" + SOURCES="libfacebook.c fb_blist.c fb_chat.c fb_connection.c fb_conversation.c fb_info.c fb_managefriends.c fb_messages.c fb_notifications.c fb_search.c fb_util.c fb_friendlist.c" + echo "gcc $CPPFLAGS $CFLAGS $SHLIB_CFLAGS $MKDEP_CFLAGS -o libfacebook.so $SOURCES $LDFLAGS" + gcc $CPPFLAGS $CFLAGS $SHLIB_CFLAGS $MKDEP_CFLAGS -o libfacebook.so $SOURCES $LDFLAGS + fink-package-precedence . +<< +InstallScript: << + #!/bin/sh -ev + mkdir -p %i/lib/pidgin + cp -p libfacebook.so %i/lib/pidgin/ + for s in 16 22 48 + do + mkdir -p %i/share/pixmaps/pidgin/protocols/$s + cp facebook$s.png %i/share/pixmaps/pidgin/protocols/$s/facebook.png + done +<< DocFiles: COPYING License: GPL Homepage: http://pidgin-facebookchat.googlecode.com |