diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-01 20:57:38 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-01 22:01:17 +0100 |
commit | 1ca53ec1fc883acf92b341064e01abdef29e9f0c (patch) | |
tree | 27bdd5bdc2ec9ed0ece8813af457ff19148aa503 /dev-qt/designer | |
parent | dev-qt/assistant: add 5.15.12 (diff) | |
download | gentoo-1ca53ec1fc883acf92b341064e01abdef29e9f0c.tar.gz gentoo-1ca53ec1fc883acf92b341064e01abdef29e9f0c.tar.bz2 gentoo-1ca53ec1fc883acf92b341064e01abdef29e9f0c.zip |
dev-qt/designer: add 5.15.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/designer')
-rw-r--r-- | dev-qt/designer/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/designer/designer-5.15.12.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-qt/designer/Manifest b/dev-qt/designer/Manifest index cf9f6a97ac48..d95dd8310434 100644 --- a/dev-qt/designer/Manifest +++ b/dev-qt/designer/Manifest @@ -1,2 +1,4 @@ DIST qttools-5.15.11-gentoo-kde-1.tar.xz 3188 BLAKE2B 0ec418efb257f9d32e1a245bbdf9321e2070bae0e0b1d1306cde2a748cce1a0cc73a5631631c50b202320d8357fa132d645abbb7da42d38b5d212033aa74a5cd SHA512 eb03030070c3ef87b9a29f7a77f918514e4565f506fc5f39030ffb54aeec3b7fd87fae720595158527288cd152e0d179714159e03819f1cc4efa82650a7054fe +DIST qttools-5.15.12-gentoo-kde-1.tar.xz 3940 BLAKE2B 63dd5fb92d6ac9aeb2aa4015033067a6cee9b2f662fed54d7d699210ceb29bf15d11f6fbb2ace2eecb1a43a1b310a6f853f056fa03adb50722de49783b906556 SHA512 d0b0f614e244728789e8fee5390efd7380980c396b1b674f10ec488565921b5662e3d65b542c077093ba4a9a5ef49aee085a8cb258040527ac800c7878e0e484 DIST qttools-everywhere-opensource-src-5.15.11.tar.xz 8898428 BLAKE2B 88e3e313f2377819345c67cd9e6ff90ca96961662e0e24640a04eda37f46fb444f958c69fb3a5e279da679cd6a25f8b232038d13eb9023cfad79fbd9ea53ae56 SHA512 7aa66964dfc4bd144ee828a5c278b3127c5b269c6fb0e5363e7d2377ba19165e04719636659cb30fee471de26740d3d8692068459e1764d9f84a7737f24c4884 +DIST qttools-everywhere-opensource-src-5.15.12.tar.xz 8900672 BLAKE2B 897e05d8de54b50b47262d1b2606d78d2591bda1d7d4bf9e5d3be084a9a8156da3b8ec7e3b95b44e58e9a94562068b24129844ab1330426ec9b1a00d1409cd92 SHA512 d830129777c481e1a66e32911af82a09e2858b678fdd2b802433fc1009856d9f0b8ea39b6ed1d7e93b6e9db1dda848c3a4077f6d804400f1427f33a3c7ccb40e diff --git a/dev-qt/designer/designer-5.15.12.ebuild b/dev-qt/designer/designer-5.15.12.ebuild new file mode 100644 index 000000000000..2e9a84a552a4 --- /dev/null +++ b/dev-qt/designer/designer-5.15.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} != *9999* ]]; then + QT5_KDEPATCHSET_REV=1 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +QT5_MODULE="qttools" +inherit desktop qt5-build xdg-utils + +DESCRIPTION="WYSIWYG tool for designing and building graphical user interfaces with QtWidgets" + +IUSE="declarative" + +DEPEND=" + =dev-qt/qtcore-${QT5_PV}*:5= + =dev-qt/qtgui-${QT5_PV}*:5=[png] + =dev-qt/qtnetwork-${QT5_PV}* + =dev-qt/qtprintsupport-${QT5_PV}* + =dev-qt/qtwidgets-${QT5_PV}* + =dev-qt/qtxml-${QT5_PV}* + declarative? ( =dev-qt/qtdeclarative-${QT5_PV}*[widgets] ) +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/designer +) + +src_prepare() { + qt_use_disable_mod declarative quickwidgets \ + src/designer/src/plugins/plugins.pro + + sed -e "s/qtHaveModule(webkitwidgets)/false/g" \ + -i src/designer/src/plugins/plugins.pro || die + + qt5-build_src_prepare +} + +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' +} + +pkg_postinst() { + qt5-build_pkg_postinst + xdg_icon_cache_update +} + +pkg_postrm() { + qt5-build_pkg_postrm + xdg_icon_cache_update +} |