63aadf1009
- qt5canvas3d: update license info - qt5serialbus: update license hash (LICENSE.FDL editorial change, see [1]) - qt5serialport: update license hash (LICENSE.FDL editorial change, see [2]) [1] https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=226bd2f84c807b5401a82832dafa48d34966052a [2] https://code.qt.io/cgit/qt/qtserialport.git/commit/?id=e0bd3949c30ce9c1988a6d6a3c0850d16a1fb33a Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# qt5canvas3d
|
|
#
|
|
################################################################################
|
|
|
|
QT5CANVAS3D_VERSION = $(QT5_VERSION)
|
|
QT5CANVAS3D_SITE = $(QT5_SITE)
|
|
QT5CANVAS3D_SOURCE = qtcanvas3d-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5CANVAS3D_VERSION).tar.xz
|
|
QT5CANVAS3D_DEPENDENCIES = qt5base qt5declarative
|
|
QT5CANVAS3D_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
|
QT5CANVAS3D_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools)
|
|
QT5CANVAS3D_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3
|
|
else
|
|
QT5CANVAS3D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
|
|
QT5CANVAS3D_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3
|
|
endif
|
|
|
|
define QT5CANVAS3D_CONFIGURE_CMDS
|
|
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
|
endef
|
|
|
|
define QT5CANVAS3D_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define QT5CANVAS3D_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
$(QT5_LA_PRL_FILES_FIXUP)
|
|
endef
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
|
define QT5CANVAS3D_INSTALL_TARGET_EXAMPLES
|
|
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/canvas3d $(TARGET_DIR)/usr/lib/qt/examples/
|
|
endef
|
|
endif
|
|
|
|
define QT5CANVAS3D_INSTALL_TARGET_CMDS
|
|
cp -dpfr $(STAGING_DIR)/usr/qml/QtCanvas3D $(TARGET_DIR)/usr/qml/
|
|
$(QT5CANVAS3D_INSTALL_TARGET_EXAMPLES)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|