File: deepin-voice-recorder.pro

package info (click to toggle)
deepin-voice-recorder 1.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,236 kB
  • sloc: cpp: 1,829; makefile: 13
file content (93 lines) | stat: -rw-r--r-- 2,532 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
######################################################################
# Automatically generated by qmake (3.0) ?? 2? 4 17:49:37 2017
######################################################################

TEMPLATE = app
TARGET = deepin-voice-recorder
INCLUDEPATH += .

CONFIG += link_pkgconfig
CONFIG += c++11 
PKGCONFIG += dtkwidget libavformat libavcodec libavutil
RESOURCES = deepin-voice-recorder.qrc

# Input
HEADERS += src/toolbar.h \
           src/utils.h \
           src/home_page.h \
           src/expand_animation_button.h \
           src/shrank_animation_button.h \
           src/record_page.h \
           src/main_window.h \
           src/list_page.h \
		   src/waveform.h \
           src/recording_button.h \
           src/file_view.h \
           src/label.h \
           src/file_item.h \
           src/line_edit.h
		   
SOURCES += src/main.cpp \
		   src/toolbar.cpp \
		   src/utils.cpp \
		   src/home_page.cpp \
           src/expand_animation_button.cpp \
           src/shrank_animation_button.cpp \
		   src/record_page.cpp \
		   src/main_window.cpp \
		   src/list_page.cpp \
		   src/waveform.cpp  \
		   src/recording_button.cpp \
		   src/file_view.cpp \
		   src/label.cpp \
		   src/file_item.cpp \
		   src/line_edit.cpp

QT += core
QT += widgets
QT += gui
QT += multimedia

QMAKE_CXXFLAGS += -g

isEmpty(BINDIR):BINDIR=/usr/bin
isEmpty(ICONDIR):ICONDIR=/usr/share/icons/hicolor/scalable/apps
isEmpty(APPDIR):APPDIR=/usr/share/applications
isEmpty(DSRDIR):DSRDIR=/usr/share/deepin-voice-recorder
isEmpty(DOCDIR):DOCDIR=/usr/share/dman/deepin-voice-recorder

target.path = $$INSTROOT$$BINDIR
icon.path = $$INSTROOT$$ICONDIR
desktop.path = $$INSTROOT$$APPDIR
translations.path = $$INSTROOT$$DSRDIR/translations
manual.path = $$INSTROOT$$DOCDIR

icon.files = image/deepin-voice-recorder.svg
desktop.files = deepin-voice-recorder.desktop
manual.files = manual/*

INSTALLS += target icon desktop manual

isEmpty(TRANSLATIONS) {
     include(translations.pri)

}

TRANSLATIONS_COMPILED = $$TRANSLATIONS
TRANSLATIONS_COMPILED ~= s/\.ts/.qm/g

translations.files = $$TRANSLATIONS_COMPILED
INSTALLS += translations
CONFIG *= update_translations release_translations

CONFIG(update_translations) {
    isEmpty(lupdate):lupdate=lupdate
    system($$lupdate -no-obsolete -locations none $$_PRO_FILE_)
}
CONFIG(release_translations) {
    isEmpty(lrelease):lrelease=lrelease
    system($$lrelease $$_PRO_FILE_)
}

DSR_LANG_PATH += $$DSRDIR/translations
DEFINES += "DSR_LANG_PATH=\\\"$$DSR_LANG_PATH\\\""