aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/pan/Manifest1
-rw-r--r--net-nntp/pan/pan-0.159.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest
index c8ff025cf..dc9a37f24 100644
--- a/net-nntp/pan/Manifest
+++ b/net-nntp/pan/Manifest
@@ -1,2 +1,3 @@
DIST pan-v0.157.tar.bz2 1819034 BLAKE2B 0e28184050ce4e2a62ef6f273ce06ccb25a61bd380a7790a9236aab63b3f4e381fd4d4881c922d0fef4f228cc92a72c868a1ad19fe684a0ab2f02af65ff0e57d SHA512 f15c139756467c4a9b241ad4efab8df611d8a2533597a9b3d275410a7cb6ed4575430ff200be442792fc2170b4580898aed269a26e3d63c109bae62ea2d41978
DIST pan-v0.158.tar.bz2 1819095 BLAKE2B 4adb51f99f795e23a7f6d67d59c9e120a913e54c38b6dfd200859f1655657076dfd57f400fb221923b5c0d2d1a376faba13102e494f1a8515b289fe115d23647 SHA512 d2c12d92c5715ac585a8da340cb5ca03783a116ae64d2fc0dda7f7603ccb11783a78e4bbb5a4daf90605d401b78c2b3b80ddd8d0106ae8e60c38b0d2f4ab389d
+DIST pan-v0.159.tar.bz2 1810262 BLAKE2B 1f5a932bb771324b23054665ea181fb1130e2709a2a202c27d56058c57868d6897e957e317c5822ad245f79157284d4c99975d57cc73f52cd0e807bc1f60ea6f SHA512 c05bb2b79daac11e78c1f56205517da7c5526111d2684e8bae3400117226a8a6c9c69d489cf218892c82060a6d72b888172ae8922ad7c38af658f5772d4893c9
diff --git a/net-nntp/pan/pan-0.159.ebuild b/net-nntp/pan/pan-0.159.ebuild
new file mode 100644
index 000000000..341ce9596
--- /dev/null
+++ b/net-nntp/pan/pan-0.159.ebuild
@@ -0,0 +1,68 @@
+# 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"
+
+KEYWORDS="~amd64 ~arm64 ~x86"
+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
+
+ # Since cmake apparently doesn't include the below automatically
+ local build_dir="${S%/*}/pan-v${PV}_build"
+ 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"
+
+
+}