1 | TARGET = transmission-qt |
---|
2 | NAME = "Transmission" |
---|
3 | DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client" |
---|
4 | VERSION = 2.81 |
---|
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 thread debug link_pkgconfig |
---|
15 | QT += network dbus |
---|
16 | PKGCONFIG = fontconfig libcurl openssl libevent |
---|
17 | |
---|
18 | greaterThan(QT_MAJOR_VERSION, 4) { |
---|
19 | QT += widgets |
---|
20 | } |
---|
21 | |
---|
22 | TRANSMISSION_TOP = .. |
---|
23 | |
---|
24 | include(config.pri) |
---|
25 | |
---|
26 | INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH} |
---|
27 | INCLUDEPATH += $${TRANSMISSION_TOP} |
---|
28 | LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a |
---|
29 | LIBS += $${LIBUTP_LIBS} |
---|
30 | LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a |
---|
31 | LIBS += $${LIBUPNP_LIBS} |
---|
32 | LIBS += $${LIBNATPMP_LIBS} |
---|
33 | unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt |
---|
34 | win32:DEFINES += QT_DBUS |
---|
35 | win32:LIBS += -levent-2.0 -lws2_32 -lintl |
---|
36 | win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi |
---|
37 | |
---|
38 | TRANSLATIONS += translations/transmission_en.ts \ |
---|
39 | translations/transmission_es.ts \ |
---|
40 | translations/transmission_eu.ts \ |
---|
41 | translations/transmission_fr.ts \ |
---|
42 | translations/transmission_kk.ts \ |
---|
43 | translations/transmission_lt.ts \ |
---|
44 | translations/transmission_pt_BR.ts \ |
---|
45 | translations/transmission_ru.ts \ |
---|
46 | translations/transmission_hu.ts |
---|
47 | |
---|
48 | FORMS += mainwin.ui |
---|
49 | RESOURCES += application.qrc |
---|
50 | SOURCES += about.cc \ |
---|
51 | add-data.cc \ |
---|
52 | app.cc \ |
---|
53 | dbus-adaptor.cc \ |
---|
54 | details.cc \ |
---|
55 | favicon.cc \ |
---|
56 | file-tree.cc \ |
---|
57 | filterbar.cc \ |
---|
58 | filters.cc \ |
---|
59 | freespace-label.cc \ |
---|
60 | formatter.cc \ |
---|
61 | hig.cc \ |
---|
62 | license.cc \ |
---|
63 | mainwin.cc \ |
---|
64 | make-dialog.cc \ |
---|
65 | options.cc \ |
---|
66 | prefs.cc \ |
---|
67 | prefs-dialog.cc \ |
---|
68 | relocate.cc \ |
---|
69 | session.cc \ |
---|
70 | session-dialog.cc \ |
---|
71 | squeezelabel.cc \ |
---|
72 | stats-dialog.cc \ |
---|
73 | torrent.cc torrent-delegate.cc \ |
---|
74 | torrent-delegate-min.cc \ |
---|
75 | torrent-filter.cc \ |
---|
76 | torrent-model.cc \ |
---|
77 | tracker-delegate.cc \ |
---|
78 | tracker-model.cc \ |
---|
79 | tracker-model-filter.cc \ |
---|
80 | triconpushbutton.cc \ |
---|
81 | utils.cc \ |
---|
82 | watchdir.cc |
---|
83 | HEADERS += $$replace(SOURCES, .cc, .h) |
---|
84 | HEADERS += speed.h types.h |
---|
85 | |
---|
86 | win32:RC_FILE = qtr.rc |
---|