This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/net-misc/tootle/tootle-9999-r3.ebuild
tastytea 3cd457c851
Some checks failed
the build failed
net-misc/tootle: fixed symlink in live ebuild
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2018-07-21 21:35:34 +02:00

43 lines
842 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit meson vala gnome2-utils git-r3
DESCRIPTION="GTK3 client for Mastodon"
HOMEPAGE="https://github.com/bleakgrey/tootle"
EGIT_REPO_URI="https://github.com/bleakgrey/tootle.git"
KEYWORDS=""
LICENSE="GPL-3"
SLOT="0"
RDEPEND=">=x11-libs/gtk+-3.22.29
>=net-libs/libsoup-2.58.2
>=dev-libs/granite-0.5.0
>=dev-libs/json-glib-1.2.8"
DEPEND="${RDEPEND}
>=dev-util/meson-0.46.1
>=dev-lang/vala-0.36.13"
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
export VALAC="$(type -p valac-$(vala_best_api_version))"
default_src_prepare
}
src_install() {
meson_src_install
dosym "${EPREFIX}"/usr/bin/{com.github.bleakgrey.,}tootle
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}