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 44B9B15ACFB for ; Wed, 26 Apr 2023 04:03:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66511E0884; Wed, 26 Apr 2023 04:03:39 +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 19629E0883 for ; Wed, 26 Apr 2023 04:03:39 +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 2802733BDCC for ; Wed, 26 Apr 2023 04:03:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63A6FA5A for ; Wed, 26 Apr 2023 04:03:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1682481771.b23e807c125a7d80c94ed9736829ba6ec52540b1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-news/liferea/liferea-1.12.10-r1.ebuild X-VCS-Directories: net-news/liferea/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b23e807c125a7d80c94ed9736829ba6ec52540b1 X-VCS-Branch: master Date: Wed, 26 Apr 2023 04:03:35 +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: 20aadd49-bb4c-429b-a9be-3f08aff71a95 X-Archives-Hash: 86890819d36b32d1238829afa383954c commit: b23e807c125a7d80c94ed9736829ba6ec52540b1 Author: Yuri Konotopov gnome org> AuthorDate: Wed Apr 19 17:16:53 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Apr 26 04:02:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23e807c net-news/liferea: add python 3.11 support to 1.12.10 Bug: https://bugs.gentoo.org/904639 Signed-off-by: Yuri Konotopov gnome.org> Closes: https://github.com/gentoo/gentoo/pull/30652 Signed-off-by: Sam James gentoo.org> net-news/liferea/liferea-1.12.10-r1.ebuild | 74 ++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/net-news/liferea/liferea-1.12.10-r1.ebuild b/net-news/liferea/liferea-1.12.10-r1.ebuild new file mode 100644 index 000000000000..27fab2051b55 --- /dev/null +++ b/net-news/liferea/liferea-1.12.10-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools gnome2-utils optfeature python-single-r1 xdg + +DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds" +HOMEPAGE="https://lzone.de/liferea/" +SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/json-glib + dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}] + dev-libs/libxml2:2 + dev-libs/libxslt + gnome-base/gsettings-desktop-schemas + net-libs/libsoup:2.4 + net-libs/webkit-gtk:4 + x11-libs/gtk+:3 + x11-libs/pango" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12.9-webkit-css.patch +) + +src_prepare() { + xdg_src_prepare + + sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \ + Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_compile() { + # Workaround crash in libwebkit2gtk-4.0.so + # https://bugs.gentoo.org/704594 + WEBKIT_DISABLE_COMPOSITING_MODE=1 \ + default +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection] + optfeature "Tray Icon (GNOME Classic) plugin" "dev-python/pycairo x11-libs/gdk-pixbuf[introspection]" + optfeature "Media Player plugin" media-libs/gstreamer[introspection] + optfeature "monitoring network status" net-misc/networkmanager + optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection] +}