Files
video/frameworks/qt5quick2-controls2/Makefile
Mirko Vogt 1f37050afa qt5: update to 5.15.0 (LTS release)
This also purges already back then (v5.9) legacy projects, such as Qt
Quick 1 / QML 1.

We also focus on software rendering only for now, postponing dealing
with messy vendor specific GL(ES) APIs, quirks and proprietary / binary
blobs. Implies certain features and packages being unavailable for the
moment.
2020-06-07 23:09:24 +00:00

60 lines
1.6 KiB
Makefile

#
# Copyright (C) 2020 OpenWrt
# Author: Mirko Vogt <mirko-openwrt@nanl.de>
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=qt5quick2-controls2
PKG_VERSION:=5.15.0
PKG_RELEASE:=1
PKG_HASH:=839abda9b58cd8656b2e5f46afbb484e63df466481ace43318c4c2022684648f
PKG_SYS_NAME:=qtquickcontrols2-everywhere-src-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
PKG_SOURCE_URL:=https://download.qt.io/official_releases/qt/$(basename $(PKG_VERSION))/$(PKG_VERSION)/submodules
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_SYS_NAME)
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
-include $(STAGING_DIR)/host/mk/qmake.mk
define Package/qt5quick2-controls2
SECTION:=video-frameworks
CATEGORY:=Video
SUBMENU:=Frameworks and Toolkits
TITLE:=qt5quick2-controls2
URL:=http://qt.io
MAINTAINER:=Mirko Vogt <mirko-openwrt@nanl.de>
DEPENDS:=+qt5quick2-quick
endef
define Build/InstallDev
$(call Build/Install/HostFiles,$(1))
$(call Build/Install/Headers,$(1))
$(call Build/Install/Libs,$(1),*)
endef
define Package/qt5quick2-controls2/install
$(call Build/Install/Libs,$(1),libQt5QuickTemplates2)
$(call Build/Install/Libs,$(1),libQt5QuickControls2)
$(INSTALL_DIR) \
$(1)/usr/lib/qt5/qml/QtQuick
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/qt5/qml/QtQuick/* \
$(1)/usr/lib/qt5/qml/QtQuick/
endef
define Package/qt5quick2-templates2/install
$(call Build/Install/Libs,$(1),libQt5QuickTemplates2)
endef
$(eval $(call BuildPackage,qt5quick2-controls2))