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:
2
dev-qt/qtdiag/Manifest
Normal file
2
dev-qt/qtdiag/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST qttools-5.15.16-gentoo-kde-1.tar.xz 2340 BLAKE2B 442295bb3dc671067b6555139e016002e5e088ed6e777bb2348e74c893856fe353a6c8dc0376e5657b228324ee5a0719f1e1c5fbbcb8e86aa3b3325f6a4bb884 SHA512 b34f1de482a633d24543429e33944ee97464ea6b655cdd3c23a7c39dc569125268f25008623f7384574a637ef0460d160c42d9010d0e82d693df5be006c16702
|
||||
DIST qttools-everywhere-opensource-src-5.15.16.tar.xz 8888944 BLAKE2B abe5a62763c40fd9f41aaf78384913cf4831dc92b09caef14420dc844821ee4f6439050615afc30c33e45ed27c0560c1f0ada5c7d38c49f9f1da747694d5ae35 SHA512 5e81de37a5d429dd14d254a0257e6d1ca37c04a92b506d13d918fd3eb799c026978d3d673f6db0f393b598f520cf3a5d647c66de76308f9de9ac5c6951ed9f6b
|
||||
21
dev-qt/qtdiag/metadata.xml
Normal file
21
dev-qt/qtdiag/metadata.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?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="network">Report network information</flag>
|
||||
<flag name="widgets">Report widget style information</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>
|
||||
43
dev-qt/qtdiag/qtdiag-5.15.16.ebuild
Normal file
43
dev-qt/qtdiag/qtdiag-5.15.16.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# 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 ~hppa ~ppc64 x86"
|
||||
fi
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tool for reporting diagnostic information about Qt and its environment"
|
||||
|
||||
IUSE="+network +widgets"
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*:5=
|
||||
=dev-qt/qtgui-${QT5_PV}*:5=
|
||||
network? ( =dev-qt/qtnetwork-${QT5_PV}*[ssl] )
|
||||
widgets? ( =dev-qt/qtwidgets-${QT5_PV}* )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qtdiag
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod network network \
|
||||
src/qtdiag/qtdiag.pro
|
||||
|
||||
qt_use_disable_mod widgets widgets \
|
||||
src/qtdiag/qtdiag.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt5-build_src_install
|
||||
qt5_symlink_binary_to_path qtdiag 5
|
||||
}
|
||||
Reference in New Issue
Block a user