gjdwebserver-overlay/net-im/tooth/tooth-202302327.ebuild

50 lines
897 B
Bash
Raw Normal View History

2023-01-13 11:50:38 +01:00
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson vala xdg
2023-02-27 18:50:31 +01:00
COMMIT="8c908a05a7d7ddb3bbc5e47af94d3bdbd1334f03"
2023-01-13 11:50:38 +01:00
DESCRIPTION="Mastodon client"
HOMEPAGE="https://github.com/GeopJr/Tooth"
SRC_URI="https://github.com/GeopJr/Tooth/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
2023-01-13 11:51:40 +01:00
S="${WORKDIR}"/Tooth-${COMMIT}
2023-01-13 11:50:38 +01:00
LICENSE="CC-BY-3.0 GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
>=dev-libs/glib-2.30
>=dev-libs/json-glib-1.4.4
>=dev-libs/libxml2-2.9.10
>=dev-libs/libgee-0.8.5
>=net-libs/libsoup-2.64
>=gui-libs/gtk-4.3.0
>=gui-libs/libadwaita-1.0
>=app-crypt/libsecret-0.20
"
DEPEND="${RDEPEND}"
BDEPEND="
$(vala_depend)
virtual/pkgconfig
"
src_prepare() {
default
vala_setup
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}