1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/audio/qmpdclient/files/patch-qmpdclient.pro
Dennis Herrmann 0deccda9ed - Update to 1.2.1
PR:		ports/155960
Submitted by:	Maxim Samsonov <xors@mne.ru>
Approved by:	maintainer timeout
2011-06-17 15:50:51 +00:00

39 lines
1.4 KiB
Prolog

--- qmpdclient.pro.orig 2011-02-04 14:22:08.000000000 +0300
+++ qmpdclient.pro 2011-03-25 12:52:30.000000000 +0300
@@ -3,7 +3,7 @@
# Most people need not muck about below here
#!contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4)
-CONFIG += qt debug
+CONFIG += qt
# addition ldflags for release build
QMAKE_LFLAGS_RELEASE += -O2 -g0 -s
@@ -212,16 +212,15 @@
SOURCES += src/qmpdclient_x11.cpp
# Check for dbus support
- contains(QT_CONFIG, dbus) {
+ contains(CONFIG, qdbus) {
message(DBus: enabled)
- CONFIG += qdbus
SOURCES += src/notifications_dbus.cpp \
src/qdbus_adaptor.cpp
HEADERS += src/qdbus_adaptor.h
DEFINES += WITH_DBUS
}
else {
- message(DBus: disabled (Qt is not compiled with dbus support))
+ message(DBus: disabled)
SOURCES += src/notifications_nodbus.cpp
}
}
@@ -253,6 +252,7 @@
translations.commands = lrelease $$TRANSLATIONS
translations.files = lang/cs_CZ.qm lang/de_DE.qm lang/es_ES.qm lang/fr_FR.qm lang/it_IT.qm lang/nl_NL.qm lang/nn_NO.qm lang/no_NO.qm lang/pt_BR.qm lang/ru_RU.qm lang/sv_SE.qm lang/tr_TR.qm lang/uk_UA.qm lang/zh_CN.qm lang/zh_TW.qm
translations.path = $$PREFIX/share/QMPDClient/translations
+translations.CONFIG += no_check_exist
INSTALLS += translations