mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-qt/designer: add Qt version to .desktop and icon file
Qt 6.10 added its own install targets for .desktop files, icons, and metainfo and has unfortunately not added the version likely given didn't have to worry about Qt5 as they did not install these but we do manually. Rather than more complex changes in Qt6, change this here instead. Odds are Qt will change this in Qt7. Ideally would just drop this package given nobody really needs designer from Qt5 anymore (like other tools such as GUI linguist that we already dropped), but this package is also used to provide UiTools. Bug: https://bugs.gentoo.org/966328 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
c5a576f98c
commit
83a9adaa9f
@ -44,8 +44,8 @@ src_install() {
|
||||
qt5-build_src_install
|
||||
qt5_symlink_binary_to_path designer 5
|
||||
|
||||
doicon -s 128 src/designer/src/designer/images/designer.png
|
||||
make_desktop_entry "${QT5_BINDIR}"/designer 'Qt 5 Designer' designer 'Qt;Development;GUIDesigner'
|
||||
newicon -s 128 src/designer/src/designer/images/designer.png designer5.png
|
||||
make_desktop_entry designer5 'Qt 5 Designer' designer5 'Qt;Development;GUIDesigner'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
@ -41,6 +41,7 @@ RDEPEND="
|
||||
designer? (
|
||||
~dev-qt/qtbase-${PV}:6[network,xml,zstd=]
|
||||
zstd? ( app-arch/zstd:= )
|
||||
!<dev-qt/designer-6.15.18-r1
|
||||
)
|
||||
qdbus? ( ~dev-qt/qtbase-${PV}:6[dbus,xml] )
|
||||
qdoc? (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user