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:
3
dev-qt/qtconnectivity/Manifest
Normal file
3
dev-qt/qtconnectivity/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST qtconnectivity-everywhere-src-6.8.2.tar.xz 1069068 BLAKE2B fcbb13ff28486586466eafec913fb6504ee6e79787e7bfa6362ea74ee755b70c390a2f2ebf96cdf74c875a33ab1673d296f497085e2b8c3b83d09ed9590b772f SHA512 b1310fc90c7a64a4d89586fd38119377b3b67ead57271c6713897d649b2154cd55bd07c97a53f12e7a9d720a1b8b6b630eeea43e44c6798f6313ea8e70e10767
|
||||
DIST qtconnectivity-everywhere-src-6.8.3.tar.xz 1071152 BLAKE2B 4fde70801831b4a110b342e7710c06de687f7736c1e8bf31cb78b7f93de28ef0460410f5be1df77d57bd6967ab269c434f8bdb241d5d1906708b92c42d226eef SHA512 5508f3fc57679a4f986f430dcd19c5da15af663a677d27c9cc6aba81629f4a6e1954be31c5d2a44ba22366d7731ff105d2eaa3a0565b3b02baea0f498c547733
|
||||
DIST qtconnectivity-everywhere-src-6.9.0.tar.xz 1071744 BLAKE2B e5f75bcb1b61249cb4daafeff60d2805a57aeeb8ba675d31b81ed57557a10fe803bc12a71ede930ad4eb41b0c09e61f125e43a22c5c5ae6b957c99a713b3ebb1 SHA512 710bb7c9d3c73d92a784e4a9d81dafd5eb0669d1ab14066c424e2075fac8e30fd4e2f0e6d7b82a8fedb14cca03412085241a9737a6adcdc88c1dced49eaecf82
|
||||
22
dev-qt/qtconnectivity/metadata.xml
Normal file
22
dev-qt/qtconnectivity/metadata.xml
Normal 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://bugreports.qt.io/</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>
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.10.3.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.10.3.ebuild
Normal 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
|
||||
}
|
||||
87
dev-qt/qtconnectivity/qtconnectivity-6.11.1.ebuild
Normal file
87
dev-qt/qtconnectivity/qtconnectivity-6.11.1.ebuild
Normal 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
|
||||
}
|
||||
87
dev-qt/qtconnectivity/qtconnectivity-6.11.9999.ebuild
Normal file
87
dev-qt/qtconnectivity/qtconnectivity-6.11.9999.ebuild
Normal 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
|
||||
}
|
||||
87
dev-qt/qtconnectivity/qtconnectivity-6.12.9999.ebuild
Normal file
87
dev-qt/qtconnectivity/qtconnectivity-6.12.9999.ebuild
Normal 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
|
||||
}
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.8.2.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.8.2.ebuild
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 2023-2025 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[network]
|
||||
bluetooth? (
|
||||
~dev-qt/qtbase-${PV}:6[dbus]
|
||||
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
|
||||
}
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.8.3.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.8.3.ebuild
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 2023-2025 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[network]
|
||||
bluetooth? (
|
||||
~dev-qt/qtbase-${PV}:6[dbus]
|
||||
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
|
||||
}
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.9.0.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.9.0.ebuild
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 2023-2025 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
|
||||
}
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.9.9999.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.9.9999.ebuild
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 2023-2025 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
|
||||
}
|
||||
85
dev-qt/qtconnectivity/qtconnectivity-6.9999.ebuild
Normal file
85
dev-qt/qtconnectivity/qtconnectivity-6.9999.ebuild
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 2023-2025 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
|
||||
}
|
||||
Reference in New Issue
Block a user