From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6A56158083 for ; Wed, 25 Sep 2024 21:21:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99BB3E2B9A; Wed, 25 Sep 2024 21:21:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7DFEAE2B9A for ; Wed, 25 Sep 2024 21:21:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 825BC340C42 for ; Wed, 25 Sep 2024 21:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E38CB1F2E for ; Wed, 25 Sep 2024 21:21:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1727299248.229807cdcd809f3dcc8f00cb302743b9fe906056.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/kvantum/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/kvantum/kvantum-1.1.2-r2.ebuild X-VCS-Directories: x11-themes/kvantum/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 229807cdcd809f3dcc8f00cb302743b9fe906056 X-VCS-Branch: master Date: Wed, 25 Sep 2024 21:21:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e522697a-ece0-42de-b51e-09d42a54a650 X-Archives-Hash: 2a3e35240f5c1432dd7b5c863b716c0b commit: 229807cdcd809f3dcc8f00cb302743b9fe906056 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 25 21:15:26 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 25 21:20:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229807cd x11-themes/kvantum: Wire up USE=kde for Qt6, missing dev-qt/qtbase[X] Tweak DESCRIPTION, drop REQUIRED_USE Closes: https://bugs.gentoo.org/932803 Bug: https://bugs.gentoo.org/935914 Signed-off-by: Andreas Sturmlechner gentoo.org> x11-themes/kvantum/kvantum-1.1.2-r2.ebuild | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/x11-themes/kvantum/kvantum-1.1.2-r2.ebuild b/x11-themes/kvantum/kvantum-1.1.2-r2.ebuild new file mode 100644 index 000000000000..3ad29e04cb10 --- /dev/null +++ b/x11-themes/kvantum/kvantum-1.1.2-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# taken from Kvantum/style/CMakeLists.txt +QTMIN="6.2.0" +KFMIN="6.0.0" +inherit cmake multibuild xdg + +DESCRIPTION="SVG-based theme engine for Qt, KDE Plasma and LXQt" +HOMEPAGE="https://github.com/tsujan/Kvantum" +SRC_URI="https://github.com/tsujan/${PN^}/archive/V${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN^}-${PV}/${PN^} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="kde qt5" + +RESTRICT="test" # no tests + +RDEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets,X] + >=dev-qt/qtsvg-${QTMIN}:6 + x11-libs/libX11 + kde? ( >=kde-frameworks/kwindowsystem-${KFMIN}:6 ) + qt5? ( + >=dev-qt/qtcore-5.15.9:5 + >=dev-qt/qtgui-5.15.9:5 + >=dev-qt/qtsvg-5.15.9:5 + >=dev-qt/qtwidgets-5.15.9:5 + >=dev-qt/qtx11extras-5.15.9:5 + kde? ( >=kde-frameworks/kwindowsystem-5.115.0:5 ) + ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + dev-qt/qttools:6[linguist] + qt5? ( dev-qt/linguist-tools:5 ) +" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) qt6 ) +} + +src_configure() { + my_src_configure() { + local mycmakeargs=( + -DENABLE_QT4=OFF + ) + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=( + -DENABLE_QT5=ON + -DWITHOUT_KF=$(usex !kde) + ) + elif [[ ${MULTIBUILD_VARIANT} = qt6 ]]; then + mycmakeargs+=( + -DENABLE_QT5=OFF + -DWITHOUT_KF=$(usex !kde) + ) + fi + cmake_src_configure + } + + multibuild_foreach_variant my_src_configure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_install() { + multibuild_foreach_variant cmake_src_install +}