Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/net
In directory vz-cvs-3.sog:/tmp/cvs-serv6141

Added Files:
        valknut.info 
Log Message:
to 10.7 with qt4

--- NEW FILE: valknut.info ---
Info2: <<
Package: valknut%type_pkg[-qttoolkit]
Version: 0.4.9
Revision: 4
Description: Direct Connect protocol QT client
Type: -qttoolkit (-aqua -x11)
License: GPL
Maintainer: Hanspeter Niederstrasser <[email protected]>
Depends: <<
        bzip2-shlibs,
        dclib5-shlibs (>= 0.3.23-1),
        libiconv,
        libxml2-shlibs,
        (%type_raw[-qttoolkit] = -aqua) qt4-base-mac-qt3support-shlibs,
        (%type_raw[-qttoolkit] = -aqua) qt4-base-mac-qtcore-shlibs,
        (%type_raw[-qttoolkit] = -aqua) qt4-base-mac-qtgui-shlibs,
        (%type_raw[-qttoolkit] = -aqua) qt4-base-mac-qtnetwork-shlibs,
        (%type_raw[-qttoolkit] = -x11) 
qt4-base%type_raw[-qttoolkit]-qt3support-shlibs,
        (%type_raw[-qttoolkit] = -x11) 
qt4-base%type_raw[-qttoolkit]-qtcore-shlibs,
        (%type_raw[-qttoolkit] = -x11) 
qt4-base%type_raw[-qttoolkit]-qtgui-shlibs,
        (%type_raw[-qttoolkit] = -x11) 
qt4-base%type_raw[-qttoolkit]-qtnetwork-shlibs,
        (%type_raw[-qttoolkit] = -x11) 
qt4-base%type_raw[-qttoolkit]-qtsql-shlibs,
        (%type_raw[-qttoolkit] = -x11) x11
<<
BuildDepends: <<
        bzip2-dev,
        dclib5 (>= 0.3.23-1),
        libiconv-dev,
        libxml2,
        (%type_raw[-qttoolkit] = -aqua) qt4-base-mac,
        (%type_raw[-qttoolkit] = -x11) qt4-base-x11,
        pkgconfig,
        system-openssl-dev,
        (%type_raw[-qttoolkit] = -x11) x11-dev
<<
Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
BuildConflicts: <<
        (%type_raw[-qttoolkit] = -aqua) qt3,
        (%type_raw[-qttoolkit] = -x11) qt3mac
<<
Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
Source: mirror:sourceforge:wxdcgui/%{ni}-%v.tar.bz2
Source-MD5: c25d68c447cb9deb4262befdde9fccea
PatchScript: <<
        ### fix the order of SSL flags to make sure we link to system-openssl
        # Add $(LDFLAGS) early into $(valknut_LDFLAGS)
        /usr/bin/perl -pi -e 's,\$\(QTCORE_LIBS\) 
\$\(QTGUI_LIBS\),\$\(LDFLAGS\) \$\(QTCORE_LIBS\) \$\(QTGUI_LIBS\),g;' 
valknut/Makefile.in
<<
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
ConfigureParams: <<
        (%type_raw[-qttoolkit] = -aqua) --enable-frameworks \
        (%type_raw[-qttoolkit] = -aqua) --with-framework-dir=%p/lib/qt4-mac/lib 
\
        --enable-dependency-tracking
<<
GCC: 4.0
CompileScript: <<
#!/bin/sh -ev
if [ "%type_raw[-qttoolkit]" == "-x11" ]; then
        export QT4_INSTALL_PATH=%p/lib/qt4-x11
        export CPPFLAGS="-I%p/lib/qt4-x11/include $CPPFLAGS"
fi
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
        export QT4_INSTALL_PATH=%p/lib/qt4-mac
        export CPPFLAGS="-I%p/lib/qt4-mac/include $CPPFLAGS"
        export LDFLAGS="-F%p/lib/qt4-mac/lib $LDFLAGS"
fi
export PKG_CONFIG_PATH=${QT4_INSTALL_PATH}/lib/pkgconfig:$PKG_CONFIG_PATH
export PATH=${QT4_INSTALL_PATH}/bin:$PATH
./configure %c
/usr/bin/make -w
fink-package-precedence .
<<
InstallScript: <<
#!/bin/sh -ev
if [ "%type_raw[-qttoolkit]" == "-x11" ]; then
        /usr/bin/make -w install DESTDIR=%d
else
        /usr/bin/make -w install-osx-app-bundle
        /usr/bin/install -d -m 755 %i/Applications
        /bin/mv -f Valknut.app %i/Applications/Valknut.app
fi
<<
PostInstScript: <<
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
  if ! test -e /Applications/Fink; then
    /usr/bin/install -d -m 755 /Applications/Fink
  fi
    /bin/ln -s '%p/Applications/Valknut.app' /Applications/Fink/
fi
<<
PostRmScript: <<
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
  /bin/rm -f '/Applications/Fink/Valknut.app'
fi
<<
DocFiles: AUTHORS ChangeLog COPYING COPYING.OpenSSL NEWS README
Homepage: http://wxdcgui.sourceforge.net/
DescDetail: <<
Valknut is a program the uses the Direct Connect protocol. It is 
compatible with other DC clients, such as the original DC from 
Neomodus, and DC++.

Valknut replaces the packages dcgui-qt and dcgui-qt-ssl that were
renamed after version 0.3.2.
<<
DescUsage: <<
For Aqua Version:
-----------------
Double click the Valknut icon in /Applications/Fink

For X11 Version:
----------------
Normally, just use "valknut" from the command line.
Use "valknut --disable-tray" to get rid of the little icon
if using quartz-wm or another dockless window manager.

Valknut >= 0.3.5 crashes the X11 server when run in rootless mode 
if using a window manager besides quartz-wm.  It runs fine under any 
manager in full-screen mode.  If you use xorg or xfree86, install the 
package quartz-wm and call it from your xinitrc if you want to run 
Valknut.  Alternatively, run the native Aqua version which doesn't need
X11.
<<
DescPackaging: <<
No longer Depends: on a specific %v-%r of dclib0.

Now links to system OpenSSL to avoid licensing issues.

Uses its own PostInst and PostRm scripts rather than AppBundles because 
AppBundles can not be variantized and the X11 version does not build a .app 
package.
<<
<<


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to