summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-01-01 20:57:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-01-01 22:01:17 +0100
commit0ed8af946480c5b025344a33f6c85827ac8081ff (patch)
treefe419cc5a3378aa5d10a0329b9c7ed51087306d3 /dev-qt/assistant
parentqt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=5 for 5.15.12 (diff)
downloadgentoo-0ed8af946480c5b025344a33f6c85827ac8081ff.tar.gz
gentoo-0ed8af946480c5b025344a33f6c85827ac8081ff.tar.bz2
gentoo-0ed8af946480c5b025344a33f6c85827ac8081ff.zip
dev-qt/assistant: add 5.15.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/assistant')
-rw-r--r--dev-qt/assistant/Manifest2
-rw-r--r--dev-qt/assistant/assistant-5.15.12.ebuild60
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-qt/assistant/Manifest b/dev-qt/assistant/Manifest
index cf9f6a97ac48..d95dd8310434 100644
--- a/dev-qt/assistant/Manifest
+++ b/dev-qt/assistant/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/assistant/assistant-5.15.12.ebuild b/dev-qt/assistant/assistant-5.15.12.ebuild
new file mode 100644
index 000000000000..d980696867be
--- /dev/null
+++ b/dev-qt/assistant/assistant-5.15.12.ebuild
@@ -0,0 +1,60 @@
+# 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 ~ppc64 ~sparc ~x86"
+fi
+
+QT5_MODULE="qttools"
+inherit desktop qt5-build xdg-utils
+
+DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
+
+IUSE=""
+
+DEPEND="
+ =dev-qt/qtcore-${QT5_PV}*:5=
+ =dev-qt/qtgui-${QT5_PV}*[png]
+ =dev-qt/qthelp-${QT5_PV}*
+ =dev-qt/qtnetwork-${QT5_PV}*
+ =dev-qt/qtprintsupport-${QT5_PV}*
+ =dev-qt/qtsql-${QT5_PV}*[sqlite]
+ =dev-qt/qtwidgets-${QT5_PV}*
+"
+RDEPEND="${DEPEND}
+ !dev-qt/${PN}:5
+ !<dev-qt/qtchooser-66-r2
+"
+
+QT5_TARGET_SUBDIRS=(
+ src/assistant/assistant
+)
+
+src_prepare() {
+ sed -e "s/qtHaveModule(webkitwidgets)/false/g" \
+ -i src/assistant/assistant/assistant.pro || die
+
+ qt5-build_src_prepare
+}
+
+src_install() {
+ qt5-build_src_install
+ qt5_symlink_binary_to_path assistant
+
+ doicon -s 32 src/assistant/assistant/images/assistant.png
+ newicon -s 128 src/assistant/assistant/images/assistant-128.png assistant.png
+ make_desktop_entry "${QT5_BINDIR}"/assistant 'Qt 5 Assistant' assistant 'Qt;Development;Documentation'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ xdg_icon_cache_update
+}