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"
|
2010-06-21 22:09:15 +00:00
|
|
|
VERSION = 2.00
|
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
|
|
|
|
|
2010-04-27 03:10:32 +00:00
|
|
|
CONFIG += qt qdbus thread debug link_pkgconfig
|
2009-04-09 18:55:47 +00:00
|
|
|
QT += network
|
2011-01-20 20:20:14 +00:00
|
|
|
PKGCONFIG = fontconfig libcurl openssl libevent
|
2010-12-31 19:44:51 +00:00
|
|
|
|
2009-04-09 18:55:47 +00:00
|
|
|
TRANSMISSION_TOP = ..
|
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
|
2011-10-08 23:53:27 +00:00
|
|
|
exists( $${TRANSMISSION_TOP}/third-party/libutp/Makefile ) {
|
2011-05-21 09:13:10 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a
|
|
|
|
}
|
2009-11-25 06:21:58 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
|
2011-10-09 02:05:52 +00:00
|
|
|
exists( $${TRANSMISSION_TOP}/third-party/miniupnp/Makefile ) {
|
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
|
|
|
|
}
|
2009-04-09 18:55:47 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
|
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 \
|
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 \
|
2011-09-25 21:56:11 +00:00
|
|
|
translations/transmission_ru.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 \
|
|
|
|
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
|