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 705fa488e7
244 changed files with 8020 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qtxmlpatterns-everywhere-opensource-src-5.15.16.tar.xz 5181984 BLAKE2B df00f963724a295ca22cddfe0d53530298727843b933de95e5c34ae1159755e43f953bd7dbd3042d70a9ebecc50fb24b618c746100028bd901d348e3bd6751d3 SHA512 ae603468dcb399f99b3843afcbd13ca05baed2ee42e12154be5c2c64ab18c1daddc003af01cf948e57c8654b65e8890101e45b412431ad930f7d697e4b806564
DIST qtxmlpatterns-everywhere-opensource-src-5.15.17.tar.xz 5193976 BLAKE2B 3ba38fead9bb3f829293f02f7c385527f487cad63833f8bef707918c69e5555f0916f1ab1c09a68bf7f14560de09a984e9e5089eb98d0b39d94cba3761a1be92 SHA512 98dc1c949ec645ebd05f15fcfa2147c9c9265cfb3892b9ca1d5ec75318dabc39f52c34382c7aee034ea7505bf5859afcb34e00f2faa1c411e335feb6e1f988e1

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="qml">Build the XmlListModel import for QtQuick (requires QtDeclarative)</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>

View File

@ -0,0 +1,39 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt5-build
DESCRIPTION="XPath, XQuery, XSLT, and XML Schema validation library for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
fi
IUSE="qml"
DEPEND="
=dev-qt/qtcore-${QT5_PV}*
=dev-qt/qtnetwork-${QT5_PV}*
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
"
RDEPEND="${DEPEND}
!<dev-qt/qtchooser-66-r2
"
src_prepare() {
qt_use_disable_mod qml qml \
src/src.pro \
src/imports/imports.pro
qt_use_disable_mod qml quick tests/auto/auto.pro
qt5-build_src_prepare
}
src_install() {
qt5-build_src_install
qt5_symlink_binary_to_path xmlpatterns
qt5_symlink_binary_to_path xmlpatternsvalidator
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt5-build
DESCRIPTION="XPath, XQuery, XSLT, and XML Schema validation library for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="qml"
DEPEND="
=dev-qt/qtcore-${QT5_PV}*
=dev-qt/qtnetwork-${QT5_PV}*
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
"
RDEPEND="${DEPEND}
!<dev-qt/qtchooser-66-r2
"
src_prepare() {
qt_use_disable_mod qml qml \
src/src.pro \
src/imports/imports.pro
qt_use_disable_mod qml quick tests/auto/auto.pro
qt5-build_src_prepare
}
src_install() {
qt5-build_src_install
qt5_symlink_binary_to_path xmlpatterns
qt5_symlink_binary_to_path xmlpatternsvalidator
}