Skip to content

Commit

Permalink
net-nntp/pan: new package, add 0.154
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/784266
Signed-off-by: Joe Kappus <joe@wt.gd>
  • Loading branch information
joecool1029 committed Jan 16, 2023
1 parent 07b3ec7 commit a238980
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-nntp/pan/Manifest
@@ -0,0 +1 @@
DIST pan-v0.154.tar.bz2 1787904 BLAKE2B a0103b14e05811d1c79893359fb3f8c7c050956352f015580f924b46a302eb0131d80492e0904230f9af0a1d298c8d5ff601955d3a4592c36b5c2cc0992522da SHA512 ab1b5ec9c7c6633b716aa4e645e579d5b831f8814d05c99e945ad8803d4666dcbc8ff8fb5a05a1bd21e86ccc839b7b756bf7a1c3c4d5d929a214c7197046376f
24 changes: 24 additions & 0 deletions net-nntp/pan/metadata.xml
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>joe@wt.gd</email>
<name>joecool</name>
</maintainer>
<upstream>
<remote-id type="gnome-gitlab">pan</remote-id>
<bugs-to>https://gitlab.gnome.org/GNOME/pan/-/issues</bugs-to>
<maintainer>
<email>dod@debian.org</email>
<name>Dominique Dumont</name>
</maintainer>
</upstream>
<use>
<flag name="dbus">Use DBUS. Support running multiple instances</flag>
<flag name="gnome-keyring">Use libsecret/gcr for password storage</flag>
<flag name="libnotify">Build libnotify support for notifications</flag>
<flag name="nls">Localization support</flag>
<flag name="spell">Spellchecking support (enchant/gtkspell)</flag>
<flag name="ssl">TLS 1.x support (through gnutls)</flag>
</use>
</pkgmetadata>
55 changes: 55 additions & 0 deletions net-nntp/pan/pan-0.154.ebuild
@@ -0,0 +1,55 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
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${PVR}/${PN}-v${PVR}.tar.bz2"

This comment has been minimized.

Copy link
@thesamesam

thesamesam Jan 17, 2023

Member

You don't want PVR, as it includes the Gentoo revision. Just PV should be ok.

This comment has been minimized.

Copy link
@joecool1029

joecool1029 Jan 17, 2023

Author Contributor

Got it. I'll remember that eventually.


LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="dbus gnome-keyring libnotify nls spell ssl"

RDEPEND="
>=dev-libs/glib-2.26:2
dev-libs/gmime:3.0
>=sys-libs/zlib-1.2.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= )
"
DEPEND="${RDEPEND}
app-text/yelp-tools

This comment has been minimized.

Copy link
@thesamesam

thesamesam Jan 17, 2023

Member

These 3 are BDEPENDs

>=sys-devel/gettext-0.19.7
virtual/pkgconfig
"

S="${WORKDIR}/pan-v${PVR}"

This comment has been minimized.

Copy link
@thesamesam

thesamesam Jan 17, 2023

Member

PV.


src_prepare() {
default
eautoreconf
}

src_configure() {
local myconf=(
$(use_with dbus) \
$(use_with gnome-keyring gkr) \
$(use_with nls) \
$(use_with spell gtkspell) \
$(use_enable libnotify) \
$(use_with ssl gnutls)
)

gnome2_src_configure "${myconf[@]}"
}

0 comments on commit a238980

Please sign in to comment.