commit:     ce7397929d0616d3c1933ffb284ae8ad162b4d3e
Author:     1vybridge <openrc <AT> posteo <DOT> de>
AuthorDate: Sun Apr 13 22:05:44 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May  1 12:08:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce739792

net-im/dino: add 0.5.0

* asturm 2025-05-01: Fixing IUSE and KEYWORDS

Bug: https://bugs.gentoo.org/953635
Signed-off-by: 1vybridge <openrc <AT> posteo.de>
Part-of: https://github.com/gentoo/gentoo/pull/41582
Closes: https://github.com/gentoo/gentoo/pull/41582
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/dino/Manifest          |  1 +
 net-im/dino/dino-0.5.0.ebuild | 88 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest
index 519a4f4d4d7c..48293fc51a9f 100644
--- a/net-im/dino/Manifest
+++ b/net-im/dino/Manifest
@@ -1 +1,2 @@
 DIST dino-0.4.5.tar.gz 886933 BLAKE2B 
19afec6cedf770017ef459ab87dac38f24a4e9c7ca956145e6bd4bc99f35928ae2cc461f98de262beb6e06cd6cbbcd56197835adc8ead57c3f1f29b2c4446771
 SHA512 
877e218105b4c9b643145d557ebf0e19d9ad989146dcffde047aba46290389babf8814a8bd819788f91e34c11df0c8609c68f9de8fa418c0801c83642ad861c6
+DIST dino-0.5.0.tar.gz 1002577 BLAKE2B 
3f1cd3f8d16549dbb0af3a4827fc4657b7881a0a327942ff8fde415475c7821c5cd9426486c4ed9b37cfe4fd0019e079c960d071caa7f186b83df44854f7779c
 SHA512 
9cb6db27e6afd42204990c836019bc84a2a61af839d59cf8378520308d3016e6ac674ea4abd3044dfdf18e21e8431ef3cc85ad70d02c89d95c4dc702b32e05d2

diff --git a/net-im/dino/dino-0.5.0.ebuild b/net-im/dino/dino-0.5.0.ebuild
new file mode 100644
index 000000000000..1be0bdfa4c32
--- /dev/null
+++ b/net-im/dino/dino-0.5.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson vala xdg readme.gentoo-r1
+
+DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
+HOMEPAGE="https://dino.im";
+
+MY_REPO_URI="https://github.com/dino/dino";
+if [[ ${PV} == *9999* ]]; then
+       EGIT_REPO_URI="${MY_REPO_URI}.git"
+       inherit git-r3
+else
+       SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+gpg +http +notification-sound +omemo +rtp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-db/sqlite:3
+       dev-libs/glib:2
+       dev-libs/icu:=
+       dev-libs/libgee:0.8=
+       gui-libs/gtk:4
+       >=gui-libs/libadwaita-1.2.0:1[vala]
+       media-libs/graphene
+       net-libs/glib-networking
+       net-libs/gnutls:=
+       >=net-libs/libnice-0.1.22-r1
+       net-libs/libomemo-c
+       net-libs/libsrtp:2=
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+       gpg? ( app-crypt/gpgme:= )
+       http? ( net-libs/libsoup:3.0 )
+       notification-sound? ( media-libs/libcanberra:0[sound(+)] )
+       omemo? (
+               dev-libs/libgcrypt:=
+               media-gfx/qrencode:=
+       )
+       rtp? (
+               media-libs/gst-plugins-base:1.0
+               media-libs/gstreamer:1.0
+               media-libs/webrtc-audio-processing:1
+       )
+"
+DEPEND="${RDEPEND}
+       media-libs/gst-plugins-base
+       media-libs/gstreamer
+"
+BDEPEND="
+       sys-devel/gettext
+       $(vala_depend)
+"
+
+src_configure() {
+       vala_setup
+       local emesonargs=(
+               $(meson_feature gpg plugin-openpgp)
+               $(meson_feature http plugin-http-files)
+               $(meson_feature notification-sound plugin-notification-sound)
+               $(meson_feature omemo plugin-omemo)
+               $(meson_feature rtp plugin-rtp)
+       )
+       meson_src_configure
+}
+
+src_test() {
+       "${BUILD_DIR}"/xmpp-vala/xmpp-vala-test || die
+       meson_src_test
+}
+
+src_install() {
+       meson_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       readme.gentoo_print_elog
+}

Reply via email to