1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
transmission/qt/qtr.pro

87 lines
2.4 KiB
Prolog

TARGET = transmission-qt
NAME = "Transmission"
DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
VERSION = 2.81
LICENSE = "GPL"
target.path = /bin
INSTALLS += target
unix: INSTALLS += man
man.path = /share/man/man1/
man.files = transmission-qt.1
CONFIG += qt thread debug link_pkgconfig c++11 warn_on
QT += network dbus
PKGCONFIG = fontconfig libcurl openssl libevent
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}
TRANSMISSION_TOP = ..
include(config.pri)
INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
INCLUDEPATH += $${TRANSMISSION_TOP}
LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
LIBS += $${LIBUTP_LIBS}
LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
LIBS += $${LIBUPNP_LIBS}
LIBS += $${LIBNATPMP_LIBS}
unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
win32:DEFINES += QT_DBUS
win32:LIBS += -levent-2.0 -lws2_32 -lintl
win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
TRANSLATIONS += translations/transmission_en.ts \
translations/transmission_es.ts \
translations/transmission_eu.ts \
translations/transmission_fr.ts \
translations/transmission_hu.ts \
translations/transmission_kk.ts \
translations/transmission_lt.ts \
translations/transmission_pt_BR.ts \
translations/transmission_ru.ts \
translations/transmission_uk.ts
FORMS += mainwin.ui
RESOURCES += application.qrc
SOURCES += about.cc \
add-data.cc \
app.cc \
dbus-adaptor.cc \
details.cc \
favicon.cc \
file-tree.cc \
filterbar.cc \
filters.cc \
freespace-label.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
HEADERS += $$replace(SOURCES, .cc, .h)
HEADERS += speed.h types.h
win32:RC_FILE = qtr.rc