diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-21 12:46:48 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-21 12:46:48 -0400 |
commit | 52ae5fc0a07d596d781834f0b4bcc70744f84dc5 (patch) | |
tree | 688d80e6a027a1a2396840fef77b59d816141ebf /lumina-fileinfo/lumina-fileinfo.pro | |
parent | Remove lumina-fileinfo from the overall build (lumina.pro) until it gets test... (diff) | |
download | lumina-52ae5fc0a07d596d781834f0b4bcc70744f84dc5.tar.gz lumina-52ae5fc0a07d596d781834f0b4bcc70744f84dc5.tar.bz2 lumina-52ae5fc0a07d596d781834f0b4bcc70744f84dc5.zip |
Clean up the new lumina-fileinfo utility.
1) Get it setup for translations
2) Update the project file to work with all the Lumina defines/locations
3) Remove the registration of the *.desktop shortcut (CLI requirements, not a stand-alone app)
4) Clean up the icon/theme usage so if the icon theme gets changed it will be updated in the utility right away.
Diffstat (limited to 'lumina-fileinfo/lumina-fileinfo.pro')
-rw-r--r-- | lumina-fileinfo/lumina-fileinfo.pro | 84 |
1 files changed, 79 insertions, 5 deletions
diff --git a/lumina-fileinfo/lumina-fileinfo.pro b/lumina-fileinfo/lumina-fileinfo.pro index 9524f9ef..b691799b 100644 --- a/lumina-fileinfo/lumina-fileinfo.pro +++ b/lumina-fileinfo/lumina-fileinfo.pro @@ -30,11 +30,85 @@ FORMS += dialog.ui RESOURCES+= lumina-fileinfo.qrc -INCLUDEPATH += $$PREFIX/include +INCLUDEPATH += ../libLumina $$PREFIX/include -LIBS += -L$$LIBPREFIX -lLuminaUtils +LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -desktop.files=lumina-search.desktop -desktop.path=$$PREFIX/share/applications/ +isEmpty(QT5LIBDIR) { + QT5LIBDIR = $$PREFIX/lib/qt5 +} + +LRELEASE = $$QT5LIBDIR/bin/lrelease + + +QMAKE_LIBDIR = ../libLumina +DEPENDPATH += ../libLumina + + +TRANSLATIONS = i18n/lumina-fileinfo_af.ts \ + i18n/lumina-fileinfo_ar.ts \ + i18n/lumina-fileinfo_az.ts \ + i18n/lumina-fileinfo_bg.ts \ + i18n/lumina-fileinfo_bn.ts \ + i18n/lumina-fileinfo_bs.ts \ + i18n/lumina-fileinfo_ca.ts \ + i18n/lumina-fileinfo_cs.ts \ + i18n/lumina-fileinfo_cy.ts \ + i18n/lumina-fileinfo_da.ts \ + i18n/lumina-fileinfo_de.ts \ + i18n/lumina-fileinfo_el.ts \ + i18n/lumina-fileinfo_en_GB.ts \ + i18n/lumina-fileinfo_en_ZA.ts \ + i18n/lumina-fileinfo_es.ts \ + i18n/lumina-fileinfo_et.ts \ + i18n/lumina-fileinfo_eu.ts \ + i18n/lumina-fileinfo_fa.ts \ + i18n/lumina-fileinfo_fi.ts \ + i18n/lumina-fileinfo_fr.ts \ + i18n/lumina-fileinfo_fr_CA.ts \ + i18n/lumina-fileinfo_gl.ts \ + i18n/lumina-fileinfo_he.ts \ + i18n/lumina-fileinfo_hi.ts \ + i18n/lumina-fileinfo_hr.ts \ + i18n/lumina-fileinfo_hu.ts \ + i18n/lumina-fileinfo_id.ts \ + i18n/lumina-fileinfo_is.ts \ + i18n/lumina-fileinfo_it.ts \ + i18n/lumina-fileinfo_ja.ts \ + i18n/lumina-fileinfo_ka.ts \ + i18n/lumina-fileinfo_ko.ts \ + i18n/lumina-fileinfo_lt.ts \ + i18n/lumina-fileinfo_lv.ts \ + i18n/lumina-fileinfo_mk.ts \ + i18n/lumina-fileinfo_mn.ts \ + i18n/lumina-fileinfo_ms.ts \ + i18n/lumina-fileinfo_mt.ts \ + i18n/lumina-fileinfo_nb.ts \ + i18n/lumina-fileinfo_nl.ts \ + i18n/lumina-fileinfo_pa.ts \ + i18n/lumina-fileinfo_pl.ts \ + i18n/lumina-fileinfo_pt.ts \ + i18n/lumina-fileinfo_pt_BR.ts \ + i18n/lumina-fileinfo_ro.ts \ + i18n/lumina-fileinfo_ru.ts \ + i18n/lumina-fileinfo_sk.ts \ + i18n/lumina-fileinfo_sl.ts \ + i18n/lumina-fileinfo_sr.ts \ + i18n/lumina-fileinfo_sv.ts \ + i18n/lumina-fileinfo_sw.ts \ + i18n/lumina-fileinfo_ta.ts \ + i18n/lumina-fileinfo_tg.ts \ + i18n/lumina-fileinfo_th.ts \ + i18n/lumina-fileinfo_tr.ts \ + i18n/lumina-fileinfo_uk.ts \ + i18n/lumina-fileinfo_uz.ts \ + i18n/lumina-fileinfo_vi.ts \ + i18n/lumina-fileinfo_zh_CN.ts \ + i18n/lumina-fileinfo_zh_HK.ts \ + i18n/lumina-fileinfo_zh_TW.ts \ + i18n/lumina-fileinfo_zu.ts + +dotrans.path=$$PREFIX/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/ -INSTALLS += target desktop +INSTALLS += target dotrans |