1
0

net-misc/tuba: new package, add 0.4.0, 9999

This commit is contained in:
Ryan Fox 2023-07-24 18:54:46 -07:00
parent 50a8cb24f0
commit f18d0cfb59
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 124 additions and 0 deletions

1
net-misc/tuba/Manifest Normal file
View File

@ -0,0 +1 @@
DIST tuba-0.4.0.tar.gz 434483 BLAKE2B a7606c99524cd3e555aca38ef94f343a36e928f8e8fd46811bdbe60feb1385363c53c7f57aebc0710f89e234e0238d01912d24e8c8f167ded8d5ef386e08d405 SHA512 d3612d988605d3c2d20249a091e0b2580aaf6a7c289646f23c6aac9552b9466d8a32621498d8c8f77509bd932326304f4f9657d1a2c7d3ed538cc7e40efa96ce

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="github">GeopJr/Tuba</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}

View File

@ -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
}