commit:     9381134439967ab68c274b7f14a18c3e805a1ff6
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Apr 16 10:37:41 2024 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Tue Apr 16 10:41:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93811344

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 <joe <AT> wt.gd>

 net-nntp/pan/Manifest                              |  2 +-
 net-nntp/pan/pan-0.157.ebuild                      |  5 ++--
 .../pan/{pan-0.155.ebuild => pan-0.158-r1.ebuild}  | 35 ++++++++++++----------
 .../pan/{pan-0.155.ebuild => pan-0.158.ebuild}     |  5 ++--
 4 files changed, 24 insertions(+), 23 deletions(-)

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.155.ebuild b/net-nntp/pan/pan-0.158-r1.ebuild
similarity index 63%
copy from net-nntp/pan/pan-0.155.ebuild
copy to net-nntp/pan/pan-0.158-r1.ebuild
index f1e8285fee..ac04f8371e 100644
--- a/net-nntp/pan/pan-0.155.ebuild
+++ b/net-nntp/pan/pan-0.158-r1.ebuild
@@ -1,17 +1,20 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit autotools gnome2
+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"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="dbus gnome-keyring libnotify nls spell ssl"
+
+#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
@@ -35,22 +38,22 @@ BDEPEND="
        virtual/pkgconfig
 "
 
-S="${WORKDIR}/pan-v${PV}"
-
 src_prepare() {
-       default
-       eautoreconf
+       cmake_src_prepare
 }
 
 src_configure() {
-       local myconf=(
-               $(use_with dbus) \
-               $(use_enable gnome-keyring gkr) \
-               $(use_enable nls) \
-               $(use_with spell gtkspell) \
-               $(use_enable libnotify) \
-               $(use_with ssl gnutls)
+       local mycmakeargs=(
+               -DWANT_DBUS=$(usex dbus) \
+               -DWANT_GKR=$(usex gnome-keyring) \
+               -DWANT_GTKSPELL=$(usex spell) \
+               -DWANT_NOTIFY=$(usex libnotify) \
+               -DWANT_GNUTLS=$(usex ssl)
        )
 
-       gnome2_src_configure "${myconf[@]}"
+       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

Reply via email to