commit: 3bf3dbef07cc96da1289dc598f437d53c7193d3d Author: Joe Kappus <joe <AT> wt <DOT> gd> AuthorDate: Tue Feb 18 05:42:45 2025 +0000 Commit: Joe Kappus <joe <AT> wt <DOT> gd> CommitDate: Tue Feb 18 05:42:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bf3dbef
net-nntp/pan: add 0.162 Signed-off-by: Joe Kappus <joe <AT> wt.gd> net-nntp/pan/Manifest | 1 + net-nntp/pan/pan-0.162.ebuild | 74 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest index d0ae24c6e..8aca06099 100644 --- a/net-nntp/pan/Manifest +++ b/net-nntp/pan/Manifest @@ -1,3 +1,4 @@ DIST pan-v0.159.tar.bz2 1810262 BLAKE2B 1f5a932bb771324b23054665ea181fb1130e2709a2a202c27d56058c57868d6897e957e317c5822ad245f79157284d4c99975d57cc73f52cd0e807bc1f60ea6f SHA512 c05bb2b79daac11e78c1f56205517da7c5526111d2684e8bae3400117226a8a6c9c69d489cf218892c82060a6d72b888172ae8922ad7c38af658f5772d4893c9 DIST pan-v0.160.tar.bz2 1810939 BLAKE2B 134068f374f0b126968e237448e2698b8d10d0993fe3d4c569447814d0d903db9c3970a6f0b1847ac0778f997b110cc7d25fc6f69d4e69c869d61f61d7b0d0be SHA512 bc352cfeb252210bb0095b4b616115a4c9d0372c49bb774d3574f0b489824f1512394b0e635e43159694f58d530a3e4e6d95ec0227951a1b78224f4cea9ba33a DIST pan-v0.161.tar.bz2 1808938 BLAKE2B b10c15ad2528752799c55897fe5f6fdc0d07e050275959167a627e4e2150bd57d8fc7948f338b6ab571e9335e14e1f6f78f4364c38e2e3a23c9f6d3bc48ad4f2 SHA512 a7ab3fe2f74f7e87bbeed615392b8dedb50e29d916bb0b4ffaf15c1b0f20aa36fdb8fa52b51566c2dd7521873055b38c9a6d691a5c337bc79f69ac209bbd0454 +DIST pan-v0.162.tar.bz2 2047305 BLAKE2B 1fb98ef0158554909f97ef6b8aeb595a31b0477ea47f6a8b9e06ac648658206483243c71c1f28ebb6d9d3c2066376e170d355b3bbd46ca61de7c862c502cde6f SHA512 57a8ec6d98f6c0b6dc7b52939e449da7d06b271396c6e7de0d57c34bac478662ab2ee92f0200dfe87afcf379b9f24842e9cacbdc35a47e10fde8f83aeddab4f8 diff --git a/net-nntp/pan/pan-0.162.ebuild b/net-nntp/pan/pan-0.162.ebuild new file mode 100644 index 000000000..8e7503a1b --- /dev/null +++ b/net-nntp/pan/pan-0.162.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake gnome2 toolchain-funcs + +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 spell ssl" +# currently broken due to cmake migration +RESTRICT="test" + +DEPEND=" + >=dev-libs/glib-2.26:2 + dev-libs/gmime:3.0 + >=x11-libs/gtk+-3.16:3 + gnome-keyring? ( + >=app-crypt/gcr-3.20 + >=app-crypt/libsecret-0.20 + ) + libnotify? ( >=x11-libs/libnotify-0.4.1:0= ) + spell? ( app-text/gspell ) + ssl? ( >=net-libs/gnutls-3:0= ) + >=sys-libs/zlib-1.2.0 + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/yelp-tools + >=sys-devel/gettext-0.19.7 + virtual/pkgconfig +" + +src_prepare() { + cmake_src_prepare + + # Relax linker restriction on clang. Not ideal, but it's this or block clang. + if tc-is-clang; then + append-ldflags "-Wl,--allow-shlib-undefined" + fi +} + +src_configure() { + local mycmakeargs=( + -DWANT_DBUS=$(usex dbus) \ + -DWANT_GKR=$(usex gnome-keyring) \ + -DWANT_GSPELL=$(usex spell) \ + -DWANT_NOTIFY=$(usex libnotify) \ + -DWANT_GNUTLS=$(usex ssl) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # Since cmake apparently doesn't include the below automatically + dolib.so "${BUILD_DIR}/pan/data/libdata.so" + dolib.so "${BUILD_DIR}/pan/data-impl/libdata-impl.so" + dolib.so "${BUILD_DIR}/pan/general/libgeneralutils.so" + dolib.so "${BUILD_DIR}/pan/tasks/libtasks.so" + dolib.so "${BUILD_DIR}/pan/usenet-utils/libusenet-utils.so" + +}