diff options
Diffstat (limited to 'dev-qt/designer')
-rw-r--r-- | dev-qt/designer/Manifest | 3 | ||||
-rw-r--r-- | dev-qt/designer/designer-5.15.3.ebuild | 59 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-qt/designer/Manifest b/dev-qt/designer/Manifest index 1763a4e8011a..ca29ed5a64b9 100644 --- a/dev-qt/designer/Manifest +++ b/dev-qt/designer/Manifest @@ -1,3 +1,6 @@ DIST qttools-5.15.2-33693a92.tar.gz 12266718 BLAKE2B c519abdcca9df3b191297b859b2dce417ee9a79f9e3bcb3f2aa0017266b8edc855645108f5f7e6853d28f4c7507c92646ce8130731a345c6ffdfcd37fb1f4789 SHA512 9a62f1849c8eb65384d19de61cb6a08d1f467877181fd752e58b2b4e7d566c5d868c7ebab2d01591c6f540c01c705b7f8e0fe76c26cb0ee78f590ddae57048d2 +DIST qttools-5.15.3-gentoo-kde-1.tar.xz 1472 BLAKE2B eb4f5555127b91767a06c126795930a8331b8431e77dc6c689098dd0249dc324bec37f2f7e816505cc41fd9578d62110a41d2d064b3ca509a56600f967c31690 SHA512 5572b228cd80df8d49627bba4078943eed3e284de53336608ef7c2db36d6f9fd03be0f6060ccce79c59ab439650125fd59ad7d8ae16a2aeeebe4702f7b7f9354 +DIST qttools-everywhere-opensource-src-5.15.3.tar.xz 8896764 BLAKE2B 65a5d67a5f1c00c244ed91baf24ca10cd2e371963c4f55b3837701d71859b7adc03897db2021040eb08b85eb0f5d353bc8b9d7944aecbeec64397f7e0c20735f SHA512 3c4ffee1d67126e3dd10c1dabae3660b94b97541480814b77bc88c0eaf86d8d43324d582465521fbdbd49dbb4155561f93e91c998dc1ad6553da02a3fcb0da47 EBUILD designer-5.15.2-r11.ebuild 1322 BLAKE2B 96e2f9396e6fa9a85c0e7428f126424fd1eb02d1906fcc64aa287dae9a03705de71c1c5a3c81348d24a2bb4c2967be9663f211691bb7a6a82cf06f3c6b0e7ce5 SHA512 41f3fc586ec362e271c5aee7eaa4c829b2e3454fb014df418e464e992a40ef0597c959aa7e5a71b811144f535530d7a2486c3b495fcb15880060e44d3798de9b +EBUILD designer-5.15.3.ebuild 1333 BLAKE2B 3e848430533fba95668436cc918db7b540d8d51528f9c1fbb2270cefd70c0962fa0fbaa2b2c971445ccedb6f53760fc73af35ac51308920b92e769e433e09bb8 SHA512 68a32a86d59fd06a75d0a2f0e230bc1cb030527a4802eb93311741c2cd6d21928775ca4ad68fe2f34ec0bb5dd738526f9b7fdb938b6c48589a27ba9280be6b84 MISC metadata.xml 565 BLAKE2B ff18f784bf09ba4add0fe5a9966a07ba2694dd84046bc528b22bcfd643a7e57be99235bd98eca4e58f68636f9fe6c8e274aabf82ed2055c6a4c70d10c60864ed SHA512 357d80b857e508aeceefcb45ab3757ce24d6ec3e1fd67642f2cbedf496748f89ab5a9726eb974bea8d5b1693601a965571913f79b1325aeaf9020183882ba16d diff --git a/dev-qt/designer/designer-5.15.3.ebuild b/dev-qt/designer/designer-5.15.3.ebuild new file mode 100644 index 000000000000..50366bab93aa --- /dev/null +++ b/dev-qt/designer/designer-5.15.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +QT5_KDEPATCHSET_REV=1 +QT5_MODULE="qttools" +inherit desktop qt5-build xdg-utils + +DESCRIPTION="WYSIWYG tool for designing and building graphical user interfaces with QtWidgets" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +fi + +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 +} |