35 lines
690 B
Prolog
35 lines
690 B
Prolog
|
TARGET = KittehPlayer
|
||
|
|
||
|
TEMPLATE = app
|
||
|
QT += qml quickcontrols2 widgets
|
||
|
|
||
|
SOURCES += src/main.cpp src/mpvobject.cpp
|
||
|
|
||
|
QT_CONFIG -= no-pkg-config
|
||
|
CONFIG += link_pkgconfig release
|
||
|
PKGCONFIG += mpv
|
||
|
|
||
|
RESOURCES += src/qml/qml.qrc
|
||
|
|
||
|
unix {
|
||
|
isEmpty(PREFIX) {
|
||
|
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
|
||
|
|
||
|
HEADERS += src/main.h src/mpvobject.h src/config.h
|
||
|
|
||
|
|
||
|
DISTFILES += KittehPlayer.desktop KittehPlayer.png README.md LICENSE.txt
|