From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3034B158015 for ; Sat, 23 Dec 2023 17:35:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 752122BC082; Sat, 23 Dec 2023 17:35:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F9212BC078 for ; Sat, 23 Dec 2023 17:35:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4F3533D3C2 for ; Sat, 23 Dec 2023 17:35:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44A691256 for ; Sat, 23 Dec 2023 17:35:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1703352907.5caafa7c8d6d1c63afc0f44caa4417aa9112b57d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tuba/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/tuba/Manifest net-misc/tuba/tuba-0.6.0.ebuild X-VCS-Directories: net-misc/tuba/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5caafa7c8d6d1c63afc0f44caa4417aa9112b57d X-VCS-Branch: master Date: Sat, 23 Dec 2023 17:35:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4bea9369-e384-47cf-88d7-8f49e223a695 X-Archives-Hash: c0569798c13f108c41cad28c6765ce9b commit: 5caafa7c8d6d1c63afc0f44caa4417aa9112b57d Author: Michał Górny gentoo org> AuthorDate: Sat Dec 23 16:48:17 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 23 17:35:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5caafa7c net-misc/tuba: Bump to 0.6.0 Signed-off-by: Michał Górny gentoo.org> net-misc/tuba/Manifest | 1 + net-misc/tuba/tuba-0.6.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest index d10dd0dbb41a..ad4a8f87d532 100644 --- a/net-misc/tuba/Manifest +++ b/net-misc/tuba/Manifest @@ -1 +1,2 @@ DIST Tuba-0.5.0.gh.tar.gz 1022753 BLAKE2B d17fed8b93d217a26ad38e3a0a1e576e34b309e80e445dab7054c999eadd78ed579a81af3971ecbe3cdb5f29ea7fd0ae60c2fbcd65b5591a375ad2e38c476d87 SHA512 220cd905d82711dd915bb8dfebb9ca8d840cca3ca707cea0bc1b0b78c27dc2fbf37e779ebfeb4aff123bcda4d2b59786169f8645585868498cca2bb7a87904f1 +DIST Tuba-0.6.0.gh.tar.gz 1098534 BLAKE2B 249b58d21683870f4fa67d19dd729de9f863b105d4798d7db06845a27c2639724393a4843793da0df77c17c528606edb9307a9cace1b3ad5c35bee93a664e174 SHA512 f578e17381d282848ea0dd10e9c9c65680be8f29bb8277e7f6afb5e2a855f5189e5db34f5db14ea88b57265d6d1911eb64db75510ea102de6cb16a4202c64f9d diff --git a/net-misc/tuba/tuba-0.6.0.ebuild b/net-misc/tuba/tuba-0.6.0.ebuild new file mode 100644 index 000000000000..1f835348cda9 --- /dev/null +++ b/net-misc/tuba/tuba-0.6.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2023 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] + >=dev-libs/glib-2.76.0:2 + >=dev-libs/json-glib-1.4.4[introspection] + >=dev-libs/libgee-0.8.5:0.8[introspection] + dev-libs/libxml2 + >=gui-libs/gtk-4.11.3:4[gstreamer,introspection] + >=gui-libs/libadwaita-1.4:1[introspection,vala] + >=gui-libs/gtksourceview-5.6.0:5[introspection,vala] + net-libs/libsoup:3.0[introspection] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + $(vala_depend) + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + # disable calling updaters (see pkg_post*) + -Ddistro=true + ) + + 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 +}