1 | TARGET = transmission-qt |
---|
2 | NAME = "Transmission" |
---|
3 | DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client" |
---|
4 | VERSION = 2.00 |
---|
5 | LICENSE = "GPL" |
---|
6 | |
---|
7 | target.path = /bin |
---|
8 | INSTALLS += target |
---|
9 | |
---|
10 | unix: INSTALLS += man |
---|
11 | man.path = /share/man/man1/ |
---|
12 | man.files = transmission-qt.1 |
---|
13 | |
---|
14 | CONFIG += qt qdbus thread debug link_pkgconfig |
---|
15 | QT += network |
---|
16 | PKGCONFIG = fontconfig libcurl openssl libevent |
---|
17 | |
---|
18 | TRANSMISSION_TOP = .. |
---|
19 | INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH} |
---|
20 | INCLUDEPATH += $${TRANSMISSION_TOP} |
---|
21 | LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a |
---|
22 | exists( $${TRANSMISSION_TOP}/third-party/libutp/Makefile ) { |
---|
23 | LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a |
---|
24 | } |
---|
25 | LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a |
---|
26 | LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a |
---|
27 | LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a |
---|
28 | unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt |
---|
29 | win32:DEFINES += QT_DBUS |
---|
30 | win32:LIBS += -levent-2.0 -lws2_32 -lintl |
---|
31 | win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi |
---|
32 | |
---|
33 | TRANSLATIONS += translations/transmission_en.ts \ |
---|
34 | translations/transmission_es.ts \ |
---|
35 | translations/transmission_kk.ts \ |
---|
36 | translations/transmission_lt.ts \ |
---|
37 | translations/transmission_pt_BR.ts \ |
---|
38 | translations/transmission_ru.ts |
---|
39 | |
---|
40 | FORMS += mainwin.ui |
---|
41 | RESOURCES += application.qrc |
---|
42 | SOURCES += about.cc \ |
---|
43 | add-data.cc \ |
---|
44 | app.cc \ |
---|
45 | dbus-adaptor.cc \ |
---|
46 | details.cc \ |
---|
47 | favicon.cc \ |
---|
48 | file-tree.cc \ |
---|
49 | filterbar.cc \ |
---|
50 | filters.cc \ |
---|
51 | formatter.cc \ |
---|
52 | hig.cc \ |
---|
53 | license.cc \ |
---|
54 | mainwin.cc \ |
---|
55 | make-dialog.cc \ |
---|
56 | options.cc \ |
---|
57 | prefs.cc \ |
---|
58 | prefs-dialog.cc \ |
---|
59 | relocate.cc \ |
---|
60 | session.cc \ |
---|
61 | session-dialog.cc \ |
---|
62 | squeezelabel.cc \ |
---|
63 | stats-dialog.cc \ |
---|
64 | torrent.cc torrent-delegate.cc \ |
---|
65 | torrent-delegate-min.cc \ |
---|
66 | torrent-filter.cc \ |
---|
67 | torrent-model.cc \ |
---|
68 | tracker-delegate.cc \ |
---|
69 | tracker-model.cc \ |
---|
70 | tracker-model-filter.cc \ |
---|
71 | triconpushbutton.cc \ |
---|
72 | utils.cc \ |
---|
73 | watchdir.cc |
---|
74 | HEADERS += $$replace(SOURCES, .cc, .h) |
---|
75 | HEADERS += speed.h types.h |
---|
76 | |
---|
77 | win32:RC_FILE = qtr.rc |
---|