From 18959c001f1f414ee8dd4326fc1a16e9089f1951 Mon Sep 17 00:00:00 2001 From: David Guglielmi Date: Sun, 5 Jan 2020 19:24:57 +0100 Subject: [PATCH] x11-misc/plank: Port to EAPI 7 --- x11-misc/plank/Manifest | 2 +- x11-misc/plank/plank-0.11.89.ebuild | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/x11-misc/plank/Manifest b/x11-misc/plank/Manifest index 56909c0..0d3e795 100644 --- a/x11-misc/plank/Manifest +++ b/x11-misc/plank/Manifest @@ -1,3 +1,3 @@ AUX plank-0.11.89-allow-building-with-gettext-0.20.patch 1653 BLAKE2B d391c5053e091b8f54eb6cc6900d4535c08249011abe836242edb58a94fbe215bb5e3e3e0566b8deb33c51f5b45b98202249f711ce6881089c66f9b7a1a185ae SHA512 8847ef839d8d0b03ee71ebdd137a4d0d41117e002edf3ca863d27afbdfb197d8267459fd59980aeddb56ffd99f4a2fa1573c10070c05338a7dbf215a43923416 DIST plank-0.11.89.tar.xz 593940 BLAKE2B b772cd8f728773be435327bf4cd36261d46b704305cc2a407f39bd8cefa77ad8e3b1f269dbbc96e45c9ab9e93ee1f5daf6c5c506c21380dfff378905a083188a SHA512 de78bcfb0614924980100b8f3067e10469163dffc34b2b7f2f2a5fa7798c5eea032bdc81a5136f17d93f485c7a4de680eb397835d2d1928ec1db06dd8b12ac40 -EBUILD plank-0.11.89.ebuild 882 BLAKE2B 7691010b41faacac7b8145da0a01b3a8a1f8e908268c598140961c26717c6eeba4ed53933418d0e06173decd373ac25bba30cc4fe8638c988df9024de8cea266 SHA512 54bbf5b19d66f0399dfda043190ca92bb3c980e4ff5ed71fceaa458caad2e53fca625bd76a4e0354530e65e903d2e5b2eabeae65b2c50a2d030848c153676637 +EBUILD plank-0.11.89.ebuild 1078 BLAKE2B 9c3a833df51e40f5f95c2253ec7e9109c11a8d83c0166070d3de4a2c3db7a6400d8da3d79771d7585f57e0870fccc9b4591fe075b4fa2fb4e6c38731a8b2bd4e SHA512 3c008912219df3109ca002fcd4acffe41ffcff831d8964dcff9b4c15c4bb9b49389d3cbd2585bfc705bbcf95e901e65447a3640de7c237714fac25bdc1894671 diff --git a/x11-misc/plank/plank-0.11.89.ebuild b/x11-misc/plank/plank-0.11.89.ebuild index a80cd26..d46f39f 100644 --- a/x11-misc/plank/plank-0.11.89.ebuild +++ b/x11-misc/plank/plank-0.11.89.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2019 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 VALA_MIN_API_VERSION=0.26 VALA_USE_DEPEND=vapigen -inherit vala gnome2 +inherit vala gnome2-utils xdg-utils DESCRIPTION="Dock panel famious docky" HOMEPAGE="https://launchpad.net/plank" @@ -40,3 +40,15 @@ src_prepare() { NOCONFIGURE=1 REQUIRED_PKG_CONFIG_VERSION=0.1 ./autogen.sh vala_src_prepare } + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +}