mirror of https://git.wownero.com/dsc/mxe.git
Add qscintilla2 editor component (Qt5).
This commit is contained in:
parent
43611e46a1
commit
0a27922a5c
|
@ -2077,6 +2077,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">qjson</td>
|
||||
<td class="website"><a href="http://qjson.sourceforge.net/">QJson</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">qscintilla2</td>
|
||||
<td class="website"><a href="http://www.riverbankcomputing.com/software/qscintilla/intro">QScintilla2</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">qt</td>
|
||||
<td class="website"><a href="http://qt-project.org/">Qt</a></td>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := qscintilla2
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.8.2
|
||||
$(PKG)_CHECKSUM := cfb24bfec54ea869bc3a326b9a935fc25aea7bec
|
||||
$(PKG)_SUBDIR := QScintilla-gpl-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := QScintilla-gpl-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://downloads.sourceforge.net/project/pyqt/QScintilla2/QScintilla-$($(PKG)_VERSION)/$($(PKG)_FILE)?r=http%3A%2F%2Fwww.riverbankcomputing.com%2Fsoftware%2Fqscintilla%2Fdownload&ts=1402598406&use_mirror=freefr
|
||||
|
||||
$(PKG)_DEPS := gcc qt5
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.riverbankcomputing.com/software/qscintilla/download' | \
|
||||
grep QScintilla-gpl | \
|
||||
head -n 1 | \
|
||||
$(SED) -n 's,.*QScintilla-gpl-\([0-9][^>]*\)\.zip.*,\1,p'
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)/Qt4Qt5' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' qscintilla.pro
|
||||
$(MAKE) -C '$(1)/Qt4Qt5' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)/Qt4Qt5' -j '$(JOBS)' install
|
||||
endef
|
Loading…
Reference in New Issue