From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F26B1581EE for ; Sun, 23 Mar 2025 17:12:24 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2A4FD3434AF for ; Sun, 23 Mar 2025 17:12:24 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 92BA71104C1; Sun, 23 Mar 2025 17:11:47 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 87DBE1104C1 for ; Sun, 23 Mar 2025 17:11:47 +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 4003F34349D for ; Sun, 23 Mar 2025 17:11:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D07DF28E3 for ; Sun, 23 Mar 2025 17:11:43 +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: <1742749820.1a7a64bc79333b202446c6c3f63f6ad051ffd086.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libical/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libical/Manifest dev-libs/libical/libical-3.0.20.ebuild X-VCS-Directories: dev-libs/libical/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1a7a64bc79333b202446c6c3f63f6ad051ffd086 X-VCS-Branch: master Date: Sun, 23 Mar 2025 17:11:43 +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: 775982b1-5888-4489-bbdf-eaf6b6d0fbf4 X-Archives-Hash: c9cb66ddc73493826e4ce5d3e7760340 commit: 1a7a64bc79333b202446c6c3f63f6ad051ffd086 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 23 17:10:20 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 23 17:10:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7a64bc dev-libs/libical: add 3.0.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/libical/Manifest | 1 + dev-libs/libical/libical-3.0.20.ebuild | 113 +++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest index 76c3a0d8919e..30c63cdeb907 100644 --- a/dev-libs/libical/Manifest +++ b/dev-libs/libical/Manifest @@ -1 +1,2 @@ DIST libical-3.0.19.tar.gz 973744 BLAKE2B d3a8bc71cbef7014db23358b523691de7f32c071d5d978c79e94b7f21c4776bc9f88bd39df5ba552ce6e8e0f86beda13bbd14a73a11f21b1f45e020d2a15bb53 SHA512 32e5cac219801b40d8691deae6efae6fdaa64ca0968a72af5b27647958d44d79626c26c4e3675cfb284c2f1039c237c61ba2dd6030e9b1ea6a9d69296424240d +DIST libical-3.0.20.tar.gz 973928 BLAKE2B 3492efc8ace54b254a7079aa863394da0555a4c342b7c83a47991ecdf31fe06035bb8c196700ec6804bde2b1c074e5e3a2118c948fec26bdff90b92b9c5042e8 SHA512 2506320240ba0e4287b6ef1b90b653eacd51105d392b91f8c772f3b0745fecbf55eecfe81f89413cc56106b71ccca780754df31f5190ffce6c372126e27bf1da diff --git a/dev-libs/libical/libical-3.0.20.ebuild b/dev-libs/libical/libical-3.0.20.ebuild new file mode 100644 index 000000000000..1ffc77e1b830 --- /dev/null +++ b/dev-libs/libical/libical-3.0.20.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +VALA_USE_DEPEND="vapigen" +inherit cmake python-any-r1 vala + +DESCRIPTION="Implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="|| ( MPL-2.0 LGPL-2.1 )" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc examples +glib +introspection static-libs test vala" + +REQUIRED_USE="introspection? ( glib ) vala? ( introspection )" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/icu:= + glib? ( dev-libs/glib:2 ) +" +DEPEND="${COMMON_DEPEND} + glib? ( dev-libs/libxml2:2 ) +" +RDEPEND="${COMMON_DEPEND} + sys-libs/timezone-data +" +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + doc? ( + app-text/doxygen[dot] + glib? ( dev-util/gtk-doc ) + ) + introspection? ( dev-libs/gobject-introspection ) + test? ( + ${PYTHON_DEPS} + glib? ( $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') ) + ) + vala? ( $(vala_depend) ) +" + +DOCS=( + AUTHORS README.md ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents.txt,UsingLibical.md} +) + +PATCHES=( "${FILESDIR}/${PN}-3.0.11-pkgconfig-libdir.patch" ) + +python_check_deps() { + python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + use vala && vala_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=ON + -DICAL_BUILD_DOCS=$(usex doc) + -DLIBICAL_BUILD_EXAMPLES=$(use examples) + -DICAL_GLIB=$(usex glib) + -DGOBJECT_INTROSPECTION=$(usex introspection) + -DSHARED_ONLY=$(usex !static-libs) + -DLIBICAL_BUILD_TESTING=$(usex test) + -DICAL_GLIB_VAPI=$(usex vala) + ) + if use vala; then + mycmakeargs+=( + -DVALAC="${VALAC}" + -DVAPIGEN="${VAPIGEN}" + ) + fi + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use doc; then + cmake_src_compile docs + + HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. ) + fi +} + +src_test() { + local myctestargs=( + -E "(icalrecurtest|icalrecurtest-r)" # bug 660282 + ) + + cmake_src_test +} + +src_install() { + cmake_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +}