commit: 69ba94063fab138096bfff92e8d35e719f6253cd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 03:01:00 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 03:58:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ba9406
net-misc/tuba: Bump to 0.10.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/tuba/Manifest | 1 +
net-misc/tuba/tuba-0.10.1.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest
index af247a489a01..db99e8fe1f1b 100644
--- a/net-misc/tuba/Manifest
+++ b/net-misc/tuba/Manifest
@@ -1,2 +1,3 @@
DIST Tuba-0.10.0.gh.tar.gz 2843841 BLAKE2B
a307eeb8f1145119a71e7b300a028fd6540db0076c22cd37c030e8fb7dc1accec8ec1595fe02087358df3534b9aba1784e63a00f1feea7101a5d0d85fc8b0353
SHA512
8d3a265e45d076cb8af81d40170d38bbcb9fbe2904da9fb9f377048a5412e345fe377a9ca9cb85bd5d91c5e9ba8006ee2568137a268ae1ec08086a6b69f9d936
+DIST Tuba-0.10.1.gh.tar.gz 2845479 BLAKE2B
f8e93c242d558ddd423efc71c6392bdaa412dd570e99c939cf8d4b2ae045fcf0476b1eeadbb323a3991fe09e732d976912955ff226f859e3ca742865ef70f3bd
SHA512
7bc9977e12165198a3480c90fb58fa8a5d0054a64c11af0aa090fb4758c2722afae8c9d1afd45c162f5cf095a60149e0b49fbcc213c7e59912918e84b12298a5
DIST Tuba-0.9.2.gh.tar.gz 2190160 BLAKE2B
f4d0f6c1bca6da011fb19a42a34fc3773e5f2693075a9ac7d5d30d78701371e42c326482baa548688431022cf09661e78bac71da42c7e4b99652c57fa1eb5ee8
SHA512
2243a796fd5fb6fb8ce16640d0d5d49e64ad01736413408ca9825ef0ded3ccc2caa5daf7ce45685f0cfbb85100d34703ede4a59b235d371232f2c03a7a126ae1
diff --git a/net-misc/tuba/tuba-0.10.1.ebuild b/net-misc/tuba/tuba-0.10.1.ebuild
new file mode 100644
index 000000000000..ab792bb713ef
--- /dev/null
+++ b/net-misc/tuba/tuba-0.10.1.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
+}