Add net-im/profanity[override]
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
1
net-im/profanity/Manifest
Normal file
1
net-im/profanity/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST profanity-0.18.0.tar.xz 440716 BLAKE2B 126024902e2174cc1c47301ed2fbac134f858e71ca299ca2808a038296ceb0953b6c20f658b35c0e24a3a8dc580cf781985420d2c6739ea36e371b0c5200dec1 SHA512 e2389e0b64a7f40166fc3bac8e252b210d2b7ce2d173792d7ee5c9f32c73bbfa2609ffd70e788ae4988e5737502c3cbc8f5a766857f0116655828d16349d7680
|
||||
22
net-im/profanity/metadata.xml
Normal file
22
net-im/profanity/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">profanity-im/profanity</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="gpg">Enable OpenPGP encryption</flag>
|
||||
<flag name="gdk-pixbuf">Enable avatar upload and resizing</flag>
|
||||
<flag name="gtk">Enable system tray icon support</flag>
|
||||
<flag name="omemo">Enable OMEMO encryption</flag>
|
||||
<flag name="omemo-qrcode">Enable exchanging OMEMO information via QR code</flag>
|
||||
<flag name="otr">Enable encrypted conversations using Off-The-Records messaging</flag>
|
||||
<flag name="plugins">Enable C plugins support</flag>
|
||||
<flag name="python">Enable Python plugins support</flag>
|
||||
<flag name="spellcheck">Enable spell checking support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
81
net-im/profanity/profanity-0.18.0.ebuild
Normal file
81
net-im/profanity/profanity-0.18.0.ebuild
Normal file
@@ -0,0 +1,81 @@
|
||||
# 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} )
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user