commit: aeac8731c2caa23953340629686b4643d521285b
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 14:42:53 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 14:45:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeac8731
app-editors/tea: use xdg eclass
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-editors/tea/tea-62.1.1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-editors/tea/tea-62.1.1.ebuild
b/app-editors/tea/tea-62.1.1.ebuild
index d0e26ed1bde2..98ca7bb80309 100644
--- a/app-editors/tea/tea-62.1.1.ebuild
+++ b/app-editors/tea/tea-62.1.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake xdg
MY_P="tea-qt-${PV}"
@@ -54,6 +54,7 @@ src_prepare() {
CMakeLists.txt || die
sed -i -e '/Exec/ { s/tea/tea-qt/ }' desktop/tea.desktop || die
}
+
src_configure() {
local mycmakeargs=(
-DUSE_ASPELL=$(usex aspell)
@@ -67,6 +68,8 @@ src_configure() {
}
pkg_postinst() {
+ xdg_pkg_postinst
+
if [[ "${REPLACING_VERSIONS}" == "47.0.0" ]]; then
elog "Executable 'tea' has been renamed to 'tea-qt'"
fi