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!")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
CONFIG += console
|
|
|
|
|
|
|
|
QT += core dbus
|
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
2015-08-25 19:53:54 +02:00
|
|
|
playerwatcher.cpp \
|
|
|
|
ffmpeglauncher.cpp
|
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
|
|
|
|
|
|
|
DBUS_INTERFACES += \
|
|
|
|
org.freedesktop.DBus.Properties.xml \
|
|
|
|
org.mpris.MediaPlayer2.xml \
|
|
|
|
org.mpris.MediaPlayer2.Player.xml
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
README.md \
|
|
|
|
LICENSE
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|