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 D5B59158086 for ; Mon, 20 Dec 2021 12:42:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB5152BC001; Mon, 20 Dec 2021 12:42:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A3502BC001 for ; Mon, 20 Dec 2021 12:42: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F97B34309F for ; Mon, 20 Dec 2021 12:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4ADC4258 for ; Mon, 20 Dec 2021 12:42:04 +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: <1640004106.0da47d05cc2c7b04632cbf0490280237d7c923a5.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.12.ebuild X-VCS-Directories: dev-libs/libical/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0da47d05cc2c7b04632cbf0490280237d7c923a5 X-VCS-Branch: master Date: Mon, 20 Dec 2021 12:42:04 +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: d81583b2-449e-4730-a45d-c65a34923bca X-Archives-Hash: e166188f59ecd2c171d381381bcc5d28 commit: 0da47d05cc2c7b04632cbf0490280237d7c923a5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 20 12:39:37 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 20 12:41:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da47d05 dev-libs/libical: 3.0.12 version bump Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/libical/Manifest | 1 + dev-libs/libical/libical-3.0.12.ebuild | 114 +++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest index 683059d3d905..e013b757ad1c 100644 --- a/dev-libs/libical/Manifest +++ b/dev-libs/libical/Manifest @@ -1,2 +1,3 @@ DIST libical-3.0.10.tar.gz 889470 BLAKE2B 990a37cdb6a00c52bab1a10f5899752dc2f9f0f2c3e0ada9e54803007e3db97dcd600544bf45a9a0646631aaf41839a0818b5d70b3e6e305826db2dd1cc30bdb SHA512 e32ccaff9b8a501f340567a1221c580023e4ed79918519bfa88aee2c0e8b62f5ea37e10907f2eb6fbd346a57408708a74e30aaf9a57a8d711eae30ddc974ddd0 DIST libical-3.0.11.tar.gz 891646 BLAKE2B 8e52f5d33586f435eb3311854c5ae5b96393f917cf119d46ef66bb1a10a4db2b1bf2a828c4cd0a4fb99428f44633b6a5592b144d0167f70887aaac3393312655 SHA512 cdee86c50edc2373ab2024d7d4ae26dd4b9a728dbc13083472c4923c67f61ff3cef7d43edca762c6a11979d2040fc1576a033eaa23a19e58af8f14a7d67fc139 +DIST libical-3.0.12.tar.gz 883537 BLAKE2B a67cbf767f5dba7717c80b2ed90f257025544b6fbbd85e4d10712fb63ec5d750c00e9a1d664b0c75f7e833847aeee2fc1412866bf4b599ead663132b3665835f SHA512 e97aec11895d4c51fcb1fe32598f5fc23bbffc26274d1f46e74d1b9a365bea65446563224b852d13a763334eab0375e77cabb5ba535d3b2f89b652bbe24b4517 diff --git a/dev-libs/libical/libical-3.0.12.ebuild b/dev-libs/libical/libical-3.0.12.ebuild new file mode 100644 index 000000000000..a9a1be42b120 --- /dev/null +++ b/dev-libs/libical/libical-3.0.12.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="berkdb doc examples +glib +introspection static-libs test vala" + +REQUIRED_USE="introspection? ( glib ) vala? ( introspection )" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/icu:= + berkdb? ( sys-libs/db:= ) + 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-doc/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.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents.txt,UsingLibical.md} +) + +PATCHES=( + "${FILESDIR}/${PN}-3.0.4-tests.patch" + "${FILESDIR}/${PN}-3.0.11-pkgconfig-libdir.patch" +) + +python_check_deps() { + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + use examples || cmake_comment_add_subdirectory examples + use vala && vala_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package berkdb BDB) + -DICAL_BUILD_DOCS=$(usex doc) + -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 + use doc && cmake_src_compile docs +} + +src_test() { + local myctestargs=( + -E "(icalrecurtest|icalrecurtest-r)" # bug 660282 + ) + + cmake_src_test +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. ) + + cmake_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +}