Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@buildroot.org
Cc: Jesse Van Gavere <jesseevg@gmail.com>,
	Samuel Martin <s.martin49@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v1 2/2] package/qt6/qt6svg: new package
Date: Sun, 19 Mar 2023 11:14:20 +0100	[thread overview]
Message-ID: <20230319101420.9440-2-ps.report@gmx.net> (raw)
In-Reply-To: <20230319101420.9440-1-ps.report@gmx.net>

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/qt6/Config.in          |  1 +
 package/qt6/qt6svg/Config.in   | 11 ++++++++
 package/qt6/qt6svg/qt6svg.hash | 10 +++++++
 package/qt6/qt6svg/qt6svg.mk   | 51 ++++++++++++++++++++++++++++++++++
 4 files changed, 73 insertions(+)
 create mode 100644 package/qt6/qt6svg/Config.in
 create mode 100644 package/qt6/qt6svg/qt6svg.hash
 create mode 100644 package/qt6/qt6svg/qt6svg.mk

diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 655fa8392a..3788caa6a3 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -46,5 +46,6 @@ if BR2_PACKAGE_QT6
 source "package/qt6/qt6base/Config.in"
 source "package/qt6/qt6serialbus/Config.in"
 source "package/qt6/qt6serialport/Config.in"
+source "package/qt6/qt6svg/Config.in"
 
 endif
diff --git a/package/qt6/qt6svg/Config.in b/package/qt6/qt6svg/Config.in
new file mode 100644
index 0000000000..179101c97f
--- /dev/null
+++ b/package/qt6/qt6svg/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_QT6SVG
+	bool "qt6svg"
+	select BR2_PACKAGE_QT6BASE_GUI
+	help
+	  Qt is a cross-platform application and UI framework for
+	  developers using C++.
+
+	  Qt SVG provides classes for rendering and displaying SVG
+	  drawings in widgets and on other paint devices.
+
+	  https://doc.qt.io/qt-6/qtsvg-index.html
diff --git a/package/qt6/qt6svg/qt6svg.hash b/package/qt6/qt6svg/qt6svg.hash
new file mode 100644
index 0000000000..bb239cb012
--- /dev/null
+++ b/package/qt6/qt6svg/qt6svg.hash
@@ -0,0 +1,10 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.3/submodules/qtsvg-everywhere-src-6.4.3.tar.xz.sha256
+sha256  88315f886cf81898705e487cedba6e6160724359d23c518c92c333c098879a4a  qtsvg-everywhere-src-6.4.3.tar.xz
+
+# Hashes for license files:
+sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
+sha256  110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4  LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSES/GPL-2.0-only.txt
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
+sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSES/LGPL-3.0-only.txt
+sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
diff --git a/package/qt6/qt6svg/qt6svg.mk b/package/qt6/qt6svg/qt6svg.mk
new file mode 100644
index 0000000000..be0addbd0d
--- /dev/null
+++ b/package/qt6/qt6svg/qt6svg.mk
@@ -0,0 +1,51 @@
+################################################################################
+#
+# qt6svg
+#
+################################################################################
+
+QT6SVG_VERSION = $(QT6_VERSION)
+QT6SVG_SITE = $(QT6_SITE)
+QT6SVG_SOURCE = qtsvg-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SVG_VERSION).tar.xz
+QT6SVG_INSTALL_STAGING = YES
+QT6SVG_SUPPORTS_IN_SOURCE_BUILD = NO
+
+QT6SVG_LICENSE = \
+	GPL-2.0+ or LGPL-3.0, \
+	GPL-3.0 with exception (tools), \
+	GFDL-1.3 (docs), \
+	BSD-3-Clause
+
+QT6SVG_LICENSE_FILES = \
+	LICENSES/BSD-3-Clause.txt \
+	LICENSES/GFDL-1.3-no-invariants-only.txt \
+	LICENSES/GPL-2.0-only.txt \
+	LICENSES/GPL-3.0-only.txt \
+	LICENSES/LGPL-3.0-only.txt \
+	LICENSES/Qt-GPL-exception-1.0.txt
+
+QT6SVG_CONF_OPTS = \
+	-GNinja \
+	-DQT_HOST_PATH=$(HOST_DIR) \
+	-DBUILD_WITH_PCH=OFF \
+	-DQT_BUILD_EXAMPLES=OFF \
+	-DQT_BUILD_TESTS=OFF
+
+QT6SVG_DEPENDENCIES = \
+	host-pkgconf \
+	host-ninja \
+	qt6base
+
+define QT6SVG_BUILD_CMDS
+	$(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6SVG_BUILDDIR)
+endef
+
+define QT6SVG_INSTALL_STAGING_CMDS
+	$(TARGET_MAKE_ENV) DESTDIR=$(STAGING_DIR) $(BR2_CMAKE) --install $(QT6SVG_BUILDDIR)
+endef
+
+define QT6SVG_INSTALL_TARGET_CMDS
+	$(TARGET_MAKE_ENV) DESTDIR=$(TARGET_DIR) $(BR2_CMAKE) --install $(QT6SVG_BUILDDIR)
+endef
+
+$(eval $(cmake-package))
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-03-19 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19 10:14 [Buildroot] [PATCH v1 1/2] package/qt6: bump version to 6.4.3 Peter Seiderer
2023-03-19 10:14 ` Peter Seiderer [this message]
2023-07-01 19:44 ` Thomas Petazzoni via buildroot
2023-07-16 16:06 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230319101420.9440-2-ps.report@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@buildroot.org \
    --cc=jesseevg@gmail.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox