diff options
Diffstat (limited to 'package/qt5/qt5jsbackend')
-rw-r--r-- | package/qt5/qt5jsbackend/Config.in | 19 | ||||
-rw-r--r-- | package/qt5/qt5jsbackend/qt5jsbackend-0001-dont-import-bz2-python-module.patch | 29 | ||||
-rw-r--r-- | package/qt5/qt5jsbackend/qt5jsbackend.mk | 40 |
3 files changed, 0 insertions, 88 deletions
diff --git a/package/qt5/qt5jsbackend/Config.in b/package/qt5/qt5jsbackend/Config.in deleted file mode 100644 index d9301d0976..0000000000 --- a/package/qt5/qt5jsbackend/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_QT5JSBACKEND_AVAILABLE - bool - # v8 is only available on certain architectures - depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel - # ARM needs BLX, so v5t+ - depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_fa526) - default y - -config BR2_PACKAGE_QT5JSBACKEND - bool "qt5jsbackend" - select BR2_PACKAGE_QT5BASE - depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt5jsbackend module. - - http://qt-project.org diff --git a/package/qt5/qt5jsbackend/qt5jsbackend-0001-dont-import-bz2-python-module.patch b/package/qt5/qt5jsbackend/qt5jsbackend-0001-dont-import-bz2-python-module.patch deleted file mode 100644 index 08f343e5ea..0000000000 --- a/package/qt5/qt5jsbackend/qt5jsbackend-0001-dont-import-bz2-python-module.patch +++ /dev/null @@ -1,29 +0,0 @@ -Only import bz2 python module when needed - -The js2c.py script imports the bz2 module unconditionnally, which -would require us to build the bzip2 support in host-python. Since in -fact bzip2 support is not technically used when building this package, -we ensure that the bz2 module is only imported when needed. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/src/3rdparty/v8/tools/js2c.py -=================================================================== ---- a/src/3rdparty/v8/tools/js2c.py -+++ b/src/3rdparty/v8/tools/js2c.py -@@ -33,7 +33,6 @@ - - import os, re, sys, string - import jsmin --import bz2 - - - def ToCAsciiArray(lines): -@@ -344,6 +343,7 @@ - else: - raw_sources_declaration = RAW_SOURCES_COMPRESSION_DECLARATION - if env['COMPRESSION'] == 'bz2': -+ import bz2 - all_sources = bz2.compress("".join(all_sources)) - total_length = len(all_sources) - sources_data = ToCArray(all_sources) diff --git a/package/qt5/qt5jsbackend/qt5jsbackend.mk b/package/qt5/qt5jsbackend/qt5jsbackend.mk deleted file mode 100644 index 9eccd23e53..0000000000 --- a/package/qt5/qt5jsbackend/qt5jsbackend.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# qt5jsbackend -# -################################################################################ - -QT5JSBACKEND_VERSION = $(QT5_VERSION) -QT5JSBACKEND_SITE = $(QT5_SITE) -QT5JSBACKEND_SOURCE = qtjsbackend-opensource-src-$(QT5JSBACKEND_VERSION).tar.xz -QT5JSBACKEND_DEPENDENCIES = qt5base -QT5JSBACKEND_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y) -QT5JSBACKEND_LICENSE = LGPLv2.1 or GPLv3.0 -QT5JSBACKEND_LICENSE_FILES = LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt -else -QT5JSBACKEND_LICENSE = Commercial license -QT5JSBACKEND_REDISTRIBUTE = NO -endif - -define QT5JSBACKEND_CONFIGURE_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/qmake) -endef - -define QT5JSBACKEND_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define QT5JSBACKEND_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install - $(QT5_LA_PRL_FILES_FIXUP) -endef - -ifeq ($(BR2_PREFER_STATIC_LIB),) -define QT5JSBACKEND_INSTALL_TARGET_CMDS - cp -dpf $(STAGING_DIR)/usr/lib/libQt5V8*.so.* $(TARGET_DIR)/usr/lib -endef -endif - -$(eval $(generic-package)) |