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 692df50613
319 changed files with 15302 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qttools-5.15.18-gentoo-kde-1.tar.xz 2336 BLAKE2B 0ddc602b0b0edddbd7ff5cb435a6ab63ea4c9a159513c3b42e553ad68fb297239893b1d55e1ed1ff143d7af624e4d47cd07e5e2e564f4fe022b987b589f8d05d SHA512 e96f2d01a3526b1ebc3fb9afd04a38b42336d159961f53e348798cd0c4548abdae96569b670521b077daaf2fd64a29eedf9dd3b0cb7a131d5ec77deaec37cb5e
DIST qttools-everywhere-opensource-src-5.15.18.tar.xz 8876416 BLAKE2B f546692ac9faccd617838432c001f7d574c7137ff44326d6d1e207a3eea913592c7857a15c91cbbadf0451512c256f4a99d43694b35f84fc758aa2a55118be75 SHA512 30a278df553ff3bb64927a4a5be0370b070131ec2970410095b4618e6a0f6e7c45374abf37c458b69dd9e4f7cecb98289b8e777cf5bc85b09f0b5cd278a40a70

View File

@ -0,0 +1,37 @@
# 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 qt5-build
DESCRIPTION="Tools for working with Qt translation data files"
IUSE="qml"
DEPEND="
=dev-qt/qtcore-${QT5_PV}*:5=
=dev-qt/qtxml-${QT5_PV}*
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
"
RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/linguist
)
src_prepare() {
sed -i -e '/SUBDIRS += linguist/d' \
src/linguist/linguist.pro || die
qt_use_disable_mod qml qmldevtools-private \
src/linguist/lupdate/lupdate.pro
qt5-build_src_prepare
}

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="qml">Enable QML support in lupdate</flag>
</use>
<maintainer type="project">
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<bugs-to>https://qt-project.atlassian.net/</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>