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 e5bd56ba85
258 changed files with 8904 additions and 0 deletions

4
dev-qt/designer/Manifest Normal file
View File

@ -0,0 +1,4 @@
DIST qttools-5.15.16-gentoo-kde-1.tar.xz 2340 BLAKE2B 442295bb3dc671067b6555139e016002e5e088ed6e777bb2348e74c893856fe353a6c8dc0376e5657b228324ee5a0719f1e1c5fbbcb8e86aa3b3325f6a4bb884 SHA512 b34f1de482a633d24543429e33944ee97464ea6b655cdd3c23a7c39dc569125268f25008623f7384574a637ef0460d160c42d9010d0e82d693df5be006c16702
DIST qttools-5.15.17-gentoo-kde-1.tar.xz 2336 BLAKE2B 16cb9fea68dcea38a556c35f6d51ea1db0a6362126e5c675748ab7399aa46a4c9ef923433c17607b9ee108e4e8e5385c57982ae3047f1317e577932383719bd7 SHA512 d05fa2b115a7d165be9bca612bedc2ad6061df1b50178eaa57cc620c1ae5e245d78feb7ec9894cc3e6863f7fd987d54712599a60e4a657d86ffe08734ffb50e4
DIST qttools-everywhere-opensource-src-5.15.16.tar.xz 8888944 BLAKE2B abe5a62763c40fd9f41aaf78384913cf4831dc92b09caef14420dc844821ee4f6439050615afc30c33e45ed27c0560c1f0ada5c7d38c49f9f1da747694d5ae35 SHA512 5e81de37a5d429dd14d254a0257e6d1ca37c04a92b506d13d918fd3eb799c026978d3d673f6db0f393b598f520cf3a5d647c66de76308f9de9ac5c6951ed9f6b
DIST qttools-everywhere-opensource-src-5.15.17.tar.xz 8891256 BLAKE2B 3f3bb98c3c2acdb35d16a8d2e4194cbbe111c2222a32f97f92761ebb838bd81c49f9ecb96a5f4d47ea1586e6f16d4795df30b4bfa9ec142e7fa79eb867d88fef SHA512 b31e5f2895036a91ad42f42ac3f6c72a6c43cb00e579717101bd9135d8898e951f627d33ed674a510af05f87800309c7f9d68f84a94fb06d955e1f3ee44b78cf

View File

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

View File

@ -0,0 +1,59 @@
# Copyright 1999-2025 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
}

View File

@ -0,0 +1,20 @@
<?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>
<use>
<flag name="declarative">Build the qdeclarativeview plugin</flag>
</use>
<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>