summaryrefslogtreecommitdiff
path: root/dev-util/lxqt-build-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-16 20:05:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-16 20:05:28 +0000
commit41e056b08e4c5c8d6e78407a5586afa52867fd5f (patch)
tree5c065bb2a5c9eb0386762c79e910ad74512def88 /dev-util/lxqt-build-tools
parentb18dbdc69b2be6f0ac0db668b0bc57fb6f766afc (diff)
gentoo auto-resync : 16:02:2023 - 20:05:28
Diffstat (limited to 'dev-util/lxqt-build-tools')
-rw-r--r--dev-util/lxqt-build-tools/Manifest2
-rw-r--r--dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch30
-rw-r--r--dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild30
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/lxqt-build-tools/Manifest b/dev-util/lxqt-build-tools/Manifest
index 5cfe9d35b66f..4b611b74a580 100644
--- a/dev-util/lxqt-build-tools/Manifest
+++ b/dev-util/lxqt-build-tools/Manifest
@@ -1,3 +1,5 @@
+AUX lxqt-build-tools-cpp17-standard.patch 1212 BLAKE2B 51ad7ed93abcc9779db3f72d8d24b36999f514cdae9d778d8d4ac174b1d6124cf1e0c3e2e02dff389db67e182c43e96631a3f287cf8e83a88e1edf4ebb11a19a SHA512 3fe5e8c05fe7e301427d47cdd6714f72ada5e1f20b5856f9b2096177a48aa098bdfaa7c37d2745f2979a4c12d761590fcd89d037ce7ed02f0a38a8449e512534
DIST lxqt-build-tools-0.12.0.tar.xz 25444 BLAKE2B a3e2d942467d1c2affb957052731f4e4edfa03ed7d84e4ff354b4d501a7f79999ff678538f1c90cff55b6f2f80c172820ed93f036f05cd80c6f982c4bf8bbe54 SHA512 6c8f0d8f04a2ba06c1cff935580a88312f18f87b5da99e53f46c053b842f179bf474b3637ddcb0e9a0007f1d03b9e7cfd92a6552e53082ce34348fcfb6436add
+EBUILD lxqt-build-tools-0.12.0-r1.ebuild 686 BLAKE2B 1a166ec55de1aaf26e1a3dcebac3871220bb431514a1c32756aaac39398fdaa6d7792c45ec3f003440f86b0336065c2da5912f12e62a3559cd632a27c4ccf1b1 SHA512 cef5ce54a84bcb35781ccdd2cd0a1572f800e8e00178270253610a5167cda0583d2fe97ff5e7e860859c4a9e32abf43c1815dec0376fd25fffafb83eb363caec
EBUILD lxqt-build-tools-0.12.0.ebuild 543 BLAKE2B 3fa133e9c6ce3d35602dd4553577e2d40503bc5cec6474d5ed930eddbbb4b659fb551fc2e6ab3addecd53adfca9527bd854b9c15581085babdd7b318fe0e37bf SHA512 94c3c0c8ee861c19d73e1fb0b14bba6a2fa44c48eb3cc3251ed5fbb8c2345d390b86ec7a32ba607c00036def2065e633654e4804a7e220d821e57967e1b3847e
MISC metadata.xml 323 BLAKE2B 23d737cdebbafa977534a82a3244d697f8d3b55b16715d344ec46da7c71eb68d480e3a4196944e800400c94c900f240f92ffffc092c68aceeeb95c8cdead9a87 SHA512 403f0f0d13ce990a814e653032166c8cab4d3ea8924aec77f46050760d94e26afb42cb1d793ca4eda3a04a402f3817646cc876c35b506d1bff80bc03a020f0f6
diff --git a/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch
new file mode 100644
index 000000000000..21009b89c6f4
--- /dev/null
+++ b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch
@@ -0,0 +1,30 @@
+Gentoo Bug: https://bugs.gentoo.org/894468
+Upstream: https://github.com/lxqt/lxqt-build-tools/pull/83
+
+From 4a3a7038b1927dc43942a930db103023efdcbe2c Mon Sep 17 00:00:00 2001
+From: Simon Quigley <simon@tsimonq2.net>
+Date: Wed, 25 Jan 2023 09:39:41 -0600
+Subject: [PATCH] Bump the minimum compatibility level to C++17.
+
+---
+ cmake/modules/LXQtCompilerSettings.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/modules/LXQtCompilerSettings.cmake b/cmake/modules/LXQtCompilerSettings.cmake
+index a8cb16d..acba891 100644
+--- a/cmake/modules/LXQtCompilerSettings.cmake
++++ b/cmake/modules/LXQtCompilerSettings.cmake
+@@ -181,11 +181,11 @@ endif()
+
+
+ #-----------------------------------------------------------------------------
+-# CXX14 requirements - no checks, we just set it
++# CXX17 requirements - no checks, we just set it
+ #-----------------------------------------------------------------------------
+ set(CMAKE_CXX_STANDARD_REQUIRED True)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+-set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ ISO Standard")
++set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ ISO Standard")
+
+
+ #-----------------------------------------------------------------------------
diff --git a/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild b/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild
new file mode 100644
index 000000000000..ecbde452e97b
--- /dev/null
+++ b/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="LXQt Build Tools"
+HOMEPAGE="https://lxqt-project.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+ SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="
+ >=dev-libs/glib-2.50.0
+ >=dev-qt/qtcore-5.15:5
+"
+RDEPEND="${DEPEND}"
+
+# https://bugs.gentoo.org/894468
+# https://github.com/lxqt/lxqt-build-tools/pull/83
+PATCHES=( "${FILESDIR}"/"${PN}"-cpp17-standard.patch )