You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := qscintilla2
|
|
$(PKG)_WEBSITE := http://www.riverbankcomputing.com/software/qscintilla/intro
|
|
$(PKG)_DESCR := QScintilla2
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 2.8.4
|
|
$(PKG)_CHECKSUM := 9b7b2d7440cc39736bbe937b853506b3bd218af3b79095d4f710cccb0fabe80f
|
|
$(PKG)_SUBDIR := QScintilla-gpl-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := QScintilla-gpl-$($(PKG)_VERSION).tar.gz
|
|
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pyqt/QScintilla2/QScintilla-$($(PKG)_VERSION)/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc qtbase
|
|
|
|
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
|
|
|
|
'$(TARGET)-g++' \
|
|
-W -Wall -Werror -std=c++0x -pedantic \
|
|
`'$(TARGET)-pkg-config' Qt5Widgets --cflags` \
|
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-qscintilla2.exe' -lqscintilla2 \
|
|
`'$(TARGET)-pkg-config' Qt5Widgets --libs`
|
|
endef
|