From 1e442330278e34c1fb72e00f70fab782c79b6e73 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 15 Jan 2022 10:18:41 +0100 Subject: app-misc/klavaro: update XDG icon cache Closes: https://bugs.gentoo.org/831223 Signed-off-by: Florian Schmaus --- app-misc/klavaro/klavaro-3.13-r1.ebuild | 50 +++++++++++++++++++++++++++++++++ app-misc/klavaro/klavaro-3.13.ebuild | 45 ----------------------------- 2 files changed, 50 insertions(+), 45 deletions(-) create mode 100644 app-misc/klavaro/klavaro-3.13-r1.ebuild delete mode 100644 app-misc/klavaro/klavaro-3.13.ebuild diff --git a/app-misc/klavaro/klavaro-3.13-r1.ebuild b/app-misc/klavaro/klavaro-3.13-r1.ebuild new file mode 100644 index 000000000000..48acb01a0ffc --- /dev/null +++ b/app-misc/klavaro/klavaro-3.13-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools optfeature xdg-utils + +DESCRIPTION="Another free touch typing tutor program" +HOMEPAGE="https://klavaro.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-util/intltool + >=sys-devel/gettext-0.18.3 +" +RDEPEND=" + dev-libs/glib:2 + net-misc/curl + x11-libs/gtk+:3 + >=x11-libs/gtkdatabox-1.0.0 + x11-libs/pango +" + +DEPEND="${RDEPEND}" + +PATCHES=( + # https://sourceforge.net/p/klavaro/patches/16/ + "${FILESDIR}"/${PN}-3.13-datadir.patch + # https://sourceforge.net/p/klavaro/patches/17/ + "${FILESDIR}"/${PN}-3.13-desktop-keywords.patch +) + +src_prepare() { + default + + eautoreconf +} + +pkg_postinst() { + xdg_icon_cache_update + optfeature "instructions via synthesized speech" app-accessibility/espeak +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-misc/klavaro/klavaro-3.13.ebuild b/app-misc/klavaro/klavaro-3.13.ebuild deleted file mode 100644 index ccb81f02cfd6..000000000000 --- a/app-misc/klavaro/klavaro-3.13.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools optfeature - -DESCRIPTION="Another free touch typing tutor program" -HOMEPAGE="https://klavaro.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - dev-util/intltool - >=sys-devel/gettext-0.18.3 -" -RDEPEND=" - dev-libs/glib:2 - net-misc/curl - x11-libs/gtk+:3 - >=x11-libs/gtkdatabox-1.0.0 - x11-libs/pango -" - -DEPEND="${RDEPEND}" - -PATCHES=( - # https://sourceforge.net/p/klavaro/patches/16/ - "${FILESDIR}"/${PN}-3.13-datadir.patch - # https://sourceforge.net/p/klavaro/patches/17/ - "${FILESDIR}"/${PN}-3.13-desktop-keywords.patch -) - -src_prepare() { - default - - eautoreconf -} - -pkg_postinst() { - optfeature "instructions via synthesized speech" app-accessibility/espeak -} -- cgit v1.2.3-65-gdbad