Files
video/frameworks/qt5/qt5quick2-controls2/Makefile

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.16
PKG_RELEASE:=1
PKG_HASH:=6bdc134c7f86dcf0e416d89d96d0d1d1415ea465bceb1f360fb5badf2adcaa16
PKG_SYS_NAME:=qtquickcontrols2-everywhere-src-$(PKG_VERSION)
PKG_SOURCE:=$(subst -src-,-opensource-src-,$(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/qmake5.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))