qt: build lrelease for host usage

The original patch comes from gnu-octave:
http://savannah.gnu.org/bugs/download.php?file_id=28078
This commit is contained in:
Henning Heinold 2014-07-15 10:10:42 +02:00 committed by Henning Heinold
parent a8d49c6a34
commit a323414bc6
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j 1 install
ln -sf '$(PREFIX)/$(TARGET)/qt/bin/qmake' '$(PREFIX)/bin/$(TARGET)'-qmake-qt4
# lrelease (from linguist) needed to prepare translation files
$(MAKE) -C '$(1)/tools/linguist/lrelease' -j '$(JOBS)' install
ln -fs '$(PREFIX)/$(TARGET)/bin/lrelease' '$(PREFIX)/bin/$(TARGET)-lrelease'
cd '$(1)/tools/assistant' && '$(1)/bin/qmake' assistant.pro
# can't figure out where -lQtCLucene comes from so use
# sed on the output instead of patching the input