commit:     2413196cc170112209e06d7d8357af609283b9f3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May  1 12:20:50 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May  1 12:20:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2413196c

net-im/dino: Sync 9999 with latest 0.5.0 version bump

See also: https://github.com/gentoo/gentoo/pull/41582

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/dino/dino-9999.ebuild | 34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)

diff --git a/net-im/dino/dino-9999.ebuild b/net-im/dino/dino-9999.ebuild
index 87f2f6b87e59..96134303a48c 100644
--- a/net-im/dino/dino-9999.ebuild
+++ b/net-im/dino/dino-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake vala xdg readme.gentoo-r1
+inherit meson vala xdg readme.gentoo-r1
 
 DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
 HOMEPAGE="https://dino.im";
@@ -33,7 +33,7 @@ RDEPEND="
        net-libs/glib-networking
        net-libs/gnutls:=
        >=net-libs/libnice-0.1.22-r1
-       net-libs/libsignal-protocol-c
+       net-libs/libomemo-c
        net-libs/libsrtp:2=
        x11-libs/cairo
        x11-libs/gdk-pixbuf:2
@@ -62,33 +62,23 @@ BDEPEND="
 
 src_configure() {
        vala_setup
-
-       local disabled_plugins=(
-               $(usex gpg "" "openpgp")
-               $(usex omemo "" "omemo")
-               $(usex http  "" "http-files")
-               $(usex rtp "" rtp)
-       )
-       local enabled_plugins=(
-               $(usex notification-sound "notification-sound" "")
+       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)
        )
-       local mycmakeargs=(
-               "-DENABLED_PLUGINS=$(local IFS=";"; echo 
"${enabled_plugins[*]}")"
-               "-DDISABLED_PLUGINS=$(local IFS=";"; echo 
"${disabled_plugins[*]}")"
-               "-DVALA_EXECUTABLE=${VALAC}"
-               "-DSOUP_VERSION=3" # fixed bug #948374
-               "-DBUILD_TESTS=$(usex test)"
-       )
-
-       cmake_src_configure
+       meson_src_configure
 }
 
 src_test() {
-       "${BUILD_DIR}"/xmpp-vala-test || die
+       "${BUILD_DIR}"/xmpp-vala/xmpp-vala-test || die
+       meson_src_test
 }
 
 src_install() {
-       cmake_src_install
+       meson_src_install
        readme.gentoo_create_doc
 }
 

Reply via email to