diff options
author | Sam James <sam@gentoo.org> | 2023-05-06 12:08:22 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-06 12:34:02 +0100 |
commit | fdaa4025648241ecde25737da32459abea05f3f0 (patch) | |
tree | 967ed65bfb218b74832ac8a94cedd9759a96b65e /x11-misc/meteo/meteo-0.9.9.1-r3.ebuild | |
parent | x11-misc/meteo: add gitlab upstream metadata (diff) | |
download | gentoo-fdaa4025648241ecde25737da32459abea05f3f0.tar.gz gentoo-fdaa4025648241ecde25737da32459abea05f3f0.tar.bz2 gentoo-fdaa4025648241ecde25737da32459abea05f3f0.zip |
x11-misc/meteo: drop stale dev-util/intltool dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/meteo/meteo-0.9.9.1-r3.ebuild')
-rw-r--r-- | x11-misc/meteo/meteo-0.9.9.1-r3.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/x11-misc/meteo/meteo-0.9.9.1-r3.ebuild b/x11-misc/meteo/meteo-0.9.9.1-r3.ebuild new file mode 100644 index 000000000000..65d2e2cb6ad8 --- /dev/null +++ b/x11-misc/meteo/meteo-0.9.9.1-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="Forecast application using OpenWeatherMap API" +HOMEPAGE="https://gitlab.com/bitseater/meteo" +SRC_URI="https://gitlab.com/bitseater/meteo/-/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +# One test needs network (#828052), the other simply checks desktop file +# validation, that we also test with our QA tests +RESTRICT="test" + +DEPEND=" + dev-libs/libayatana-appindicator:0 + dev-libs/glib:2 + dev-libs/json-glib + net-libs/libsoup:2.4 + net-libs/webkit-gtk:4 + x11-libs/gtk+:3 +" +RDEPEND="${DEPEND} + gnome-base/gsettings-desktop-schemas + x11-themes/hicolor-icon-theme +" +BDEPEND="${PYTHON_DEPS} + dev-libs/appstream-glib + virtual/pkgconfig + $(vala_depend) +" + +src_configure() { + vala_setup + meson_src_configure +} + +src_install() { + meson_src_install + dosym com.gitlab.bitseater.meteo /usr/bin/meteo +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |