qt5: update to 5.15.0 (LTS release)
[feed/video.git] / frameworks / qt5graphicaleffects / Makefile
1 #
2 # Copyright (C) 2020 OpenWrt
3 # Author: Mirko Vogt <mirko-openwrt@nanl.de>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=qt5graphicaleffects
11 PKG_VERSION:=5.15.0
12 PKG_RELEASE:=1
13 PKG_HASH:=0d2ea4bc73b9df13a4b739dcbc1e3c7b298c7e682f7f9252b232e3bde7b63eda
14
15 PKG_SYS_NAME:=qtgraphicaleffects-everywhere-src-$(PKG_VERSION)
16 PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
17 PKG_SOURCE_URL:=https://download.qt.io/official_releases/qt/$(basename $(PKG_VERSION))/$(PKG_VERSION)/submodules
18
19 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_SYS_NAME)
20 PKG_BUILD_PARALLEL:=1
21 PKG_BUILD_DEPENDS:=qt5base
22 PKG_INSTALL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/nls.mk
26 -include $(STAGING_DIR)/host/mk/qmake.mk
27
28 define Package/qt5graphicaleffects
29 SECTION:=video-frameworks
30 CATEGORY:=Video
31 SUBMENU:=Frameworks and Toolkits
32 TITLE:=qt5graphicaleffects
33 URL:=http://qt.io
34 MAINTAINER:=Mirko Vogt <mirko-openwrt@nanl.de>
35 DEPENDS:=+qt5quick2-quick @BROKEN # depends on GL support, but currently we only support software rendering
36 endef
37
38 define Build/InstallDev
39 endef
40
41 define Package/qt5graphicaleffects/install
42 $(INSTALL_DIR) \
43 $(1)/usr/lib/qt5/qml/QtGraphicalEffects
44
45 $(CP) \
46 $(PKG_INSTALL_DIR)/usr/lib/qt5/qml/QtGraphicalEffects/* \
47 $(1)/usr/lib/qt5/qml/QtGraphicalEffects/
48 endef
49
50 $(eval $(call BuildPackage,qt5graphicaleffects))