dbus-soundrecorder/dbus-soundrecorder.pro

55 lines
1.2 KiB
Prolog
Raw Normal View History

2015-12-08 08:34:14 +01:00
# meta data
2015-08-24 03:11:13 +02:00
projectname = dbus-soundrecorder
2015-08-25 19:53:54 +02:00
appname = "D-Bus Sound Recorder"
appauthor = Martchus
appurl = "https://github.com/$${appauthor}/$${projectname}"
2015-09-22 15:42:05 +02:00
QMAKE_TARGET_DESCRIPTION = "Records sound from Pulse Audio with ffmpeg while watching D-Bus to determine tracks and meta information."
2015-10-12 20:34:33 +02:00
VERSION = 1.1.0
2015-08-24 03:11:13 +02:00
# include ../../common.pri when building as part of a subdirs project; otherwise include general.pri
!include(../../common.pri) {
!include(./general.pri) {
error("Couldn't find the common.pri or the general.pri file!")
}
}
2015-12-08 08:34:14 +01:00
# basic configuration: console application
2015-08-24 03:11:13 +02:00
TEMPLATE = app
CONFIG += console
QT += core dbus
2015-12-08 08:34:14 +01:00
# add project files
2015-08-24 03:11:13 +02:00
HEADERS += \
2015-08-25 19:53:54 +02:00
playerwatcher.h \
ffmpeglauncher.h
2015-08-24 03:11:13 +02:00
2015-12-08 08:34:14 +01:00
SOURCES += \
main.cpp \
playerwatcher.cpp \
ffmpeglauncher.cpp
2015-08-24 03:11:13 +02:00
DBUS_INTERFACES += \
org.freedesktop.DBus.Properties.xml \
org.mpris.MediaPlayer2.xml \
org.mpris.MediaPlayer2.Player.xml
2015-12-08 08:34:14 +01:00
OTHER_FILES += \
2015-08-24 03:11:13 +02:00
README.md \
2015-12-08 08:34:14 +01:00
LICENSE \
CMakeLists.txt \
resources/config.h.in \
resources/windows.rc.in
2015-08-24 03:11:13 +02:00
# libs and includepath
CONFIG(debug, debug|release) {
2015-08-26 21:16:46 +02:00
LIBS += -lc++utilitiesd
2015-08-24 03:11:13 +02:00
} else {
2015-08-26 21:16:46 +02:00
LIBS += -lc++utilities
2015-08-24 03:11:13 +02:00
}
# installs
target.path = $$(INSTALL_ROOT)/bin
INSTALLS += target