diff --git a/frameworks/qt5/qt5serialbus/Makefile b/frameworks/qt5/qt5serialbus/Makefile new file mode 100644 index 00000000..615c34d4 --- /dev/null +++ b/frameworks/qt5/qt5serialbus/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2020 OpenWrt +# Author: Mirko Vogt +# Author: Tito Brasolin +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=qt5serialbus +PKG_RELEASE:=1 +PKG_HASH:=8d600747367532ed563e75b8ace8dc2e4e4fca9280a964281b2a1ad49e0eeab6 + +PKG_BUILD_DEPENDS:=qt5base + +include ../common.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../qmake.mk + +define Package/qt5serialbus + SECTION:=video-frameworks + CATEGORY:=Video + SUBMENU:=Frameworks and Toolkits + TITLE:=qt5serialbus + URL:=http://qt.io + DEPENDS:=+qt5base-network +qt5serialport +endef + +define Build/InstallDev + $(call Build/Install/HostFiles,$(1)) + $(call Build/Install/Headers,$(1)) + $(call Build/Install/Libs,$(1),*) +endef + +define Package/qt5serialbus/install + $(call Build/Install/Libs,$(1),libQt5SerialBus) +endef + +$(eval $(call BuildPackage,qt5serialbus)) diff --git a/frameworks/qt5/qt5serialport/Makefile b/frameworks/qt5/qt5serialport/Makefile new file mode 100644 index 00000000..a2c12ca6 --- /dev/null +++ b/frameworks/qt5/qt5serialport/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2020 OpenWrt +# Author: Mirko Vogt +# Author: Tito Brasolin +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=qt5serialport +PKG_RELEASE:=1 +PKG_HASH:=e139718f7ace082a69fc65762178ce959d7827a8e87be9773555a6c649154ebc + +PKG_BUILD_DEPENDS:=qt5base + +include ../common.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk +include ../qmake.mk + +define Package/qt5serialport + SECTION:=video-frameworks + CATEGORY:=Video + SUBMENU:=Frameworks and Toolkits + TITLE:=qt5serialport + URL:=http://qt.io + DEPENDS:=+qt5base-core +endef + +define Build/InstallDev + $(call Build/Install/HostFiles,$(1)) + $(call Build/Install/Headers,$(1)) + $(call Build/Install/Libs,$(1),*) +endef + +define Package/qt5serialport/install + $(call Build/Install/Libs,$(1),libQt5SerialPort) +endef + +$(eval $(call BuildPackage,qt5serialport))