From be32cd8ffb0a82d2a5b50697699f0ba5d40ca397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 18:57:05 +0100 Subject: [PATCH] media-gfx/akira: fix vala; symlink to a more sane name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- media-gfx/akira/akira-0.0.13.ebuild | 11 +++++++++++ media-gfx/akira/akira-9999.ebuild | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/media-gfx/akira/akira-0.0.13.ebuild b/media-gfx/akira/akira-0.0.13.ebuild index cdb58dd..a5d94dc 100644 --- a/media-gfx/akira/akira-0.0.13.ebuild +++ b/media-gfx/akira/akira-0.0.13.ebuild @@ -34,6 +34,17 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_prepare() { + xdg_environment_reset + vala_src_prepare + default +} + +src_install() { + meson_src_install + dosym "${EPREFIX}/usr/bin/com.github.akiraux.akira" "${EPREFIX}/usr/bin/akira" +} + pkg_preinst() { xdg_pkg_preinst gnome2_schemas_savelist diff --git a/media-gfx/akira/akira-9999.ebuild b/media-gfx/akira/akira-9999.ebuild index cdb58dd..b992bcd 100644 --- a/media-gfx/akira/akira-9999.ebuild +++ b/media-gfx/akira/akira-9999.ebuild @@ -34,6 +34,17 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_prepare() { + xdg_environment_reset + vala_src_prepare + default +} + +src_install() { + meson_src_install + dosym "${EPREFIX}/usr/bin/com.github.akiraux.${PN}" "${EPREFIX}/usr/bin/${PN}" +} + pkg_preinst() { xdg_pkg_preinst gnome2_schemas_savelist