diff --git a/media-gfx/fondo/Manifest b/media-gfx/fondo/Manifest index 2ea4c02..d066af3 100644 --- a/media-gfx/fondo/Manifest +++ b/media-gfx/fondo/Manifest @@ -1,2 +1,3 @@ DIST fondo-1.3.10.tar.gz 3483903 BLAKE2B 90ecc1291c445d32c74920b9ef79d68c862fe1b70fcd6e616c71393fefeef5a1b538bb4de017f4a64f53be8e49c1c26ad164e51bd8d43606722324c02d0cda74 SHA512 c906b399461590da0e69fa4ee87d0308bcb697506cc97e9626cd506370e0b1eec2d6426894490e3c6c194eb8548c3d099b40d694c7409b16b2015d1ba1bb58dd DIST fondo-1.5.0.tar.gz 3517422 BLAKE2B aa63eac326f08e988259c33ea041ab4110d6cb2b44f55b7c85f2d701b11d68507b1854eb366aa407df96b40dc5a061653de07ef703dbe7294fb8c9bba7190028 SHA512 a865495af88e32a8f337a68acedbb7ab7afdb9f698d92c697d0253eef213c1de93f22ad355cfe834ef27dc61ccb5539f6016882e28bc051f32549bfe29da97e7 +DIST fondo-1.6.1.tar.gz 3356374 BLAKE2B 310b62d9602baafb0f60d0af8089191cd9c27b162118148126430279f8519f735635d5655c87dd5c0bab990100bbfce0d627b9a38d0f4ecfb25b67e0e5d26277 SHA512 373ab22051201ebca336eb8403be360ab1f6481a5d354e3a944a44fd6d4cfa82c1fa1e5ab5a072910e7938f806fcc239b9fc6b442173d5758f5724459c1bc563 diff --git a/media-gfx/fondo/fondo-1.6.1.ebuild b/media-gfx/fondo/fondo-1.6.1.ebuild new file mode 100644 index 0000000..16984b9 --- /dev/null +++ b/media-gfx/fondo/fondo-1.6.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + +# no tests +RESTRICT="test" +LICENSE="AGPL-3" +SLOT="0" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/granite:= + dev-libs/json-glib + >=gui-libs/libhandy-0.91.0:1 + net-libs/libsoup:2.4 + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext +" + +pkg_setup() { + vala_setup +} + +pkg_preinst() { + xdg_pkg_preinst + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_savelist +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_savelist +} diff --git a/media-gfx/fondo/fondo-9999.ebuild b/media-gfx/fondo/fondo-9999.ebuild index c118d23..16984b9 100644 --- a/media-gfx/fondo/fondo-9999.ebuild +++ b/media-gfx/fondo/fondo-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit gnome2-utils meson vala xdg @@ -16,28 +16,26 @@ else KEYWORDS="~amd64" fi -RESTRICT=" - mirror - !test? ( test ) -" +# no tests +RESTRICT="test" LICENSE="AGPL-3" SLOT="0" -IUSE="test" RDEPEND=" - dev-libs/granite - x11-libs/gtk+:3 - net-libs/libsoup + dev-libs/glib:2 + dev-libs/granite:= dev-libs/json-glib + >=gui-libs/libhandy-0.91.0:1 + net-libs/libsoup:2.4 + x11-libs/gtk+:3 " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext " -src_prepare() { - xdg_environment_reset - vala_src_prepare - default +pkg_setup() { + vala_setup } pkg_preinst() { @@ -47,10 +45,10 @@ pkg_preinst() { pkg_postinst() { xdg_pkg_postinst - gnome2_schemas_update + gnome2_schemas_savelist } pkg_postrm() { xdg_pkg_postrm - gnome2_schemas_update + gnome2_schemas_savelist }