1 |
Info2: <<
|
2 |
Package: valknut%type_pkg[-qttoolkit]
|
3 |
Version: 0.3.10
|
4 |
Revision: 1
|
5 |
Description: Direct Connect protocol QT client
|
6 |
Type: -qttoolkit (-aqua -x11)
|
7 |
License: GPL
|
8 |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
|
9 |
Depends: <<
|
10 |
bzip2-shlibs,
|
11 |
dclib0-unified-shlibs (>= 0.3.10-1),
|
12 |
libiconv,
|
13 |
libpng3-shlibs,
|
14 |
libxml2-shlibs,
|
15 |
(%type_raw[-qttoolkit] = -x11) qt3-shlibs,
|
16 |
(%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs,
|
17 |
(%type_raw[-qttoolkit] = -x11) x11
|
18 |
<<
|
19 |
BuildDepends: <<
|
20 |
bzip2-dev,
|
21 |
dclib0-unified (>= 0.3.10-1),
|
22 |
libiconv-dev,
|
23 |
libpng3,
|
24 |
libxml2,
|
25 |
(%type_raw[-qttoolkit] = -x11) qt3,
|
26 |
(%type_raw[-qttoolkit] = -aqua) qt3mac,
|
27 |
system-openssl-dev,
|
28 |
system-sdk-10.3,
|
29 |
(%type_raw[-qttoolkit] = -x11) x11-dev
|
30 |
<<
|
31 |
Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
|
32 |
BuildConflicts: <<
|
33 |
(%type_raw[-qttoolkit] = -aqua) qt3,
|
34 |
(%type_raw[-qttoolkit] = -x11) qt3mac
|
35 |
<<
|
36 |
Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
|
37 |
Source: mirror:sourceforge:wxdcgui/%{ni}-%v.tar.bz2
|
38 |
Source-MD5: 5b64735b03b2123ec47fe5141a130dbd
|
39 |
SetLDFLAGS: -L%p/lib/system-openssl/lib
|
40 |
ConfigureParams: <<
|
41 |
--with-libdc=%p \
|
42 |
(%type_raw[-qttoolkit] = -aqua) --with-qt-dir=%p/lib/qt3mac \
|
43 |
(%type_raw[-qttoolkit] = -aqua) --with-qt-includes=%p/lib/qt3mac/include \
|
44 |
(%type_raw[-qttoolkit] = -aqua) --enable-mac \
|
45 |
(%type_raw[-qttoolkit] = -aqua) --enable-osx \
|
46 |
(%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p/lib/qt3 \
|
47 |
(%type_raw[-qttoolkit] = -x11) --with-qt-includes=%p/include/qt \
|
48 |
--with-ssl-dir=%p/lib/system-openssl \
|
49 |
--disable-dependency-tracking
|
50 |
<<
|
51 |
GCC: 3.3
|
52 |
CompileScript: <<
|
53 |
#!/bin/sh -ev
|
54 |
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
|
55 |
# set this on 10.3 because of stoopid QuickTime issues. NOT needed for 10.4.
|
56 |
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"
|
57 |
fi
|
58 |
./configure %c
|
59 |
/usr/bin/make -w
|
60 |
<<
|
61 |
InstallScript: <<
|
62 |
#!/bin/sh -ev
|
63 |
if [ "%type_raw[-qttoolkit]" == "-x11" ]; then
|
64 |
/usr/bin/make -w install DESTDIR=%d
|
65 |
else
|
66 |
/usr/bin/make -w install-osx-app-bundle
|
67 |
/usr/bin/install -d -m 755 %i/Applications
|
68 |
/bin/mv -f Valknut.app %i/Applications/Valknut.app
|
69 |
fi
|
70 |
<<
|
71 |
PostInstScript: <<
|
72 |
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
|
73 |
if ! test -e /Applications/Fink; then
|
74 |
/usr/bin/install -d -m 755 /Applications/Fink
|
75 |
fi
|
76 |
/bin/ln -s '%p/Applications/Valknut.app' /Applications/Fink/
|
77 |
fi
|
78 |
<<
|
79 |
PostRmScript: <<
|
80 |
if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
|
81 |
/bin/rm -f '/Applications/Fink/Valknut.app'
|
82 |
fi
|
83 |
<<
|
84 |
DocFiles: AUTHORS ChangeLog COPYING INSTALL NEWS README
|
85 |
Homepage: http://dcgui.berlios.de/index.php
|
86 |
DescDetail: <<
|
87 |
Valknut is a program the uses the Direct Connect protocol. It is
|
88 |
compatible with other DC clients, such as the original DC from
|
89 |
Neomodus, and DC++.
|
90 |
|
91 |
Valknut replaces the packages dcgui-qt and dcgui-qt-ssl that were
|
92 |
renamed after version 0.3.2.
|
93 |
<<
|
94 |
DescUsage: <<
|
95 |
For Aqua Version:
|
96 |
-----------------
|
97 |
Double click the Application in /Applications/Fink
|
98 |
|
99 |
For X11 Version:
|
100 |
----------------
|
101 |
Normally, just use "valknut" from the command line.
|
102 |
Use "valknut --disable-tray" to get rid of the little icon
|
103 |
if using quartz-wm or another dockless window manager.
|
104 |
|
105 |
Valknut >= 0.3.5 crashes the X11 server when run in rootless mode
|
106 |
if using a window manager besides quartz-wm. It runs fine under any
|
107 |
manager in full-screen mode. If you use xorg or xfree86, install the
|
108 |
package quartz-wm and call it from your xinitrc if you want to run
|
109 |
Valknut. Alternatively, run the native Aqua version which doesn't need
|
110 |
X11.
|
111 |
<<
|
112 |
DescPackaging: <<
|
113 |
No longer Depends: on a specific %v-%r of dclib0. Just keep at dclib0-%v >= than current valknut-%v.
|
114 |
|
115 |
Now links to system OpenSSL to avoid licensing issues.
|
116 |
|
117 |
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.
|
118 |
<<
|
119 |
<<
|