2023-01-06 19:13:08 +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
|
|
|
|
|
|
|
|
COMMIT="b4046da9a7806e11cb77e85b4531c98ff4a33ca5"
|
|
|
|
DESCRIPTION="Mastodon client"
|
|
|
|
HOMEPAGE="https://gitlab.gnome.org/World/tootle"
|
|
|
|
SRC_URI="https://gitlab.gnome.org/World/tootle/-/archive/${COMMIT}/tootle-${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}"/tootle-${COMMIT}
|
|
|
|
|
|
|
|
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
|
|
|
|
"
|
|
|
|
|
2023-01-07 11:17:58 +01:00
|
|
|
DEPEND="${RDEPEND}"
|
2023-01-06 19:13:08 +01:00
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
$(vala_depend)
|
|
|
|
virtual/pkgconfig
|
|
|
|
"
|
2023-01-07 11:17:58 +01:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
vala_setup
|
|
|
|
}
|
2023-01-06 19:13:08 +01:00
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
xdg_pkg_postinst
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
xdg_pkg_postrm
|
|
|
|
}
|