commit:     521464f8e0ebd325b7ede5adda306fad4d1f6642
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 11 03:09:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 11 03:32:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521464f8

net-misc/tuba: Bump to 0.10.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-misc/tuba/Manifest           |  1 +
 net-misc/tuba/tuba-0.10.3.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest
index 00ff319742de..30f88b14dea7 100644
--- a/net-misc/tuba/Manifest
+++ b/net-misc/tuba/Manifest
@@ -1,3 +1,4 @@
 DIST Tuba-0.10.1.gh.tar.gz 2845479 BLAKE2B 
f8e93c242d558ddd423efc71c6392bdaa412dd570e99c939cf8d4b2ae045fcf0476b1eeadbb323a3991fe09e732d976912955ff226f859e3ca742865ef70f3bd
 SHA512 
7bc9977e12165198a3480c90fb58fa8a5d0054a64c11af0aa090fb4758c2722afae8c9d1afd45c162f5cf095a60149e0b49fbcc213c7e59912918e84b12298a5
 DIST Tuba-0.10.2.gh.tar.gz 2846919 BLAKE2B 
4c907e008f5885fa01dddb630cfb0e155ea2cb355093fab4eaa515a7f38e074d2d45dcf2fcb19aad8280904856131c2b210d93898fdd352006a54f2a5eabeba0
 SHA512 
239d0340ac73113ff05455fb776c28a168a08727d9033c7a5194d042c4403c2152b97b59ca492ce6e351ffcca1370dad68b5f23eeadb7ece3c5619522192bcec
+DIST Tuba-0.10.3.gh.tar.gz 2848312 BLAKE2B 
0ff29ebf7f37bea17d82e040b4e63c49acd03e6440017691ab1fae937f4ddfae944f67fc92f1eca71773d21787f692c39dfe8c8c1afecf723babdee7e30fca87
 SHA512 
3b7174f27e4b91b60868411909338d806a916cd7c4c47686c56eed68dcfda283ec6ab85ce4eebd1c392aecc3205c111d54f83e59fc66274256a19b0a004491f5
 DIST Tuba-0.9.2.gh.tar.gz 2190160 BLAKE2B 
f4d0f6c1bca6da011fb19a42a34fc3773e5f2693075a9ac7d5d30d78701371e42c326482baa548688431022cf09661e78bac71da42c7e4b99652c57fa1eb5ee8
 SHA512 
2243a796fd5fb6fb8ce16640d0d5d49e64ad01736413408ca9825ef0ded3ccc2caa5daf7ce45685f0cfbb85100d34703ede4a59b235d371232f2c03a7a126ae1

diff --git a/net-misc/tuba/tuba-0.10.3.ebuild b/net-misc/tuba/tuba-0.10.3.ebuild
new file mode 100644
index 000000000000..ab792bb713ef
--- /dev/null
+++ b/net-misc/tuba/tuba-0.10.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson optfeature vala
+
+MY_P=${P^}
+DESCRIPTION="Browse the Fediverse (GTK client)"
+HOMEPAGE="
+       https://tuba.geopjr.dev/
+       https://github.com/GeopJr/Tuba/
+"
+SRC_URI="
+       https://github.com/GeopJr/Tuba/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="exif gstreamer spell webkit"
+
+DEPEND="
+       app-crypt/libsecret[introspection,vala]
+       >=dev-libs/glib-2.80.0:2
+       dev-libs/icu:=
+       >=dev-libs/json-glib-1.4.4[introspection]
+       >=dev-libs/libgee-0.8.5:0.8[introspection]
+       dev-libs/libxml2:=
+       >=gui-libs/gtk-4.18:4[introspection]
+       >=gui-libs/libadwaita-1.7:1[introspection,vala]
+       >=gui-libs/gtksourceview-5.6.0:5[introspection,vala]
+       net-libs/libsoup:3.0[introspection,vala]
+       exif? (
+               >=media-libs/gexiv2-0.14:=[introspection,vala]
+       )
+       gstreamer? (
+               >=gui-libs/gtk-4.13.4:4[gstreamer,introspection]
+               media-libs/gstreamer[introspection]
+       )
+       spell? (
+               app-text/libspelling[vala]
+       )
+       webkit? (
+               net-libs/webkit-gtk:6
+       )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       $(vala_depend)
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               # disable calling updaters (see pkg_post*)
+               -Ddistro=true
+               $(meson_feature spell spelling)
+               # not packaged
+               -Dclapper=disabled
+               $(meson_feature gstreamer)
+               $(meson_feature webkit in-app-browser)
+               $(meson_feature exif gexiv2)
+       )
+
+       vala_setup
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       dosym dev.geopjr.Tuba /usr/bin/tuba
+}
+
+pkg_postinst() {
+       optfeature "WebP image support" gui-libs/gdk-pixbuf-loader-webp
+
+       gnome2_schemas_update
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_schemas_update
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to