src_prepare-overlay/media-gfx/fondo/fondo-1.3.10.ebuild
Maciej Barć bb4e66e11e
media-gfx/fondo: new package; add version 1.3.10 and 9999 (live)
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-10-26 09:35:33 +01:00

57 lines
878 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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
RESTRICT="
mirror
!test? ( test )
"
LICENSE="AGPL-3"
SLOT="0"
IUSE="test"
RDEPEND="
dev-libs/granite
x11-libs/gtk+:3
net-libs/libsoup
dev-libs/json-glib
"
DEPEND="
${RDEPEND}
"
src_prepare() {
xdg_environment_reset
vala_src_prepare
default
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}