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 qtconnectivity-everywhere-src-6.10.3.tar.xz 1058084 BLAKE2B adc32d447b8b2d6c37e24db1e0a4f588d742ef570d6916f32bc04cb980334d21b0f92e19204be3df41439a714302b4f8a5942fac18fba9099e58006fd81ff79a SHA512 d9aabaf72a3e3af845129f45eeb9df855ac525f038d3240aaac66fe6ad37b83931cc1206ba3b92bf7192ef855e0c3d088335dffe7ee785c0e4680d53c38c2e31
DIST qtconnectivity-everywhere-src-6.11.1.tar.xz 1059432 BLAKE2B 4d2754326b6c0d5d62b77c80cbc849f2a693ffaf531e432c21aea66258361f0f2dee0a1b359bc8ec67738082515db06fe20953d0c3ab09ff6e8a33606de10778 SHA512 841f2eb4286dc75a0a61556d0f61e2df8967523d8e05f5d7a050b9452efafa13387e83af2f0eaaf28365c255e918f8eb5cca3b660e8a0a26932646a95440f61f

View File

@ -0,0 +1,22 @@
<?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="neard">Use <pkg>net-wireless/neard</pkg> to access NFC devices</flag>
<flag name="nfc">Enable support for the Near Field Communication protocol</flag>
</use>
<upstream>
<bugs-to>https://qt-project.atlassian.net/</bugs-to>
<doc>https://doc.qt.io/</doc>
<remote-id type="github">qt/qtconnectivity</remote-id>
</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,85 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
fi
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
DEPEND="
~dev-qt/qtbase-${PV}:6
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus,network]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
# if bluez/hardware is available (generally tests here may not be
# very relevant without hardware, lists may need to be extended)
tst_qbluetoothdevicediscoveryagent #936485
tst_qbluetoothlocaldevice
tst_qbluetoothserver
tst_qbluetoothservicediscoveryagent
tst_qbluetoothserviceinfo
tst_qlowenergycontroller
)
src_prepare() {
qt6-build_src_prepare
use bluetooth ||
sed -i '/add_subdirectory(bluetooth)/d' src/CMakeLists.txt || die
use nfc ||
sed -i '/add_subdirectory(nfc)/d' src/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
# broken (unnecessary) symlink due to add_app() being used over add_tool()
use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die
if use test; then
local delete=( # sigh
"${D}${QT6_BINDIR}"/bluetoothtestdevice
"${D}${QT6_BINDIR}"/bttestui
"${D}${QT6_BINDIR}"/qlecontroller-server
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,87 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
fi
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
DEPEND="
~dev-qt/qtbase-${PV}:6
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus,network]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
# if bluez/hardware is available (generally tests here may not be
# very relevant without hardware, lists may need to be extended)
tst_qbluetoothdevicediscoveryagent #936485
tst_qbluetoothlocaldevice
tst_qbluetoothserver
tst_qbluetoothservicediscoveryagent
tst_qbluetoothserviceinfo
tst_qlowenergycharacteristic #976294
tst_qlowenergycontroller
tst_qlowenergydescriptor #976294
)
src_prepare() {
qt6-build_src_prepare
use bluetooth ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt bluetooth
use nfc ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt nfc
}
src_configure() {
local mycmakeargs=(
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
# broken (unnecessary) symlink due to add_app() being used over add_tool()
use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die
if use test; then
local delete=( # sigh
"${D}${QT6_BINDIR}"/bluetoothtestdevice
"${D}${QT6_BINDIR}"/bttestui
"${D}${QT6_BINDIR}"/qlecontroller-server
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,87 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
DEPEND="
~dev-qt/qtbase-${PV}:6
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus,network]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
# if bluez/hardware is available (generally tests here may not be
# very relevant without hardware, lists may need to be extended)
tst_qbluetoothdevicediscoveryagent #936485
tst_qbluetoothlocaldevice
tst_qbluetoothserver
tst_qbluetoothservicediscoveryagent
tst_qbluetoothserviceinfo
tst_qlowenergycharacteristic #976294
tst_qlowenergycontroller
tst_qlowenergydescriptor #976294
)
src_prepare() {
qt6-build_src_prepare
use bluetooth ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt bluetooth
use nfc ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt nfc
}
src_configure() {
local mycmakeargs=(
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
# broken (unnecessary) symlink due to add_app() being used over add_tool()
use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die
if use test; then
local delete=( # sigh
"${D}${QT6_BINDIR}"/bluetoothtestdevice
"${D}${QT6_BINDIR}"/bttestui
"${D}${QT6_BINDIR}"/qlecontroller-server
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,87 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
DEPEND="
~dev-qt/qtbase-${PV}:6
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus,network]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
# if bluez/hardware is available (generally tests here may not be
# very relevant without hardware, lists may need to be extended)
tst_qbluetoothdevicediscoveryagent #936485
tst_qbluetoothlocaldevice
tst_qbluetoothserver
tst_qbluetoothservicediscoveryagent
tst_qbluetoothserviceinfo
tst_qlowenergycharacteristic #976294
tst_qlowenergycontroller
tst_qlowenergydescriptor #976294
)
src_prepare() {
qt6-build_src_prepare
use bluetooth ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt bluetooth
use nfc ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt nfc
}
src_configure() {
local mycmakeargs=(
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
# broken (unnecessary) symlink due to add_app() being used over add_tool()
use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die
if use test; then
local delete=( # sigh
"${D}${QT6_BINDIR}"/bluetoothtestdevice
"${D}${QT6_BINDIR}"/bttestui
"${D}${QT6_BINDIR}"/qlecontroller-server
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,87 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
DEPEND="
~dev-qt/qtbase-${PV}:6
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus,network]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
# if bluez/hardware is available (generally tests here may not be
# very relevant without hardware, lists may need to be extended)
tst_qbluetoothdevicediscoveryagent #936485
tst_qbluetoothlocaldevice
tst_qbluetoothserver
tst_qbluetoothservicediscoveryagent
tst_qbluetoothserviceinfo
tst_qlowenergycharacteristic #976294
tst_qlowenergycontroller
tst_qlowenergydescriptor #976294
)
src_prepare() {
qt6-build_src_prepare
use bluetooth ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt bluetooth
use nfc ||
cmake_comment_add_subdirectory -f src/CMakeLists.txt nfc
}
src_configure() {
local mycmakeargs=(
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
# broken (unnecessary) symlink due to add_app() being used over add_tool()
use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die
if use test; then
local delete=( # sigh
"${D}${QT6_BINDIR}"/bluetoothtestdevice
"${D}${QT6_BINDIR}"/bttestui
"${D}${QT6_BINDIR}"/qlecontroller-server
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}