From e576649cdc954f1ea716e2e0c53be2c9981088f7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 Feb 2023 21:39:06 +0000 Subject: dev-util/lxqt-build-tools : backport https://github.com/lxqt/lxqt-build-tools/pull/83 --- dev-util/lxqt-build-tools/Manifest | 1 + dev-util/lxqt-build-tools/files/c17.patch | 27 +++++++++++++++++++++ .../lxqt-build-tools-0.12.0-r1.ebuild | 28 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-util/lxqt-build-tools/Manifest create mode 100644 dev-util/lxqt-build-tools/files/c17.patch create mode 100644 dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild (limited to 'dev-util') diff --git a/dev-util/lxqt-build-tools/Manifest b/dev-util/lxqt-build-tools/Manifest new file mode 100644 index 00000000..0e8d7a36 --- /dev/null +++ b/dev-util/lxqt-build-tools/Manifest @@ -0,0 +1 @@ +DIST lxqt-build-tools-0.12.0.tar.xz 25444 BLAKE2B a3e2d942467d1c2affb957052731f4e4edfa03ed7d84e4ff354b4d501a7f79999ff678538f1c90cff55b6f2f80c172820ed93f036f05cd80c6f982c4bf8bbe54 SHA512 6c8f0d8f04a2ba06c1cff935580a88312f18f87b5da99e53f46c053b842f179bf474b3637ddcb0e9a0007f1d03b9e7cfd92a6552e53082ce34348fcfb6436add diff --git a/dev-util/lxqt-build-tools/files/c17.patch b/dev-util/lxqt-build-tools/files/c17.patch new file mode 100644 index 00000000..48fd1f2c --- /dev/null +++ b/dev-util/lxqt-build-tools/files/c17.patch @@ -0,0 +1,27 @@ +From 4a3a7038b1927dc43942a930db103023efdcbe2c Mon Sep 17 00:00:00 2001 +From: Simon Quigley +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 00000000..8a4c1f64 --- /dev/null +++ b/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 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}" + +PATCHES=( "${FILESDIR}"/c17.patch ) -- cgit v1.2.3