diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-13 22:39:06 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-14 23:02:21 +0200 |
commit | c715f7a87d835a5d7eb9204475e4e8360c6e8908 (patch) | |
tree | 1493738e373c05a8255558ca33f3113dbb0c8f96 /app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-24.08.49.9999.ebuild | |
parent | cmake.eclass: If inherited from ecm.eclass, set ECM_DISABLE_GIT (diff) | |
download | kde-c715f7a87d835a5d7eb9204475e4e8360c6e8908.tar.gz kde-c715f7a87d835a5d7eb9204475e4e8360c6e8908.tar.bz2 kde-c715f7a87d835a5d7eb9204475e4e8360c6e8908.zip |
ecm.eclass: For kde.org projects, try to rename metainfo file real hard
- detect if we are inheriting kde.org.eclass
- detect if package name is not the same as upstream name (KDE_ORG_NAME)
- iterate through "${ED}"/usr/share/metainfo/
- if file contains KDE_ORG_NAME or similar, rename that to ${PN}${SLOT/0*/}
- otherwise, prepend "${PN}${SLOT/0*/}-" after ^org.kde.
Notably, this does not (yet?) trigger if a package ${PN} == ${KDE_ORG_NAME}
but different SLOTs. Should we just do that all the time?
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-24.08.49.9999.ebuild')
0 files changed, 0 insertions, 0 deletions