diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest new file mode 100644 index 0000000..c3d2af5 --- /dev/null +++ b/net-misc/tuba/Manifest @@ -0,0 +1 @@ +DIST tuba-0.4.0.tar.gz 434483 BLAKE2B a7606c99524cd3e555aca38ef94f343a36e928f8e8fd46811bdbe60feb1385363c53c7f57aebc0710f89e234e0238d01912d24e8c8f167ded8d5ef386e08d405 SHA512 d3612d988605d3c2d20249a091e0b2580aaf6a7c289646f23c6aac9552b9466d8a32621498d8c8f77509bd932326304f4f9657d1a2c7d3ed538cc7e40efa96ce diff --git a/net-misc/tuba/metadata.xml b/net-misc/tuba/metadata.xml new file mode 100644 index 0000000..e878d15 --- /dev/null +++ b/net-misc/tuba/metadata.xml @@ -0,0 +1,11 @@ + + + + + flewkey@2a03.party + Ryan Fox + + + GeopJr/Tuba + + diff --git a/net-misc/tuba/tuba-0.4.0.ebuild b/net-misc/tuba/tuba-0.4.0.ebuild new file mode 100644 index 0000000..62b53dc --- /dev/null +++ b/net-misc/tuba/tuba-0.4.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome2-utils meson vala xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/GeopJr/Tuba.git" +else + MY_PN="Tuba" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/GeopJr/Tuba/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Mastodon client, previously known as Tooth" +HOMEPAGE="https://tuba.geopjr.dev/" +LICENSE="CC-BY-3.0 GPL-3+" +SLOT="0" + +DEPEND=" + >=app-crypt/libsecret-0.20 + >=dev-libs/glib-2.71.2 + >=dev-libs/json-glib-1.4.4 + >=dev-libs/libxml2-2.9.10 + >=dev-libs/libgee-0.8.5 + >=gui-libs/gtk-4.3:4 + >=gui-libs/libadwaita-1.2 + >=net-libs/libsoup-3 + gui-libs/gtksourceview:5 +" +RDEPEND="${DEPEND}" +BDEPEND=" + $(vala_depend) + virtual/pkgconfig +" + +VALA_MIN_API_VERSION=0.48 + +src_prepare() { + default + vala_setup +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +} diff --git a/net-misc/tuba/tuba-9999.ebuild b/net-misc/tuba/tuba-9999.ebuild new file mode 100644 index 0000000..62b53dc --- /dev/null +++ b/net-misc/tuba/tuba-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome2-utils meson vala xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/GeopJr/Tuba.git" +else + MY_PN="Tuba" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/GeopJr/Tuba/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Mastodon client, previously known as Tooth" +HOMEPAGE="https://tuba.geopjr.dev/" +LICENSE="CC-BY-3.0 GPL-3+" +SLOT="0" + +DEPEND=" + >=app-crypt/libsecret-0.20 + >=dev-libs/glib-2.71.2 + >=dev-libs/json-glib-1.4.4 + >=dev-libs/libxml2-2.9.10 + >=dev-libs/libgee-0.8.5 + >=gui-libs/gtk-4.3:4 + >=gui-libs/libadwaita-1.2 + >=net-libs/libsoup-3 + gui-libs/gtksourceview:5 +" +RDEPEND="${DEPEND}" +BDEPEND=" + $(vala_depend) + virtual/pkgconfig +" + +VALA_MIN_API_VERSION=0.48 + +src_prepare() { + default + vala_setup +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +}