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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04903158042 for ; Sat, 2 Nov 2024 22:26:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A5F4E0843; Sat, 2 Nov 2024 22:26:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 E1D49E0837 for ; Sat, 2 Nov 2024 22:26:48 +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 348C53430BD for ; Sat, 2 Nov 2024 22:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9487252F for ; Sat, 2 Nov 2024 22:26:44 +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: <1730586146.0c411f87049f53e639aea2062f38f41c1a180a1e.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/purpose/purpose-6.8.0.ebuild X-VCS-Directories: kde-frameworks/purpose/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0c411f87049f53e639aea2062f38f41c1a180a1e X-VCS-Branch: master Date: Sat, 2 Nov 2024 22:26:44 +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: e9155c7e-feb4-407f-9186-b4189613aac0 X-Archives-Hash: 8ba054ddeffd8e698a0795dfededc276 commit: 0c411f87049f53e639aea2062f38f41c1a180a1e Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 2 22:17:52 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Nov 2 22:22:26 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0c411f87 kde-frameworks/purpose: 6.8.0 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/purpose/purpose-6.8.0.ebuild | 80 +++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/kde-frameworks/purpose/purpose-6.8.0.ebuild b/kde-frameworks/purpose/purpose-6.8.0.ebuild new file mode 100644 index 0000000000..09ce2a6738 --- /dev/null +++ b/kde-frameworks/purpose/purpose-6.8.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 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=6.7.2 +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 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="bluetooth webengine" + +# requires running environment +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + =kde-frameworks/kconfig-${PVCUT}*:6 + =kde-frameworks/kcoreaddons-${PVCUT}*:6 + =kde-frameworks/ki18n-${PVCUT}*:6 + =kde-frameworks/kio-${PVCUT}*:6 + =kde-frameworks/kirigami-${PVCUT}*:6 + =kde-frameworks/knotifications-${PVCUT}*:6 + =kde-frameworks/kservice-${PVCUT}*:6 + =kde-frameworks/prison-${PVCUT}*:6 + webengine? ( + kde-apps/kaccounts-integration:6 + >=net-libs/accounts-qt-1.17[qt6(+)] + ) +" +RDEPEND="${DEPEND} + >=kde-frameworks/kdeclarative-${PVCUT}:6 + bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:6 ) + webengine? ( + >=kde-frameworks/purpose-kaccounts-services-${PVCUT} + >=net-libs/accounts-qml-0.7_p20231028[qt6(+)] + ) +" +BDEPEND="webengine? ( dev-util/intltool )" + +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 webengine KAccounts6) + ) + + ecm_src_configure +} + +src_install() { + # Shipped by kde-frameworks/purpose-kaccounts-services package for shared use w/ SLOT 5 + use webengine && ECM_REMOVE_FROM_INSTALL=( + /usr/share/accounts/services/kde/{google-youtube,nextcloud-upload}.service + ) + ecm_src_install +} + +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 +}