2023-11-22 08:51:45 +01:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2020-10-26 09:35:33 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-11-22 08:51:45 +01:00
|
|
|
EAPI=8
|
2020-10-26 09:35:33 +01:00
|
|
|
|
|
|
|
inherit gnome2-utils meson vala xdg
|
|
|
|
|
|
|
|
DESCRIPTION="Wallpaper App for Linux "
|
|
|
|
HOMEPAGE="https://github.com/calo001/fondo"
|
|
|
|
|
|
|
|
if [[ "${PV}" == *9999* ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/calo001/${PN}.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/calo001/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
2023-11-22 08:51:45 +01:00
|
|
|
# no tests
|
|
|
|
RESTRICT="test"
|
2020-10-26 09:35:33 +01:00
|
|
|
LICENSE="AGPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
RDEPEND="
|
2023-11-22 08:51:45 +01:00
|
|
|
dev-libs/glib:2
|
|
|
|
dev-libs/granite:=
|
2020-10-26 09:35:33 +01:00
|
|
|
dev-libs/json-glib
|
2023-11-22 08:51:45 +01:00
|
|
|
>=gui-libs/libhandy-0.91.0:1
|
|
|
|
net-libs/libsoup:2.4
|
|
|
|
x11-libs/gtk+:3
|
2020-10-26 09:35:33 +01:00
|
|
|
"
|
2023-11-22 08:51:45 +01:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
BDEPEND="
|
|
|
|
sys-devel/gettext
|
2020-10-26 09:35:33 +01:00
|
|
|
"
|
|
|
|
|
2023-11-22 08:51:45 +01:00
|
|
|
pkg_setup() {
|
|
|
|
vala_setup
|
2020-10-26 09:35:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_preinst() {
|
|
|
|
xdg_pkg_preinst
|
|
|
|
gnome2_schemas_savelist
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
2023-11-22 08:51:45 +01:00
|
|
|
gnome2_schemas_savelist
|
2020-10-26 09:35:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_pkg_postrm
|
2023-11-22 08:51:45 +01:00
|
|
|
gnome2_schemas_savelist
|
2020-10-26 09:35:33 +01:00
|
|
|
}
|