include("$${PWD}/../../OS-detect.pri") QT += core gui widgets multimedia multimediawidgets svg TARGET = lumina-mediaplayer target.path = $${L_BINDIR} TEMPLATE = app #include all the special classes from the Lumina tree include(../../core/libLumina/LUtils.pri) #includes LUtils include(../../core/libLumina/LuminaXDG.pri) include(../../core/libLumina/LuminaSingleApplication.pri) include(../../core/libLumina/LuminaThemes.pri) SOURCES += main.cpp\ mainUI.cpp \ PianoBarProcess.cpp HEADERS += mainUI.h \ PianoBarProcess.h FORMS += mainUI.ui RESOURCES += extra/resources.qrc TRANSLATIONS = i18n/l-mediap_af.ts \ i18n/l-mediap_ar.ts \ i18n/l-mediap_az.ts \ i18n/l-mediap_bg.ts \ i18n/l-mediap_bn.ts \ i18n/l-mediap_bs.ts \ i18n/l-mediap_ca.ts \ i18n/l-mediap_cs.ts \ i18n/l-mediap_cy.ts \ i18n/l-mediap_da.ts \ i18n/l-mediap_de.ts \ i18n/l-mediap_el.ts \ i18n/l-mediap_en_GB.ts \ i18n/l-mediap_en_ZA.ts \ i18n/l-mediap_en_AU.ts \ i18n/l-mediap_es.ts \ i18n/l-mediap_et.ts \ i18n/l-mediap_eu.ts \ i18n/l-mediap_fa.ts \ i18n/l-mediap_fi.ts \ i18n/l-mediap_fr.ts \ i18n/l-mediap_fr_CA.ts \ i18n/l-mediap_gl.ts \ i18n/l-mediap_he.ts \ i18n/l-mediap_hi.ts \ i18n/l-mediap_hr.ts \ i18n/l-mediap_hu.ts \ i18n/l-mediap_id.ts \ i18n/l-mediap_is.ts \ i18n/l-mediap_it.ts \ i18n/l-mediap_ja.ts \ i18n/l-mediap_ka.ts \ i18n/l-mediap_ko.ts \ i18n/l-mediap_lt.ts \ i18n/l-mediap_lv.ts \ i18n/l-mediap_mk.ts \ i18n/l-mediap_mn.ts \ i18n/l-mediap_ms.ts \ i18n/l-mediap_mt.ts \ i18n/l-mediap_nb.ts \ i18n/l-mediap_nl.ts \ i18n/l-mediap_pa.ts \ i18n/l-mediap_pl.ts \ i18n/l-mediap_pt.ts \ i18n/l-mediap_pt_BR.ts \ i18n/l-mediap_ro.ts \ i18n/l-mediap_ru.ts \ i18n/l-mediap_sk.ts \ i18n/l-mediap_sl.ts \ i18n/l-mediap_sr.ts \ i18n/l-mediap_sv.ts \ i18n/l-mediap_sw.ts \ i18n/l-mediap_ta.ts \ i18n/l-mediap_tg.ts \ i18n/l-mediap_th.ts \ i18n/l-mediap_tr.ts \ i18n/l-mediap_uk.ts \ i18n/l-mediap_uz.ts \ i18n/l-mediap_vi.ts \ i18n/l-mediap_zh_CN.ts \ i18n/l-mediap_zh_HK.ts \ i18n/l-mediap_zh_TW.ts \ i18n/l-mediap_zu.ts dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/ dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/ desktop.files=lumina-mediaplayer.desktop \ lumina-mediaplayer-pandora.desktop desktop.path=$${L_SHAREDIR}/applications/ #link.path=$${L_BINDIR} #link.extra=ln -sf lumina-mediaplayer $(INSTALL_ROOT)$${L_BINDIR}/lplay manpage.path=$${L_MANDIR}/man1/ manpage.extra="$${MAN_ZIP} $$PWD/lumina-mediaplayer.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-mediaplayer.1.gz" INSTALLS += target desktop manpage WITH_I18N{ INSTALLS += dotrans }