add qt5graphicaleffects
authorMirko Vogt <mirko-dev@nanl.de>
Thu, 24 Nov 2016 14:17:18 +0000 (15:17 +0100)
committerMirko Vogt <mirko-dev@nanl.de>
Thu, 24 Nov 2016 14:19:17 +0000 (15:19 +0100)
frameworks/qt5graphicaleffects/Makefile [new file with mode: 0644]

diff --git a/frameworks/qt5graphicaleffects/Makefile b/frameworks/qt5graphicaleffects/Makefile
new file mode 100644 (file)
index 0000000..faed1fc
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Copyright (C) 2016 OpenWrt
+# Author: Mirko Vogt <mirko@openwrt.org>
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=qt5graphicaleffects
+PKG_VERSION:=5.8.0-beta
+PKG_RELEASE:=1
+PKG_MD5SUM:=802b257bc0139805df5c946b63c42f9b
+
+PKG_SYS_NAME:=qtgraphicaleffects-opensource-src-$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_SYS_NAME).tar.xz
+PKG_SOURCE_URL:=http://download.qt-project.org/development_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/qt5graphicaleffects
+  SECTION:=video-frameworks
+  CATEGORY:=Video
+  SUBMENU:=Frameworks and Toolkits
+  TITLE:=qt5graphicaleffects
+  URL:=http://qt.io
+  MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
+  DEPENDS:=+qt5quick2-quick
+endef
+
+define Build/Configure
+       $(call Build/Configure/Default,qtgraphicaleffects)
+endef
+
+define Build/InstallDev
+endef
+
+define Package/qt5graphicaleffects/install
+       $(INSTALL_DIR) \
+         $(1)/usr/lib/qt5/qml/QtGraphicalEffects
+
+       $(CP) \
+         $(PKG_INSTALL_DIR)/usr/lib/qt5/qml/QtGraphicalEffects/* \
+         $(1)/usr/lib/qt5/qml/QtGraphicalEffects/
+endef
+
+$(eval $(call BuildPackage,qt5graphicaleffects))