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
|
|
|
|
|
2019-11-07 00:17:48 +00:00
|
|
|
CONFIG += qt thread link_pkgconfig c++1z warn_on
|
2013-08-17 16:22:56 +00:00
|
|
|
QT += network dbus
|
2017-02-11 17:48:13 +00:00
|
|
|
win32:QT += winextras
|
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
|
|
|
|
}
|
|
|
|
|
2015-12-21 13:20:35 +00:00
|
|
|
DEFINES += QT_NO_CAST_FROM_ASCII ENABLE_DBUS_INTEROP
|
2015-01-29 21:53:05 +00:00
|
|
|
win32:DEFINES += QT_DBUS
|
|
|
|
|
2009-04-09 18:55:47 +00:00
|
|
|
TRANSMISSION_TOP = ..
|
2012-02-04 01:55:58 +00:00
|
|
|
|
2015-01-02 11:15:31 +00:00
|
|
|
include(config.pri)
|
2012-02-04 01:55:58 +00:00
|
|
|
|
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}
|
2015-01-01 21:16:36 +00:00
|
|
|
LIBS += $${LIBB64_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
|
|
|
|
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
|
|
|
|
2015-08-10 20:43:26 +00:00
|
|
|
TRANSLATIONS += translations/transmission_de.ts \
|
|
|
|
translations/transmission_en.ts \
|
2010-11-25 03:00:25 +00:00
|
|
|
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 \
|
2015-08-10 20:43:26 +00:00
|
|
|
translations/transmission_id.ts \
|
2015-12-12 18:14:15 +00:00
|
|
|
translations/transmission_it_IT.ts \
|
2017-05-19 18:49:04 +00:00
|
|
|
translations/transmission_ka.ts \
|
2011-09-25 21:56:11 +00:00
|
|
|
translations/transmission_kk.ts \
|
2015-12-12 18:14:15 +00:00
|
|
|
translations/transmission_ko.ts \
|
2011-09-25 21:56:11 +00:00
|
|
|
translations/transmission_lt.ts \
|
2017-05-19 18:49:04 +00:00
|
|
|
translations/transmission_nl.ts \
|
2017-05-19 20:11:06 +00:00
|
|
|
translations/transmission_pl.ts \
|
2010-11-25 03:00:25 +00:00
|
|
|
translations/transmission_pt_BR.ts \
|
2017-05-19 21:13:57 +00:00
|
|
|
translations/transmission_pt_PT.ts \
|
2012-10-05 22:25:12 +00:00
|
|
|
translations/transmission_ru.ts \
|
2017-05-19 18:49:04 +00:00
|
|
|
translations/transmission_sv.ts \
|
|
|
|
translations/transmission_tr.ts \
|
2015-04-15 20:26:38 +00:00
|
|
|
translations/transmission_uk.ts \
|
|
|
|
translations/transmission_zh_CN.ts
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2015-06-10 21:27:11 +00:00
|
|
|
FORMS += AboutDialog.ui \
|
|
|
|
DetailsDialog.ui \
|
2015-08-01 16:05:02 +00:00
|
|
|
LicenseDialog.ui \
|
2015-06-10 21:27:11 +00:00
|
|
|
MainWindow.ui \
|
|
|
|
MakeDialog.ui \
|
|
|
|
MakeProgressDialog.ui \
|
|
|
|
OptionsDialog.ui \
|
|
|
|
PrefsDialog.ui \
|
|
|
|
RelocateDialog.ui \
|
|
|
|
SessionDialog.ui \
|
|
|
|
StatsDialog.ui
|
2009-04-09 18:55:47 +00:00
|
|
|
RESOURCES += application.qrc
|
2015-01-04 02:14:58 +00:00
|
|
|
win32|macx:RESOURCES += icons/Faenza/Faenza.qrc
|
2015-06-10 21:27:11 +00:00
|
|
|
SOURCES += AboutDialog.cc \
|
|
|
|
AddData.cc \
|
|
|
|
Application.cc \
|
|
|
|
ColumnResizer.cc \
|
2015-12-21 13:20:35 +00:00
|
|
|
DBusInteropHelper.cc \
|
2015-06-10 21:27:11 +00:00
|
|
|
DetailsDialog.cc \
|
|
|
|
FaviconCache.cc \
|
|
|
|
FileTreeDelegate.cc \
|
|
|
|
FileTreeItem.cc \
|
|
|
|
FileTreeModel.cc \
|
|
|
|
FileTreeView.cc \
|
|
|
|
FilterBar.cc \
|
|
|
|
FilterBarComboBox.cc \
|
|
|
|
FilterBarComboBoxDelegate.cc \
|
|
|
|
Filters.cc \
|
|
|
|
Formatter.cc \
|
|
|
|
FreeSpaceLabel.cc \
|
|
|
|
IconToolButton.cc \
|
2015-12-21 13:20:35 +00:00
|
|
|
InteropHelper.cc \
|
|
|
|
InteropObject.cc \
|
2015-06-10 21:27:11 +00:00
|
|
|
LicenseDialog.cc \
|
|
|
|
MainWindow.cc \
|
|
|
|
MakeDialog.cc \
|
|
|
|
OptionsDialog.cc \
|
|
|
|
PathButton.cc \
|
|
|
|
Prefs.cc \
|
|
|
|
PrefsDialog.cc \
|
|
|
|
RelocateDialog.cc \
|
|
|
|
RpcClient.cc \
|
2016-04-19 20:41:59 +00:00
|
|
|
RpcQueue.cc \
|
2015-06-10 21:27:11 +00:00
|
|
|
Session.cc \
|
|
|
|
SessionDialog.cc \
|
|
|
|
SqueezeLabel.cc \
|
|
|
|
StatsDialog.cc \
|
2017-02-07 22:06:28 +00:00
|
|
|
StyleHelper.cc \
|
2015-06-10 21:27:11 +00:00
|
|
|
Torrent.cc \
|
|
|
|
TorrentDelegate.cc \
|
|
|
|
TorrentDelegateMin.cc \
|
|
|
|
TorrentFilter.cc \
|
|
|
|
TorrentModel.cc \
|
2015-10-19 20:30:26 +00:00
|
|
|
TorrentView.cc \
|
2015-06-10 21:27:11 +00:00
|
|
|
TrackerDelegate.cc \
|
|
|
|
TrackerModel.cc \
|
|
|
|
TrackerModelFilter.cc \
|
|
|
|
Utils.cc \
|
|
|
|
WatchDir.cc
|
2009-04-13 17:31:02 +00:00
|
|
|
HEADERS += $$replace(SOURCES, .cc, .h)
|
2019-11-12 01:37:05 +00:00
|
|
|
HEADERS += BaseDialog.h CustomVariantType.h Speed.h Typedefs.h
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2010-06-22 00:12:52 +00:00
|
|
|
win32:RC_FILE = qtr.rc
|