-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvideo-mixer.pro
47 lines (40 loc) · 1.48 KB
/
video-mixer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright (C) 2015-2018 Softus Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; version 2.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
lessThan(QT_MAJOR_VERSION, 5): error (QT 5.0 or newer is required)
isEmpty(PREFIX): PREFIX = /usr/local
QT -= gui
CONFIG += console link_pkgconfig c++11
CONFIG -= app_bundle
PKGCONFIG += Qt5GLib-2.0 Qt5GStreamer-1.0 Qt5GStreamerUi-1.0 gstreamer-1.0
TARGET = video-mixer
TEMPLATE = app
OS_DISTRO = $$lower($$system($$quote('lsb_release -is | cut -d" " -f1')))
SOURCES += src/main.cpp \
src/mixer.cpp
HEADERS += \
src/mixer.h
target.path = $$PREFIX/bin
man.files = video-mixer.1
man.path = $$PREFIX/share/man/man1
cfg.files=video-mixer.conf
cfg.path=/etc/xdg/softus.org
syslog.files=99-video-mixer.conf
syslog.path=/etc/rsyslog.d
systemd.files=video-mixer.service
equals(OS_DISTRO, debian) | equals(OS_DISTRO, ubuntu) {
systemd.path=/lib/systemd/system
} else {
systemd.path=/usr/lib/systemd/system
}
INSTALLS += target man cfg systemd syslog