summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-14 21:39:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-14 21:39:06 +0000
commite576649cdc954f1ea716e2e0c53be2c9981088f7 (patch)
tree135745a85c8ebc9d4d5e958ce7c3a74cb80afeee
parent044da650cae30dde17e92fd8f4864c37d8f3ab61 (diff)
dev-util/lxqt-build-tools : backport https://github.com/lxqt/lxqt-build-tools/pull/83
-rw-r--r--dev-util/lxqt-build-tools/Manifest1
-rw-r--r--dev-util/lxqt-build-tools/files/c17.patch27
-rw-r--r--dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild28
-rw-r--r--metadata/md5-cache/dev-util/lxqt-build-tools-0.12.0-r114
-rw-r--r--metadata/pkg_desc_index1
5 files changed, 71 insertions, 0 deletions
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 <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 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 )
diff --git a/metadata/md5-cache/dev-util/lxqt-build-tools-0.12.0-r1 b/metadata/md5-cache/dev-util/lxqt-build-tools-0.12.0-r1
new file mode 100644
index 00000000..db69976c
--- /dev/null
+++ b/metadata/md5-cache/dev-util/lxqt-build-tools-0.12.0-r1
@@ -0,0 +1,14 @@
+BDEPEND=>=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5
+DEFINED_PHASES=compile configure install prepare test
+DEPEND=>=dev-libs/glib-2.50.0 >=dev-qt/qtcore-5.15:5
+DESCRIPTION=LXQt Build Tools
+EAPI=8
+HOMEPAGE=https://lxqt-project.org/
+INHERIT=cmake
+KEYWORDS=amd64 ~arm arm64 ~hppa ~loong ~ppc64 ~riscv x86
+LICENSE=BSD
+RDEPEND=>=dev-libs/glib-2.50.0 >=dev-qt/qtcore-5.15:5
+SLOT=0
+SRC_URI=https://github.com/lxqt/lxqt-build-tools/releases/download/0.12.0/lxqt-build-tools-0.12.0.tar.xz
+_eclasses_=cmake 449b4785acace35308fe747fc939bde1 flag-o-matic 69394e25812406faa1f90edaf4969395 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 38c85b725d0467e51954ea921b6c104b toolchain-funcs 9a610728b9bcca1919234cceb35a1027 xdg-utils ac0e315a3688929e34ac75b139e7349a
+_md5_=c51fd4b11d5b096db383ef3370d17830
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index f026b469..3c9936f4 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -21,6 +21,7 @@ dev-python/click 7.1.2-r100: A Python package for creating beautiful command lin
dev-python/sh 1.12.14-r5: Python process launching
dev-python/typer 0.2.1-r3: Build great CLIs. Easy to code. Based on Python type hints
dev-python/wget 2.2-r3: Python library for downloading from http URLs
+dev-util/lxqt-build-tools 0.12.0-r1: LXQt Build Tools
gui-libs/display-manager-init 1.1.2-r1: RC init files for starting display and login managers
kde-plasma/kinfocenter 5.27.0-r5: Utility providing information about the computer hardware
lxde-base/lxappearance 0.6.3-r5: LXDE GTK+ theme switcher