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
|
|
|
|
|
2014-05-09 02:32:28 +00:00
|
|
|
CONFIG += qt thread debug link_pkgconfig c++11 warn_on
|
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}
|
2014-12-28 00:02:50 +00:00
|
|
|
LIBS += $${DHT_LIBS}
|
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 \
|
2014-11-30 18:43:50 +00:00
|
|
|
translations/transmission_hu.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 \
|
2014-11-30 18:43:50 +00:00
|
|
|
translations/transmission_uk.ts
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2014-12-25 19:39:45 +00:00
|
|
|
FORMS += about.ui \
|
|
|
|
details.ui \
|
2014-12-21 13:57:15 +00:00
|
|
|
mainwin.ui \
|
2014-12-29 04:03:56 +00:00
|
|
|
options.ui \
|
2014-12-26 10:35:00 +00:00
|
|
|
relocate.ui \
|
2014-12-21 23:46:31 +00:00
|
|
|
session-dialog.ui \
|
2014-12-21 13:57:15 +00:00
|
|
|
stats-dialog.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 \
|
2014-12-31 21:00:34 +00:00
|
|
|
path-button.cc \
|
2010-08-01 18:55:04 +00:00
|
|
|
prefs.cc \
|
|
|
|
prefs-dialog.cc \
|
|
|
|
relocate.cc \
|
2014-12-27 20:03:10 +00:00
|
|
|
rpc-client.cc \
|
2010-08-01 18:55:04 +00:00
|
|
|
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 \
|
2014-12-18 01:30:50 +00:00
|
|
|
tricontoolbutton.cc \
|
2010-08-01 18:55:04 +00:00
|
|
|
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
|