net-im/profanity: add 0.18.2

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki 2026-06-21 19:02:50 -03:00
commit 99769241eb
2 changed files with 84 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST profanity-0.18.0.tar.xz 440716 BLAKE2B 126024902e2174cc1c47301ed2fbac134f858e71ca299ca2808a038296ceb0953b6c20f658b35c0e24a3a8dc580cf781985420d2c6739ea36e371b0c5200dec1 SHA512 e2389e0b64a7f40166fc3bac8e252b210d2b7ce2d173792d7ee5c9f32c73bbfa2609ffd70e788ae4988e5737502c3cbc8f5a766857f0116655828d16349d7680
DIST profanity-0.18.2.tar.xz 441308 BLAKE2B cc6670c91fe2e3bdf840e37cb826a783f9a1814a38352d20ba1659e32720da94151e99a2bd386f3e7b22f779e136600fe54f95eb52e818f08dc2385fd76029fb SHA512 9b45ca5984ad150a3aa8b80e9753e83db5bb1c364866e16d63b717c07440fce3386e786ebbd1c1e3400afb4505c71489378daf81bcdd8eab8a7c8e02f2666d0a

View file

@ -0,0 +1,83 @@
# Copyright 2026 Shin'ya Minazuki
# This file was not copied from ::gentoo, this is written from scratch
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
inherit flag-o-matic python-single-r1 meson
DESCRIPTION="A console based XMPP client inspired by Irssi"
HOMEPAGE="https://profanity-im.github.io https://github.com/profanity-im/profanity"
SRC_URI="https://profanity-im.github.io/tarballs/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
# At the top, required run-time dependencies
# At the bottom, all optional dependencies (with USE flags)
DEPEND="
dev-db/sqlite:3
dev-libs/glib:2
>=dev-libs/libstrophe-0.12.3:=
net-misc/curl
sys-libs/ncurses:=[unicode(+)]
sys-libs/readline:=
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
gtk? ( x11-libs/gtk+:3 )
omemo? (
dev-libs/libgcrypt
net-libs/libsignal-protocol-c
)
omemo-qrcode? ( media-gfx/qrencode )
otr? ( net-libs/libotr )
python? ( ${PYTHON_DEPS} )
xscreensaver? (
x11-libs/libXscrnSaver
x11-libs/libX11
)
libnotify? ( x11-libs/libnotify )
gpg? ( app-crypt/gpgme:= )
spellcheck? ( app-text/enchant )
"
RDEPEND="${DEPEND}"
BDEPEND=""
IUSE="libnotify omemo omemo-qrcode otr gpg test xscreensaver python gtk gdk-pixbuf spellcheck plugins"
REQUIRED_USE="
omemo-qrcode? ( omemo )
python? ( ${PYTHON_REQUIRED_USE} )
"
RESTRICT="mirror"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
# [net-im/profanity::gentoo] lto-type-mismatch in tests
filter-lto
local emesonargs=(
$(meson_feature libnotify notifications)
$(meson_feature omemo)
$(meson_feature omemo-qrcode)
$(meson_feature otr)
$(meson_feature gpg pgp)
$(meson_feature xscreensaver)
$(meson_feature gtk icons-and-clipboard)
$(meson_feature gdk-pixbuf)
$(meson_feature spellcheck)
$(meson_feature plugins c-plugins)
)
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_src_install
}