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
|
2010-06-22 00:12:52 +00:00
|
|
|
PKGCONFIG = fontconfig libcurl openssl dbus-1
|
2009-04-09 18:55:47 +00:00
|
|
|
|
|
|
|
TRANSMISSION_TOP = ..
|
|
|
|
INCLUDEPATH += $${TRANSMISSION_TOP}
|
2009-06-05 17:10:12 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
|
2009-11-25 06:21:58 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
|
2009-04-09 18:55:47 +00:00
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
|
|
|
|
LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
|
2010-06-22 00:12:52 +00:00
|
|
|
unix: LIBS += -levent
|
|
|
|
win32:DEFINES += QT_DBUS
|
|
|
|
win32:LIBS += -levent -lws2_32 -lintl
|
|
|
|
win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
|
2009-04-09 18:55:47 +00:00
|
|
|
|
2009-08-08 13:25:00 +00:00
|
|
|
TRANSLATIONS += transmission_en.ts 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-04-27 03:10:32 +00:00
|
|
|
SOURCES += about.cc app.cc dbus-adaptor.cc details.cc file-tree.cc filters.cc \
|
2010-07-03 01:10:36 +00:00
|
|
|
formatter.cc hig.cc license.cc mainwin.cc make-dialog.cc options.cc \
|
|
|
|
prefs.cc prefs-dialog.cc qticonloader.cc relocate.cc session.cc \
|
2009-05-13 15:54:04 +00:00
|
|
|
session-dialog.cc squeezelabel.cc stats-dialog.cc torrent.cc \
|
|
|
|
torrent-delegate.cc torrent-delegate-min.cc torrent-filter.cc \
|
2010-07-03 01:10:36 +00:00
|
|
|
torrent-model.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
|