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-04 15:11:50 +00:00
|
|
|
SOURCES += src/main.cpp src/MpvPlayerBackend.cpp
|
2018-10-13 15:38:31 +01:00
|
|
|
|
2018-10-30 09:06:47 +00:00
|
|
|
CONFIG += release
|
2018-10-29 16:12:19 +00:00
|
|
|
#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 07:42:47 +00:00
|
|
|
PKGCONFIG += mpv x11 xext
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
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-04 15:11:50 +00:00
|
|
|
HEADERS += src/MpvPlayerBackend.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
|