* [gentoo-commits] repo/gentoo:master commit in: net-misc/tuba/files/, net-misc/tuba/
@ 2025-05-17 17:41 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2025-05-17 17:41 UTC (permalink / raw
To: gentoo-commits
commit: 7aae82e2b7b74eabf07502a348878dbe92b82eac
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 17:28:49 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 17 17:41:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aae82e2
net-misc/tuba: Make all optional dependencies optional
Closes: https://bugs.gentoo.org/955776
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/tuba/files/tuba-0.9.2-meson-feature.patch | 57 ++++++++++++++++++++++
net-misc/tuba/tuba-0.9.2-r2.ebuild | 21 ++++++--
2 files changed, 74 insertions(+), 4 deletions(-)
diff --git a/net-misc/tuba/files/tuba-0.9.2-meson-feature.patch b/net-misc/tuba/files/tuba-0.9.2-meson-feature.patch
new file mode 100644
index 000000000000..7400f6a7779d
--- /dev/null
+++ b/net-misc/tuba/files/tuba-0.9.2-meson-feature.patch
@@ -0,0 +1,57 @@
+From 46b78d4cb134643159e5dc56cff5ca3477e87a87 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Sat, 17 May 2025 19:24:42 +0200
+Subject: [PATCH] Use meson features to control options
+
+---
+ meson.build | 11 +++++------
+ meson_options.txt | 4 +++-
+ 2 files changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 31c24036..090009f2 100644
+--- a/meson.build
++++ b/meson.build
+@@ -18,7 +18,6 @@ endif
+
+ devel = get_option('devel')
+ distro = get_option('distro')
+-clapper_support = get_option('clapper')
+
+ # Setup configuration file
+ config = configuration_data()
+@@ -82,10 +81,10 @@ gtk_dep = dependency('gtk4', version: '>=4.13.4', required: true)
+ libadwaita_dep = dependency('libadwaita-1', version: '>=1.5', required: true)
+ gtksourceview_dep = dependency('gtksourceview-5', required: true, version: '>=5.6.0')
+ libwebp_dep = dependency('libwebp', required: false)
+-libspelling = dependency('libspelling-1', required: false)
+-clapper_dep = dependency('clapper-0.0', required: false)
+-clapper_gtk_dep = dependency('clapper-gtk-0.0', required: false)
+-gstreamer_dep = dependency('gstreamer-1.0', required: false)
++libspelling = dependency('libspelling-1', required: get_option('spelling'))
++clapper_dep = dependency('clapper-0.0', required: get_option('clapper'))
++clapper_gtk_dep = dependency('clapper-gtk-0.0', required: get_option('clapper'))
++gstreamer_dep = dependency('gstreamer-1.0', required: get_option('gstreamer'))
+
+ if not libwebp_dep.found ()
+ warning('WebP support might be missing, please install webp-pixbuf-loader.')
+@@ -104,7 +103,7 @@ if gstreamer_dep.found ()
+ gstreamer = true
+ endif
+
+-if clapper_support and clapper_dep.found () and clapper_dep.version().version_compare('>=0.6.0') and clapper_gtk_dep.found ()
++if clapper_dep.found () and clapper_dep.version().version_compare('>=0.6.0') and clapper_gtk_dep.found ()
+ add_project_arguments(['--define=CLAPPER'], language: 'vala')
+ if (clapper_dep.get_variable('features').split().contains('mpris'))
+ add_project_arguments(['--define=CLAPPER_MPRIS'], language: 'vala')
+diff --git a/meson_options.txt b/meson_options.txt
+index 43f8a39f..3c94914f 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,3 +1,5 @@
+ option('devel', type: 'boolean', value: false)
+ option('distro', type: 'boolean', value: false)
+-option('clapper', type: 'boolean', value: false)
++option('spelling', type: 'feature')
++option('clapper', type: 'feature')
++option('gstreamer', type: 'feature')
diff --git a/net-misc/tuba/tuba-0.9.2-r2.ebuild b/net-misc/tuba/tuba-0.9.2-r2.ebuild
index 4e766f1989e2..f117453008d1 100644
--- a/net-misc/tuba/tuba-0.9.2-r2.ebuild
+++ b/net-misc/tuba/tuba-0.9.2-r2.ebuild
@@ -20,22 +20,28 @@ S=${WORKDIR}/${MY_P}
LICENSE="GPL-3 CC-BY-SA-4.0"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="gstreamer spell"
# note: some dependencies are optional but if they are found without [vala],
# they end up breaking the build
DEPEND="
app-crypt/libsecret[introspection,vala]
- app-text/libspelling[vala]
>=dev-libs/glib-2.76.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.13.4:4[gstreamer,introspection]
+ >=gui-libs/gtk-4.13.4:4[introspection]
>=gui-libs/libadwaita-1.6:1[introspection,vala]
>=gui-libs/gtksourceview-5.6.0:5[introspection,vala]
- media-libs/gstreamer[introspection]
net-libs/libsoup:3.0[introspection,vala]
+ gstreamer? (
+ >=gui-libs/gtk-4.13.4:4[gstreamer,introspection]
+ media-libs/gstreamer[introspection]
+ )
+ spell? (
+ app-text/libspelling[vala]
+ )
"
RDEPEND="
${DEPEND}
@@ -46,12 +52,19 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ # https://github.com/GeopJr/Tuba/pull/1423
+ "${FILESDIR}/${P}-meson-feature.patch"
+)
+
src_configure() {
local emesonargs=(
# disable calling updaters (see pkg_post*)
-Ddistro=true
+ $(meson_feature spell spelling)
# not packaged
- -Dclapper=false
+ -Dclapper=disabled
+ $(meson_feature gstreamer)
)
vala_setup
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/tuba/files/, net-misc/tuba/
@ 2025-08-31 3:06 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2025-08-31 3:06 UTC (permalink / raw
To: gentoo-commits
commit: 2b29d49a06d1ece7cf70e36609b008cbec6ba41f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 02:58:31 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 02:58:31 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b29d49a
net-misc/tuba: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/tuba/Manifest | 1 -
net-misc/tuba/files/tuba-0.10.0-gexiv2-dep.patch | 38 ----------
net-misc/tuba/tuba-0.10.0.ebuild | 97 ------------------------
3 files changed, 136 deletions(-)
diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest
index db99e8fe1f1b..9da235a52d3c 100644
--- a/net-misc/tuba/Manifest
+++ b/net-misc/tuba/Manifest
@@ -1,3 +1,2 @@
-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/files/tuba-0.10.0-gexiv2-dep.patch b/net-misc/tuba/files/tuba-0.10.0-gexiv2-dep.patch
deleted file mode 100644
index 715ff085b8d5..000000000000
--- a/net-misc/tuba/files/tuba-0.10.0-gexiv2-dep.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From a7da2b1f63d792e40dc52e984cd97f379152b5d4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 4 Aug 2025 09:12:58 +0200
-Subject: [PATCH] fix(meson): fix `gexiv2-0.16` lookup to respect `gexiv2`
- option
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Pass both `gexiv2-0.16` and `gexiv2` packages to a single `dependency()`
-lookup, in order to simplify the logic and fix respecting `gexiv2`
-option. This is supported since meson 0.60.0. The minimum version
-can be left as `>=0.14`, since `meson-0.16` will always be newer than
-`>=0.15`. Thanks to Eli Schwartz for the suggestion.
-
-Fixes #1522
-
-Signed-off-by: Michał Górny <mgorny@gentoo.org>
----
- meson.build | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 8887b3e8..4a0dfe94 100644
---- a/meson.build
-+++ b/meson.build
-@@ -82,10 +82,7 @@ clapper_gtk_dep = dependency('clapper-gtk-0.0', required: get_option('clapper'))
- gstreamer_dep = dependency('gstreamer-1.0', required: get_option('gstreamer'))
- webkit_dep = dependency('webkitgtk-6.0', required: get_option('in-app-browser'))
-
--gexiv2_dep = dependency('gexiv2-0.16', version: '>=0.15', required: false)
--if not gexiv2_dep.found ()
-- gexiv2_dep = dependency('gexiv2', version: '>=0.14', required: get_option('gexiv2'))
--endif
-+gexiv2_dep = dependency('gexiv2-0.16', 'gexiv2', version: '>=0.14', required: get_option('gexiv2'))
-
- if not libwebp_dep.found ()
- warning('WebP support might be missing, please install webp-pixbuf-loader.')
diff --git a/net-misc/tuba/tuba-0.10.0.ebuild b/net-misc/tuba/tuba-0.10.0.ebuild
deleted file mode 100644
index 2f7d0203fda7..000000000000
--- a/net-misc/tuba/tuba-0.10.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# 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
-"
-
-PATCHES=(
- # https://github.com/GeopJr/Tuba/pull/1523
- "${FILESDIR}/${P}-gexiv2-dep.patch"
-)
-
-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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/tuba/files/, net-misc/tuba/
@ 2025-10-13 12:19 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2025-10-13 12:19 UTC (permalink / raw
To: gentoo-commits
commit: fac6f956464a935b65c35aae0de682794202f6a8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 12:10:36 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 13 12:10:36 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac6f956
net-misc/tuba: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/tuba/Manifest | 2 -
net-misc/tuba/files/tuba-0.9.2-meson-feature.patch | 57 --------------
net-misc/tuba/tuba-0.10.1.ebuild | 92 ----------------------
net-misc/tuba/tuba-0.9.2-r1.ebuild | 76 ------------------
net-misc/tuba/tuba-0.9.2-r2.ebuild | 91 ---------------------
5 files changed, 318 deletions(-)
diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest
index 30f88b14dea7..85b1d7808204 100644
--- a/net-misc/tuba/Manifest
+++ b/net-misc/tuba/Manifest
@@ -1,4 +1,2 @@
-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/files/tuba-0.9.2-meson-feature.patch b/net-misc/tuba/files/tuba-0.9.2-meson-feature.patch
deleted file mode 100644
index 7400f6a7779d..000000000000
--- a/net-misc/tuba/files/tuba-0.9.2-meson-feature.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 46b78d4cb134643159e5dc56cff5ca3477e87a87 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 17 May 2025 19:24:42 +0200
-Subject: [PATCH] Use meson features to control options
-
----
- meson.build | 11 +++++------
- meson_options.txt | 4 +++-
- 2 files changed, 8 insertions(+), 7 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 31c24036..090009f2 100644
---- a/meson.build
-+++ b/meson.build
-@@ -18,7 +18,6 @@ endif
-
- devel = get_option('devel')
- distro = get_option('distro')
--clapper_support = get_option('clapper')
-
- # Setup configuration file
- config = configuration_data()
-@@ -82,10 +81,10 @@ gtk_dep = dependency('gtk4', version: '>=4.13.4', required: true)
- libadwaita_dep = dependency('libadwaita-1', version: '>=1.5', required: true)
- gtksourceview_dep = dependency('gtksourceview-5', required: true, version: '>=5.6.0')
- libwebp_dep = dependency('libwebp', required: false)
--libspelling = dependency('libspelling-1', required: false)
--clapper_dep = dependency('clapper-0.0', required: false)
--clapper_gtk_dep = dependency('clapper-gtk-0.0', required: false)
--gstreamer_dep = dependency('gstreamer-1.0', required: false)
-+libspelling = dependency('libspelling-1', required: get_option('spelling'))
-+clapper_dep = dependency('clapper-0.0', required: get_option('clapper'))
-+clapper_gtk_dep = dependency('clapper-gtk-0.0', required: get_option('clapper'))
-+gstreamer_dep = dependency('gstreamer-1.0', required: get_option('gstreamer'))
-
- if not libwebp_dep.found ()
- warning('WebP support might be missing, please install webp-pixbuf-loader.')
-@@ -104,7 +103,7 @@ if gstreamer_dep.found ()
- gstreamer = true
- endif
-
--if clapper_support and clapper_dep.found () and clapper_dep.version().version_compare('>=0.6.0') and clapper_gtk_dep.found ()
-+if clapper_dep.found () and clapper_dep.version().version_compare('>=0.6.0') and clapper_gtk_dep.found ()
- add_project_arguments(['--define=CLAPPER'], language: 'vala')
- if (clapper_dep.get_variable('features').split().contains('mpris'))
- add_project_arguments(['--define=CLAPPER_MPRIS'], language: 'vala')
-diff --git a/meson_options.txt b/meson_options.txt
-index 43f8a39f..3c94914f 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -1,3 +1,5 @@
- option('devel', type: 'boolean', value: false)
- option('distro', type: 'boolean', value: false)
--option('clapper', type: 'boolean', value: false)
-+option('spelling', type: 'feature')
-+option('clapper', type: 'feature')
-+option('gstreamer', type: 'feature')
diff --git a/net-misc/tuba/tuba-0.10.1.ebuild b/net-misc/tuba/tuba-0.10.1.ebuild
deleted file mode 100644
index ab792bb713ef..000000000000
--- a/net-misc/tuba/tuba-0.10.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# 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
-}
diff --git a/net-misc/tuba/tuba-0.9.2-r1.ebuild b/net-misc/tuba/tuba-0.9.2-r1.ebuild
deleted file mode 100644
index 5ffc36672022..000000000000
--- a/net-misc/tuba/tuba-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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"
-
-# TODO: optional dep on libspelling-1
-DEPEND="
- app-crypt/libsecret[introspection,vala]
- >=dev-libs/glib-2.76.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.13.4:4[gstreamer,introspection]
- >=gui-libs/libadwaita-1.6:1[introspection,vala]
- >=gui-libs/gtksourceview-5.6.0:5[introspection,vala]
- media-libs/gstreamer[introspection]
- net-libs/libsoup:3.0[introspection,vala]
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- $(vala_depend)
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-src_configure() {
- local emesonargs=(
- # disable calling updaters (see pkg_post*)
- -Ddistro=true
- # not packaged
- -Dclapper=false
- )
-
- 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
-}
diff --git a/net-misc/tuba/tuba-0.9.2-r2.ebuild b/net-misc/tuba/tuba-0.9.2-r2.ebuild
deleted file mode 100644
index b66236cb18fc..000000000000
--- a/net-misc/tuba/tuba-0.9.2-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# 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"
-IUSE="gstreamer spell"
-
-# note: some dependencies are optional but if they are found without [vala],
-# they end up breaking the build
-DEPEND="
- app-crypt/libsecret[introspection,vala]
- >=dev-libs/glib-2.76.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.13.4:4[introspection]
- >=gui-libs/libadwaita-1.6:1[introspection,vala]
- >=gui-libs/gtksourceview-5.6.0:5[introspection,vala]
- net-libs/libsoup:3.0[introspection,vala]
- gstreamer? (
- >=gui-libs/gtk-4.13.4:4[gstreamer,introspection]
- media-libs/gstreamer[introspection]
- )
- spell? (
- app-text/libspelling[vala]
- )
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- $(vala_depend)
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-PATCHES=(
- # https://github.com/GeopJr/Tuba/pull/1423
- "${FILESDIR}/${P}-meson-feature.patch"
-)
-
-src_configure() {
- local emesonargs=(
- # disable calling updaters (see pkg_post*)
- -Ddistro=true
- $(meson_feature spell spelling)
- # not packaged
- -Dclapper=disabled
- $(meson_feature gstreamer)
- )
-
- 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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-13 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 12:19 [gentoo-commits] repo/gentoo:master commit in: net-misc/tuba/files/, net-misc/tuba/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2025-08-31 3:06 Michał Górny
2025-05-17 17:41 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox