You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.1 KiB
57 lines
1.1 KiB
1 year ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
3 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
1 year ago
|
EAPI=8
|
||
2 years ago
|
|
||
1 year ago
|
PYTHON_COMPAT=( python3_{9..11} )
|
||
2 years ago
|
inherit gnome2-utils meson python-any-r1 vala xdg
|
||
3 years ago
|
|
||
|
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"
|
||
1 year ago
|
# One test needs network (#828052), the other simply checks desktop file
|
||
|
# validation, that we also test with our QA tests
|
||
|
RESTRICT="test"
|
||
3 years ago
|
|
||
|
DEPEND="
|
||
1 year ago
|
dev-libs/libayatana-appindicator:0
|
||
3 years ago
|
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
|
||
|
"
|
||
2 years ago
|
BDEPEND="${PYTHON_DEPS}
|
||
3 years ago
|
dev-libs/appstream-glib
|
||
|
virtual/pkgconfig
|
||
1 year ago
|
$(vala_depend)
|
||
3 years ago
|
"
|
||
|
|
||
1 year ago
|
src_configure() {
|
||
1 year ago
|
vala_setup
|
||
1 year ago
|
meson_src_configure
|
||
3 years ago
|
}
|
||
|
|
||
|
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
|
||
|
}
|