1
0
Fork 0
VideoPlayer/KittehPlayer.pro

38 lines
768 B
Prolog
Raw Normal View History

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
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
PKGCONFIG += mpv
2018-10-13 15:38:31 +01:00
RESOURCES += src/qml/qml.qrc
unix {
isEmpty {
2018-10-13 15:38:31 +01:00
PREFIX = /usr
}
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
HEADERS += src/MpvPlayerBackend.h src/utils.hpp
2018-10-13 15:38:31 +01:00
DISTFILES += KittehPlayer.desktop KittehPlayer.png README.md LICENSE.txt