2011-01-01 20:16:37 +03:00
|
|
|
# Generated by the configure file
|
2013-11-20 02:28:18 +04:00
|
|
|
# Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make.
|
|
|
|
# If not there will be a WARNING again.
|
|
|
|
# The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
|
|
|
|
# The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
|
|
|
|
exists($$OUT_PWD/../conf.pri) {
|
|
|
|
include($$OUT_PWD/../conf.pri)
|
|
|
|
} else {
|
|
|
|
include(conf.pri)
|
|
|
|
}
|
2011-01-01 20:16:37 +03:00
|
|
|
|
2010-11-20 20:21:40 +03:00
|
|
|
# COMPILATION SPECIFIC
|
2015-01-18 15:13:06 +03:00
|
|
|
!nogui:dbus {
|
|
|
|
QT += dbus
|
2011-01-15 11:38:57 +03:00
|
|
|
}
|
2011-03-26 12:03:12 +03:00
|
|
|
|
2011-06-05 20:08:30 +04:00
|
|
|
QMAKE_CXXFLAGS += -Wformat -Wformat-security
|
2014-07-12 14:34:26 +04:00
|
|
|
!haiku {
|
2015-01-18 15:13:06 +03:00
|
|
|
QMAKE_LFLAGS_APP += -rdynamic
|
2014-07-12 14:34:26 +04:00
|
|
|
}
|
2010-11-20 20:21:40 +03:00
|
|
|
|
|
|
|
# Man page
|
2015-01-18 15:13:06 +03:00
|
|
|
nogui {
|
2010-11-20 20:21:40 +03:00
|
|
|
man.files = ../doc/qbittorrent-nox.1
|
|
|
|
} else {
|
|
|
|
man.files = ../doc/qbittorrent.1
|
|
|
|
}
|
2011-01-15 12:30:41 +03:00
|
|
|
|
2014-04-19 23:47:08 +04:00
|
|
|
man.path = $$MANPREFIX/man1
|
2010-11-20 20:21:40 +03:00
|
|
|
INSTALLS += man
|
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
DIST_PATH = ../dist/unix
|
|
|
|
|
2010-11-20 20:21:40 +03:00
|
|
|
# Menu Icon
|
2015-01-18 15:13:06 +03:00
|
|
|
!nogui {
|
|
|
|
menuicon.files = icons/qBittorrent.desktop
|
|
|
|
menuicon.path = $$PREFIX/share/applications/
|
|
|
|
INSTALLS += menuicon
|
2010-11-20 20:21:40 +03:00
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
icon16.files = $$DIST_PATH/menuicons/16x16/apps/qbittorrent.png
|
|
|
|
icon16.path = $$PREFIX/share/icons/hicolor/16x16/apps/
|
|
|
|
icon22.files = $$DIST_PATH/menuicons/22x22/apps/qbittorrent.png
|
|
|
|
icon22.path = $$PREFIX/share/icons/hicolor/22x22/apps/
|
|
|
|
icon24.files = $$DIST_PATH/menuicons/24x24/apps/qbittorrent.png
|
|
|
|
icon24.path = $$PREFIX/share/icons/hicolor/24x24/apps/
|
|
|
|
icon32.files = $$DIST_PATH/menuicons/32x32/apps/qbittorrent.png
|
|
|
|
icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps/
|
|
|
|
icon36.files = $$DIST_PATH/menuicons/36x36/apps/qbittorrent.png
|
|
|
|
icon36.path = $$PREFIX/share/icons/hicolor/36x36/apps/
|
|
|
|
icon48.files = $$DIST_PATH/menuicons/48x48/apps/qbittorrent.png
|
|
|
|
icon48.path = $$PREFIX/share/icons/hicolor/48x48/apps/
|
|
|
|
icon64.files = $$DIST_PATH/menuicons/64x64/apps/qbittorrent.png
|
|
|
|
icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps/
|
|
|
|
icon72.files = $$DIST_PATH/menuicons/72x72/apps/qbittorrent.png
|
|
|
|
icon72.path = $$PREFIX/share/icons/hicolor/72x72/apps/
|
|
|
|
icon96.files = $$DIST_PATH/menuicons/96x96/apps/qbittorrent.png
|
|
|
|
icon96.path = $$PREFIX/share/icons/hicolor/96x96/apps/
|
|
|
|
icon128.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
|
|
|
|
icon128.path = $$PREFIX/share/icons/hicolor/128x128/apps/
|
|
|
|
icon192.files = $$DIST_PATH/menuicons/192x192/apps/qbittorrent.png
|
|
|
|
icon192.path = $$PREFIX/share/icons/hicolor/192x192/apps/
|
|
|
|
INSTALLS += \
|
|
|
|
icon16 \
|
|
|
|
icon22 \
|
|
|
|
icon24 \
|
|
|
|
icon32 \
|
|
|
|
icon36 \
|
|
|
|
icon48 \
|
|
|
|
icon64 \
|
|
|
|
icon72 \
|
|
|
|
icon96 \
|
|
|
|
icon128 \
|
|
|
|
icon192
|
2011-03-19 01:49:28 +03:00
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
pixmap.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
|
|
|
|
pixmap.path = $$PREFIX/share/pixmaps/
|
|
|
|
INSTALLS += pixmap
|
2010-11-20 20:21:40 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# INSTALL
|
|
|
|
target.path = $$PREFIX/bin/
|
|
|
|
INSTALLS += target
|
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
!nogui {
|
|
|
|
# DEFINE added by configure
|
|
|
|
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
|
|
|
message("You chose to embed GeoIP database in qBittorrent executable.")
|
|
|
|
}
|
2010-11-20 20:21:40 +03:00
|
|
|
}
|