2018-10-13 15:38:31 +01:00
|
|
|
TARGET = KittehPlayer
|
|
|
|
|
|
|
|
TEMPLATE = app
|
2018-11-07 07:42:47 +00:00
|
|
|
QT += qml quickcontrols2 widgets x11extras
|
|
|
|
|
2018-11-07 11:10:38 +00:00
|
|
|
SOURCES += src/main.cpp src/MpvPlayerBackend.cpp src/utils.cpp
|
2018-10-13 15:38:31 +01:00
|
|
|
|
2018-11-10 13:32:54 +00:00
|
|
|
CONFIG += 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-11-07 11:10:38 +00:00
|
|
|
PKGCONFIG += mpv
|
2018-10-13 15:38:31 +01:00
|
|
|
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
|
|
|
|
}
|
2018-11-07 11:10:38 +00:00
|
|
|
PKGCONFIG += x11 xext
|
2018-10-13 15:38:31 +01:00
|
|
|
|
|
|
|
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-11-07 11:10:38 +00:00
|
|
|
HEADERS += src/MpvPlayerBackend.h src/utils.hpp
|
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
|