2010-06-21 22:09:15 +00:00
|
|
|
TARGET = transmission-qt
|
2009-04-13 17:31:02 +00:00
|
|
|
NAME = "Transmission"
|
|
|
|
DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
|
2013-07-27 21:58:14 +00:00
|
|
|
VERSION = 2.81
|
2009-04-13 17:31:02 +00:00
|
|
|
LICENSE = "GPL"
|
|
|
|
|
|
|
|
target.path = /bin
|
|
|
|
INSTALLS += target
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2010-06-26 21:42:50 +00:00
|
|
|
unix: INSTALLS += man
|
|
|
|
man.path = /share/man/man1/
|
|
|
|
man.files = transmission-qt.1
|
|
|
|
|
2013-07-27 21:58:14 +00:00
|
|
|
CONFIG += qt thread debug link_pkgconfig
|
2013-08-17 16:22:56 +00:00
|
|
|
QT += network dbus
|
2011-01-20 20:20:14 +00:00
|
|
|
PKGCONFIG = fontconfig libcurl openssl libevent
|
2010-12-31 19:44:51 +00:00
|
|
|
|
2013-08-17 16:22:56 +00:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT += widgets
|
|
|
|
}
|
|
|
|
|
2009-04-09 18:55:47 +00:00
|
|
|
TRANSMISSION_TOP = ..
|
2012-02-04 01:55:58 +00:00
|
|
|
|
|
|
|
include(config.pri)
|
|
|
|
|
2011-02-18 00:33:29 +00:00
|
|
|
INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
|
2009-04-09 18:55:47 +00:00
|
|
|
INCLUDEPATH += $${TRANSMISSION_TOP}
|
2009-06-05 17:10:12 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
|
2012-02-04 01:55:58 +00:00
|
|
|
LIBS += $${LIBUTP_LIBS}
|
2009-11-25 06:21:58 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
|
2012-02-04 01:55:58 +00:00
|
|
|
LIBS += $${LIBUPNP_LIBS}
|
|
|
|
LIBS += $${LIBNATPMP_LIBS}
|
2011-03-18 15:15:13 +00:00
|
|
|
unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
|
2010-06-22 00:12:52 +00:00
|
|
|
win32:DEFINES += QT_DBUS
|
2011-03-18 15:15:13 +00:00
|
|
|
win32:LIBS += -levent-2.0 -lws2_32 -lintl
|
2010-06-22 00:12:52 +00:00
|
|
|
win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2010-11-25 03:00:25 +00:00
|
|
|
TRANSLATIONS += translations/transmission_en.ts \
|
|
|
|
translations/transmission_es.ts \
|
2012-07-01 04:28:58 +00:00
|
|
|
translations/transmission_eu.ts \
|
2012-12-17 16:36:29 +00:00
|
|
|
translations/transmission_fr.ts \
|
2011-09-25 21:56:11 +00:00
|
|
|
translations/transmission_kk.ts \
|
|
|
|
translations/transmission_lt.ts \
|
2010-11-25 03:00:25 +00:00
|
|
|
translations/transmission_pt_BR.ts \
|
2012-10-05 22:25:12 +00:00
|
|
|
translations/transmission_ru.ts \
|
|
|
|
translations/transmission_hu.ts
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2009-04-21 01:00:17 +00:00
|
|
|
FORMS += mainwin.ui
|
2009-04-09 18:55:47 +00:00
|
|
|
RESOURCES += application.qrc
|
2010-08-01 18:55:04 +00:00
|
|
|
SOURCES += about.cc \
|
|
|
|
add-data.cc \
|
|
|
|
app.cc \
|
|
|
|
dbus-adaptor.cc \
|
|
|
|
details.cc \
|
|
|
|
favicon.cc \
|
|
|
|
file-tree.cc \
|
|
|
|
filterbar.cc \
|
|
|
|
filters.cc \
|
2013-02-09 04:05:03 +00:00
|
|
|
freespace-label.cc \
|
2010-08-01 18:55:04 +00:00
|
|
|
formatter.cc \
|
|
|
|
hig.cc \
|
|
|
|
license.cc \
|
|
|
|
mainwin.cc \
|
|
|
|
make-dialog.cc \
|
|
|
|
options.cc \
|
|
|
|
prefs.cc \
|
|
|
|
prefs-dialog.cc \
|
|
|
|
relocate.cc \
|
|
|
|
session.cc \
|
|
|
|
session-dialog.cc \
|
|
|
|
squeezelabel.cc \
|
|
|
|
stats-dialog.cc \
|
|
|
|
torrent.cc torrent-delegate.cc \
|
|
|
|
torrent-delegate-min.cc \
|
|
|
|
torrent-filter.cc \
|
|
|
|
torrent-model.cc \
|
|
|
|
tracker-delegate.cc \
|
|
|
|
tracker-model.cc \
|
|
|
|
tracker-model-filter.cc \
|
|
|
|
triconpushbutton.cc \
|
|
|
|
utils.cc \
|
|
|
|
watchdir.cc
|
2009-04-13 17:31:02 +00:00
|
|
|
HEADERS += $$replace(SOURCES, .cc, .h)
|
|
|
|
HEADERS += speed.h types.h
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2010-06-22 00:12:52 +00:00
|
|
|
win32:RC_FILE = qtr.rc
|