From 9381134439967ab68c274b7f14a18c3e805a1ff6 Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Tue, 16 Apr 2024 06:37:41 -0400 Subject: [PATCH] net-nntp/pan: drop 0.155, add 0.158, 0.158-r1 cmake testing, fixups 0.158-r1 is unkeyworded as not building, tracked bug in comment. 0.159 will drop autotools, so it's a priority to get working. Signed-off-by: Joe Kappus --- net-nntp/pan/Manifest | 2 +- net-nntp/pan/pan-0.157.ebuild | 5 +- net-nntp/pan/pan-0.158-r1.ebuild | 59 +++++++++++++++++++ .../{pan-0.155.ebuild => pan-0.158.ebuild} | 5 +- 4 files changed, 64 insertions(+), 7 deletions(-) create mode 100644 net-nntp/pan/pan-0.158-r1.ebuild rename net-nntp/pan/{pan-0.155.ebuild => pan-0.158.ebuild} (96%) diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest index 99eeb702dd..c8ff025cf9 100644 --- a/net-nntp/pan/Manifest +++ b/net-nntp/pan/Manifest @@ -1,2 +1,2 @@ -DIST pan-v0.155.tar.bz2 1797355 BLAKE2B 262123f73a79677640c7a98f4917d037fad27a644a5f9f4d63b7460d31f8a68c346da9d5521a3b54ac13df53c99fd97864f7cb2795135f6e675fb74cd8321d47 SHA512 85605a76dad1868926cc021a4642c40dca737b0fb77410c4e82981bf02e8157f8347518fccc82157804e89bd0786863a00bd1cc963637da3a54b82043e9c15f0 DIST pan-v0.157.tar.bz2 1819034 BLAKE2B 0e28184050ce4e2a62ef6f273ce06ccb25a61bd380a7790a9236aab63b3f4e381fd4d4881c922d0fef4f228cc92a72c868a1ad19fe684a0ab2f02af65ff0e57d SHA512 f15c139756467c4a9b241ad4efab8df611d8a2533597a9b3d275410a7cb6ed4575430ff200be442792fc2170b4580898aed269a26e3d63c109bae62ea2d41978 +DIST pan-v0.158.tar.bz2 1819095 BLAKE2B 4adb51f99f795e23a7f6d67d59c9e120a913e54c38b6dfd200859f1655657076dfd57f400fb221923b5c0d2d1a376faba13102e494f1a8515b289fe115d23647 SHA512 d2c12d92c5715ac585a8da340cb5ca03783a116ae64d2fc0dda7f7603ccb11783a78e4bbb5a4daf90605d401b78c2b3b80ddd8d0106ae8e60c38b0d2f4ab389d diff --git a/net-nntp/pan/pan-0.157.ebuild b/net-nntp/pan/pan-0.157.ebuild index f1e8285fee..28162dc66f 100644 --- a/net-nntp/pan/pan-0.157.ebuild +++ b/net-nntp/pan/pan-0.157.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,6 +7,7 @@ inherit autotools gnome2 DESCRIPTION="A newsreader for GNOME" HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" SRC_URI="https://gitlab.gnome.org/GNOME/pan/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/pan-v${PV}" LICENSE="GPL-2" SLOT="0" @@ -35,8 +36,6 @@ BDEPEND=" virtual/pkgconfig " -S="${WORKDIR}/pan-v${PV}" - src_prepare() { default eautoreconf diff --git a/net-nntp/pan/pan-0.158-r1.ebuild b/net-nntp/pan/pan-0.158-r1.ebuild new file mode 100644 index 0000000000..ac04f8371e --- /dev/null +++ b/net-nntp/pan/pan-0.158-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake gnome2 + +DESCRIPTION="A newsreader for GNOME" +HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" +SRC_URI="https://gitlab.gnome.org/GNOME/pan/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/pan-v${PV}" + +LICENSE="GPL-2" +SLOT="0" + +#cmake broken https://gitlab.gnome.org/GNOME/pan/-/issues/184 +KEYWORDS="" +IUSE="dbus gnome-keyring libnotify spell ssl" + +DEPEND=" + >=dev-libs/glib-2.26:2 + dev-libs/gmime:3.0 + >=x11-libs/gtk+-3.00:3 + gnome-keyring? ( + >=app-crypt/gcr-3.20 + >=app-crypt/libsecret-0.20 + ) + libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) + spell? ( + >=app-text/enchant-2.2.3:2 + >=app-text/gtkspell-3.0.10:3 ) + ssl? ( >=net-libs/gnutls-3:0= ) + >=sys-libs/zlib-1.2.0 +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/yelp-tools + >=sys-devel/gettext-0.19.7 + virtual/pkgconfig +" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWANT_DBUS=$(usex dbus) \ + -DWANT_GKR=$(usex gnome-keyring) \ + -DWANT_GTKSPELL=$(usex spell) \ + -DWANT_NOTIFY=$(usex libnotify) \ + -DWANT_GNUTLS=$(usex ssl) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install +} diff --git a/net-nntp/pan/pan-0.155.ebuild b/net-nntp/pan/pan-0.158.ebuild similarity index 96% rename from net-nntp/pan/pan-0.155.ebuild rename to net-nntp/pan/pan-0.158.ebuild index f1e8285fee..28162dc66f 100644 --- a/net-nntp/pan/pan-0.155.ebuild +++ b/net-nntp/pan/pan-0.158.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,6 +7,7 @@ inherit autotools gnome2 DESCRIPTION="A newsreader for GNOME" HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" SRC_URI="https://gitlab.gnome.org/GNOME/pan/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/pan-v${PV}" LICENSE="GPL-2" SLOT="0" @@ -35,8 +36,6 @@ BDEPEND=" virtual/pkgconfig " -S="${WORKDIR}/pan-v${PV}" - src_prepare() { default eautoreconf