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 CFE07158013 for ; Fri, 15 Dec 2023 16:22:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C3E82BC060; Fri, 15 Dec 2023 16:22:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA00D2BC05F for ; Fri, 15 Dec 2023 16:22:12 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9D3833D3C2 for ; Fri, 15 Dec 2023 16:22:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E56214C7 for ; Fri, 15 Dec 2023 16:22:07 +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: <1702657296.bf6b896f17134202c015a594dfeb2490e0afe17c.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/purpose/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/purpose/Manifest kde-frameworks/purpose/metadata.xml kde-frameworks/purpose/purpose-5.113.0.ebuild X-VCS-Directories: kde-frameworks/purpose/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bf6b896f17134202c015a594dfeb2490e0afe17c X-VCS-Branch: master Date: Fri, 15 Dec 2023 16:22:07 +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: b025e979-d552-4e58-ba89-3cad6a4dd16e X-Archives-Hash: bf79b43a697d2b6d2688fc3ecb8a3fb0 commit: bf6b896f17134202c015a594dfeb2490e0afe17c Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 15 11:59:46 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Dec 15 16:21:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf6b896f kde-frameworks/purpose: 5.113.0 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/purpose/Manifest | 1 + kde-frameworks/purpose/metadata.xml | 1 + kde-frameworks/purpose/purpose-5.113.0.ebuild | 83 +++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) diff --git a/kde-frameworks/purpose/Manifest b/kde-frameworks/purpose/Manifest index cbacb753c2ae..574826a04cc0 100644 --- a/kde-frameworks/purpose/Manifest +++ b/kde-frameworks/purpose/Manifest @@ -1 +1,2 @@ DIST purpose-5.112.0.tar.xz 180816 BLAKE2B 4ed9e6fa546b8b230375ccbdab32e3bbfe79262204d94a9180b299903f499df94abd546ba68d8b43b29bfc3c7e101ff17e75bebc44ecd8ee1253a4e1e78ed5fc SHA512 b5cbcf29f2659dfb60891083abe516bb230a4ee5e67da88e4c231c7c0a5eac9ec076c71a7cbd4d6ba40ca79e45b1a8b422e636a91a1a67517f81ad98963584b3 +DIST purpose-5.113.0.tar.xz 179544 BLAKE2B 9c9cf7d17f2c8b270f23052553796ea7403260bab11186ff846d840503efc9ae5fdc1d70730605584f7f14ea1aa9f7258864458f2b813b4ed7e01a466f818bbd SHA512 df7f2b3164caa474100731eb360318c2a6bb8301aeb0729fab3824d95f123ece00e74032c2533ce477c92717c116404ed56f7c320320557c29a5036ecf135f7e diff --git a/kde-frameworks/purpose/metadata.xml b/kde-frameworks/purpose/metadata.xml index 94150564ce73..6b0d501b777f 100644 --- a/kde-frameworks/purpose/metadata.xml +++ b/kde-frameworks/purpose/metadata.xml @@ -10,6 +10,7 @@ Enable support for system-wide defined KAccounts + Disable components colliding with KF6, depend on KF6 components instead diff --git a/kde-frameworks/purpose/purpose-5.113.0.ebuild b/kde-frameworks/purpose/purpose-5.113.0.ebuild new file mode 100644 index 000000000000..12cd439d5dcb --- /dev/null +++ b/kde-frameworks/purpose/purpose-5.113.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="false" +ECM_TEST="forceoptional" +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.9 +inherit ecm frameworks.kde.org optfeature xdg-utils + +DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" +LICENSE="LGPL-2.1+" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="bluetooth +kaccounts kf6compat" + +# requires running environment +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kio-${PVCUT}*:5 + =kde-frameworks/kirigami-${PVCUT}*:5 + =kde-frameworks/knotifications-${PVCUT}*:5 + =kde-frameworks/kservice-${PVCUT}*:5 + =kde-frameworks/prison-${PVCUT}*:5 + kaccounts? ( + >=kde-apps/kaccounts-integration-19.04.3:5 + net-libs/accounts-qt + ) +" +RDEPEND="${DEPEND} + kf6compat? ( kde-frameworks/purpose:6 ) + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=kde-frameworks/kdeclarative-${PVCUT}:5 + bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:5 ) + kaccounts? ( net-libs/accounts-qml ) +" + +src_prepare() { + ecm_src_prepare + + use bluetooth || + cmake_run_in src/plugins cmake_comment_add_subdirectory bluetooth +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package kaccounts KAccounts) + ) + + ecm_src_configure +} + +src_install() { + ecm_src_install + + if use kf6compat; then + rm "${D}"/usr/share/icons/hicolor/128x128/apps/{reviewboard,phabricator}-purpose.png \ + "${D}"/usr/share/icons/hicolor/16x16/apps/{reviewboard,phabricator}-purpose.png \ + || die + fi +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Send through KDE Connect" kde-misc/kdeconnect + fi + ecm_pkg_postinst + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}