diff options
author | Philipp Rösner <rndxelement@protonmail.com> | 2024-03-12 20:57:44 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-03-18 21:02:30 +0100 |
commit | 00408ea6dab96c07622a013d90d9ce7bceffe880 (patch) | |
tree | 3f9a1e1838f24b7238bd4e249d8023e8860a908c /app-editors/retext | |
parent | app-editors/retext: fix desktop file issues (diff) | |
download | gentoo-00408ea6dab96c07622a013d90d9ce7bceffe880.tar.gz gentoo-00408ea6dab96c07622a013d90d9ce7bceffe880.tar.bz2 gentoo-00408ea6dab96c07622a013d90d9ce7bceffe880.zip |
app-editors/retext-9999: fix desktop file issues
Fix desktop file issues as in commit 174d953a8935.
The added patch is excluded in the 9999 ebuild, as
upstream changed the particular line.
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35730
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-editors/retext')
-rw-r--r-- | app-editors/retext/retext-9999.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild index aa9aaadfcf57..38c1165fb129 100644 --- a/app-editors/retext/retext-9999.ebuild +++ b/app-editors/retext/retext-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,13 +47,6 @@ pkg_setup() { export PATH="$(qt5_get_bindir):${PATH}" } -python_install() { - distutils-r1_python_install - - newicon data/retext-kde5.png retext.png - make_desktop_entry ${PN} "ReText" ${PN} "Office;WordProcessor" -} - src_test() { virtx distutils-r1_src_test } @@ -62,6 +55,16 @@ python_test() { virtx eunittest } +src_install() { + distutils-r1_src_install + + newicon data/retext-kde5.png retext.png + + # Fixme: The application actually provides a desktop file which theoretically + # could be used, so far though I could not make it install properly. + make_desktop_entry ${PN} "ReText" ${PN} "Office;WordProcessor" +} + pkg_postinst() { xdg_pkg_postinst |