diff options
author | Ken Moore <moorekou@gmail.com> | 2014-09-14 08:56:36 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2014-09-14 08:56:36 -0400 |
commit | 97a31dc646c99e2af6b89f9f9b6accb1162d8481 (patch) | |
tree | 2143b74e173ec70ad024390930f5f79bb649174c | |
parent | Merge pull request #7 from ajacoutot/openbsd (diff) | |
parent | Fix path to lrelease on OpenBSD. (diff) | |
download | lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.gz lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.bz2 lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.zip |
Merge pull request #8 from ajacoutot/openbsd2
Fix path to lrelease on OpenBSD.
-rw-r--r-- | lumina-config/lumina-config.pro | 9 | ||||
-rw-r--r-- | lumina-desktop/lumina-desktop.pro | 7 | ||||
-rw-r--r-- | lumina-fm/lumina-fm.pro | 9 | ||||
-rw-r--r-- | lumina-open/lumina-open.pro | 8 | ||||
-rw-r--r-- | lumina-screenshot/lumina-screenshot.pro | 9 |
5 files changed, 37 insertions, 5 deletions
diff --git a/lumina-config/lumina-config.pro b/lumina-config/lumina-config.pro index 3970a7a9..92b38b0a 100644 --- a/lumina-config/lumina-config.pro +++ b/lumina-config/lumina-config.pro @@ -27,6 +27,13 @@ linux-g++-64 { } else { LIBS += -L../libLumina -lLuminaUtils -lQtSolutions_SingleApplication-head } + +openbsd-g++4 { + LRELEASE = lrelease4 +} else { + LRELEASE = lrelease-qt4 +} + QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina @@ -94,6 +101,6 @@ TRANSLATIONS = i18n/lumina-config_af.ts \ i18n/lumina-config_zu.ts dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ INSTALLS += target dotrans diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro index 885e914c..edc63010 100644 --- a/lumina-desktop/lumina-desktop.pro +++ b/lumina-desktop/lumina-desktop.pro @@ -10,6 +10,11 @@ DEPENDPATH += ../libLumina TEMPLATE = app +openbsd-g++4 { + LRELEASE = lrelease4 +} else { + LRELEASE = lrelease-qt4 +} SOURCES += main.cpp \ WMProcess.cpp \ @@ -170,6 +175,6 @@ TRANSLATIONS = i18n/lumina-desktop_af.ts \ i18n/lumina-desktop_zu.ts dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ INSTALLS += target desktop icons wallpapers defaults dotrans diff --git a/lumina-fm/lumina-fm.pro b/lumina-fm/lumina-fm.pro index 0895ad58..6b533029 100644 --- a/lumina-fm/lumina-fm.pro +++ b/lumina-fm/lumina-fm.pro @@ -29,6 +29,13 @@ linux-g++-64 { } else { LIBS += -L../libLumina -lLuminaUtils -lQtSolutions_SingleApplication-head } + +openbsd-g++4 { + LRELEASE = lrelease4 +} else { + LRELEASE = lrelease-qt4 +} + QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina @@ -96,7 +103,7 @@ TRANSLATIONS = i18n/lumina-fm_af.ts \ i18n/lumina-fm_zu.ts dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ desktop.files=lumina-fm.desktop desktop.path=/usr/local/share/applications/ diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro index 5dd0e608..34e76d54 100644 --- a/lumina-open/lumina-open.pro +++ b/lumina-open/lumina-open.pro @@ -20,6 +20,12 @@ LIBS += -L../libLumina -lLuminaUtils QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina +openbsd-g++4 { + LRELEASE = lrelease4 +} else { + LRELEASE = lrelease-qt4 +} + TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_ar.ts \ i18n/lumina-open_az.ts \ @@ -84,6 +90,6 @@ TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_zu.ts dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ INSTALLS += target dotrans diff --git a/lumina-screenshot/lumina-screenshot.pro b/lumina-screenshot/lumina-screenshot.pro index 2d046dcd..7f0911c3 100644 --- a/lumina-screenshot/lumina-screenshot.pro +++ b/lumina-screenshot/lumina-screenshot.pro @@ -20,6 +20,13 @@ linux-g++-64 { } else { LIBS += -L../libLumina -lLuminaUtils -lQtSolutions_SingleApplication-head } + +openbsd-g++4 { + LRELEASE = lrelease4 +} else { + LRELEASE = lrelease-qt4 +} + QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina @@ -87,7 +94,7 @@ TRANSLATIONS = i18n/lumina-screenshot_af.ts \ i18n/lumina-screenshot_zu.ts dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ desktop.files=lumina-screenshot.desktop desktop.path=/usr/local/share/applications/ |