diff options
author | Antoine Jacoutot <ajacoutot@gnome.org> | 2014-09-14 08:53:52 +0200 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@gnome.org> | 2014-09-14 08:53:52 +0200 |
commit | 87f394794f153124507284adec8bf0ba3357021e (patch) | |
tree | a9f23032c17421390918be6ed96e88e94369361c | |
parent | Clean up the usage/detection of the "URGENT" window status, and also move the... (diff) | |
download | lumina-87f394794f153124507284adec8bf0ba3357021e.tar.gz lumina-87f394794f153124507284adec8bf0ba3357021e.tar.bz2 lumina-87f394794f153124507284adec8bf0ba3357021e.zip |
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/ |