Info2: << Package: valknut%type_pkg[-qttoolkit] Version: 0.3.10 Revision: 1 Description: Direct Connect protocol QT client Type: -qttoolkit (-aqua -x11) License: GPL Maintainer: Hanspeter Niederstrasser Depends: << bzip2-shlibs, dclib0-unified-shlibs (>= 0.3.10-1), libiconv, libpng3-shlibs, libxml2-shlibs, (%type_raw[-qttoolkit] = -x11) qt3-shlibs, (%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs, (%type_raw[-qttoolkit] = -x11) x11 << BuildDepends: << bzip2-dev, dclib0-unified (>= 0.3.10-1), libiconv-dev, libpng3, libxml2, (%type_raw[-qttoolkit] = -x11) qt3, (%type_raw[-qttoolkit] = -aqua) qt3mac, system-openssl-dev, system-sdk-10.3, (%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: 5b64735b03b2123ec47fe5141a130dbd SetLDFLAGS: -L%p/lib/system-openssl/lib ConfigureParams: << --with-libdc=%p \ (%type_raw[-qttoolkit] = -aqua) --with-qt-dir=%p/lib/qt3mac \ (%type_raw[-qttoolkit] = -aqua) --with-qt-includes=%p/lib/qt3mac/include \ (%type_raw[-qttoolkit] = -aqua) --enable-mac \ (%type_raw[-qttoolkit] = -aqua) --enable-osx \ (%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p/lib/qt3 \ (%type_raw[-qttoolkit] = -x11) --with-qt-includes=%p/include/qt \ --with-ssl-dir=%p/lib/system-openssl \ --disable-dependency-tracking << GCC: 3.3 CompileScript: << #!/bin/sh -ev if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then # set this on 10.3 because of stoopid QuickTime issues. NOT needed for 10.4. export LDFLAGS="-Wl,-dylib_file,/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon -Wl,-dylib_file,/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime -Wl,-dylib_file,/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit -Wl,-dylib_file,/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks $LDFLAGS" fi ./configure %c /usr/bin/make -w << 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 INSTALL NEWS README Homepage: http://dcgui.berlios.de/index.php 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 Application 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. Just keep at dclib0-%v >= than current valknut-%v. 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. << <<