Add dev-qt from an older version of the gentoo repo

Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
2026-07-03 09:45:00 +02:00
parent 2247967dd3
commit 9689cdfdf7
252 changed files with 8633 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qttools-5.15.16-gentoo-kde-1.tar.xz 2340 BLAKE2B 442295bb3dc671067b6555139e016002e5e088ed6e777bb2348e74c893856fe353a6c8dc0376e5657b228324ee5a0719f1e1c5fbbcb8e86aa3b3325f6a4bb884 SHA512 b34f1de482a633d24543429e33944ee97464ea6b655cdd3c23a7c39dc569125268f25008623f7384574a637ef0460d160c42d9010d0e82d693df5be006c16702
DIST qttools-everywhere-opensource-src-5.15.16.tar.xz 8888944 BLAKE2B abe5a62763c40fd9f41aaf78384913cf4831dc92b09caef14420dc844821ee4f6439050615afc30c33e45ed27c0560c1f0ada5c7d38c49f9f1da747694d5ae35 SHA512 5e81de37a5d429dd14d254a0257e6d1ca37c04a92b506d13d918fd3eb799c026978d3d673f6db0f393b598f520cf3a5d647c66de76308f9de9ac5c6951ed9f6b

View File

@ -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 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
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
</upstream>
<slots>
<subslots>
Must only be used by packages that are known to use private parts of the Qt API.
</subslots>
</slots>
</pkgmetadata>