-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgoldfinch.pro
executable file
·148 lines (130 loc) · 4.46 KB
/
goldfinch.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#/***************************************************************************
# * Project created by QtCreator 2018-06-01T17:15:24 *
# * *
# * goldfinch Copyright (C) 2014 AbouZakaria <yahiaui@gmail.com> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation; either version 3 of the License, or *
# * (at your option) any later version. *
# * *
# * 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 General Public License *
# * along with this program; if not, write to the *
# * Free Software Foundation, Inc., *
# * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
# ***************************************************************************/
QT += core gui multimedia sql
#Qt +=multimediawidgets
win32{
QT +=winextras
}else{
QT +=dbus
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
#packagesExist (taglib)
exists(/usr/lib/libtag*){
message( "Configuring for libtag..." )
LIBS += $(SUBLIBS) -L/usr/lib -ltag -ltag_c
DEFINES += USE_LIB_TAG
SOURCES += tagid.cpp
HEADERS += tagid.h
}
TARGET =goldfinch
DESTDIR = usr/bin
TEMPLATE = app
CONFIG += qt \
release
CONFIG += thread
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
main.cpp \
mainwindow.cpp \
database.cpp \
mylistmodel.cpp \
treeviewcontent.cpp \
listview.cpp \
listitemdelegate.cpp \
tumb.cpp \
mediaupdate.cpp \
playlistmodel.cpp \
playercontrols.cpp \
player.cpp \
listeditor.cpp \
widgetplaylist.cpp \
mycontentmodel.cpp \
treeitemdelegate.cpp \
setting.cpp \
treeviewaudio.cpp \
widgetimageinfo.cpp \
dialogopen.cpp \
player_adaptor.cpp \
dialogoptions.cpp \
slider.cpp \
propertiesfile.cpp \
searchbar.cpp \
actions.cpp
HEADERS += \
mainwindow.h \
database.h \
mylistmodel.h \
defines.h \
treeviewcontent.h \
listview.h \
listitemdelegate.h \
tumb.h \
mediaupdate.h \
playlistmodel.h \
playercontrols.h \
player.h \
listeditor.h \
widgetplaylist.h \
mycontentmodel.h \
treeitemdelegate.h \
setting.h \
treeviewaudio.h \
widgetimageinfo.h \
dialogopen.h \
player_adaptor.h \
dialogoptions.h \
slider.h \
propertiesfile.h \
searchbar.h \
actions.h
FORMS += \
mainwindow.ui \
dialogopen.ui \
dialogoptions.ui \
propertiesfile.ui
RESOURCES += \
icons.qrc
TRANSLATIONS =usr/share/goldfinch/translations/ar/goldfinch.ts\
usr/share/goldfinch/translations/fr/goldfinch.ts\
usr/share/goldfinch/translations/en/goldfinch.ts
#------------ INSTTALL ---------------
translations.files=usr/share/goldfinch/translations/*
translations.path=/usr/share/goldfinch/translations
desktop.files=goldfinch.desktop
desktop.path =/usr/share/applications
icons.files =icons/icons/hicolor/*
icons.path =/usr/share/icons/hicolor
target.path =/usr/bin
INSTALLS +=target \
icons \
desktop \
translations