kenzok8-package/qt6tools/Makefile
2024-12-02 20:42:43 +08:00

51 lines
1.1 KiB
Makefile

#
# Copyright (C) 2019 Openwrt.org
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
PKG_NAME:=qt6tools
PKG_VERSION:=6.8.1
PKG_RELEASE:=1
PKG_SOURCE:=qttools-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/qt/qttools/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=d3e1fb2e07bbbffb67475b36f9bb2785dfe37f202d9585bbf4334043296d92c6
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/qttools-$(PKG_VERSION)
HOST_BUILD_DEPENDS:=qt6base/host
HOST_BUILD_PARALLEL:=1
PKG_HOST_ONLY:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/qt6tools
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Qt6
TITLE:=Qt6 Tools
URL:=http://qt-project.org
BUILDONLY:=1
endef
CMAKE_HOST_OPTIONS+= \
-DINPUT_assistant=no \
-DINPUT_designer=no \
-DINPUT_clang=no \
-DINPUT_distancefieldgenerator=no \
-DINPUT_kmap2qmap=no \
-DINPUT_pixeltool=no \
-DINPUT_qdbus=no \
-DINPUT_qev=no \
-DINPUT_qtattributionsscanner=no \
-DINPUT_qtplugininfo=no \
-DINPUT_qtdiag=no
$(eval $(call BuildPackage,qt6tools))
$(eval $(call HostBuild))