2018-10-13 15:38:31 +01:00
|
|
|
TARGET = KittehPlayer
|
|
|
|
|
|
|
|
TEMPLATE = app
|
2018-10-29 14:19:12 +00:00
|
|
|
QT += qml quickcontrols2 widgets core-private gui-private
|
|
|
|
SOURCES += src/main.cpp src/mpvobject.cpp src/filesavedialog.cpp src/fileopendialog.cpp
|
2018-10-13 15:38:31 +01:00
|
|
|
|
2018-10-29 16:12:19 +00:00
|
|
|
CONFIG += debug
|
|
|
|
CONFIG+=qml_debug
|
|
|
|
|
|
|
|
#CONFIG+=qtquickcompiler
|
2018-10-13 15:38:31 +01:00
|
|
|
QT_CONFIG -= no-pkg-config
|
2018-10-16 07:45:40 +01:00
|
|
|
CONFIG += link_pkgconfig
|
2018-10-13 15:38:31 +01:00
|
|
|
PKGCONFIG += mpv
|
|
|
|
RESOURCES += src/qml/qml.qrc
|
|
|
|
|
|
|
|
unix {
|
2018-10-29 14:19:12 +00:00
|
|
|
isEmpty {
|
2018-10-13 15:38:31 +01:00
|
|
|
PREFIX = /usr
|
|
|
|
}
|
|
|
|
|
|
|
|
target.path = $$PREFIX/bin
|
|
|
|
|
|
|
|
desktop.files = KittehPlayer.desktop
|
|
|
|
desktop.path = $$PREFIX/share/applications/
|
|
|
|
icon.files += KittehPlayer.png
|
|
|
|
icon.path = $$PREFIX/share/icons/hicolor/256x256/apps/
|
|
|
|
|
|
|
|
INSTALLS += desktop
|
|
|
|
INSTALLS += icon
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALLS += target
|
|
|
|
|
2018-10-29 14:19:12 +00:00
|
|
|
HEADERS += src/mpvobject.h src/config.h src/filesavedialog.h src/fileopendialog.h
|
2018-10-13 15:38:31 +01:00
|
|
|
|
|
|
|
|
2018-10-20 19:07:15 +01:00
|
|
|
DISTFILES += KittehPlayer.desktop KittehPlayer.png README.md LICENSE.txt
|