aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2014-09-14 08:56:36 -0400
committerKen Moore <moorekou@gmail.com>2014-09-14 08:56:36 -0400
commit97a31dc646c99e2af6b89f9f9b6accb1162d8481 (patch)
tree2143b74e173ec70ad024390930f5f79bb649174c /lumina-fm
parentMerge pull request #7 from ajacoutot/openbsd (diff)
parentFix path to lrelease on OpenBSD. (diff)
downloadlumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.gz
lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.bz2
lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.zip
Merge pull request #8 from ajacoutot/openbsd2
Fix path to lrelease on OpenBSD.
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/lumina-fm.pro9
1 files changed, 8 insertions, 1 deletions
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/
bgstack15