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:
4
dev-qt/qtwayland/Manifest
Normal file
4
dev-qt/qtwayland/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
DIST qtwayland-5.15.18-gentoo-kde-1.tar.xz 45732 BLAKE2B e9498684aad8205487a8beb6c6408851009b9eeb7ed8e5ae809f26bbb4e1ce5970bdabd0fc79562747b7af6acf5f77e0faea854a646e0039889c3ae7001afb8f SHA512 65851f53e2a534cb6aab8d547543a1864243a7dd07f8766cf68ba0bbfd2fca6e011f6b9a68beabf0f2b806eacd48adacf876f8ba571c7747dcfce6a5687bee7b
|
||||
DIST qtwayland-everywhere-opensource-src-5.15.18.tar.xz 547760 BLAKE2B e41148764c0926109a35ef62bdfd59b031c42ed245783400a139da872ee6a83f9e4480e357ebd7561c3eeacb4cac612e94d0817f4bbe5a66131fab3a5a3596d7 SHA512 9e0d07a4a91eb6dd1bde6b211bae2b64f2035a28176c277adb86ab5d3a281c7740930dc304db94990c1d2277ef54d17b934f99326413719626fb161b612c033f
|
||||
EBUILD qtwayland-5.15.18.ebuild 1355 BLAKE2B f0695c3fd47f83c913d9955644357c27c5c7baeb5f59e77bef39f69915d8d6d33cce27a2ce80c365e2ffd1b8d586c4aa7becdba36ea52514f2247662b234ef1d SHA512 ad8e8beecbd93c7f05848e9d24145df5019bb3b98f2dc74990a35b1badf55ef94b490c72cf2d727aa5c91577f4488e43ac4dcb28fcf0dbea120e943552ad4d1d
|
||||
MISC metadata.xml 888 BLAKE2B b893520d74518b0ea0d104d72545925ac37c818ef52d29a5551a2e3406ded90bc4f6c3d53b64868f2b39919cab783ed124af13f63704e7ee66c534c21dfdfb23 SHA512 9861bb9cf35100d7464d88f86614511522fc4cf7e2ef5d09b9ea95cdb168d61f645614104aacad24fcebc8ecfc2c98601b26f434059bffe169513fd097b12aec
|
||||
24
dev-qt/qtwayland/metadata.xml
Normal file
24
dev-qt/qtwayland/metadata.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?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="compositor">Enable support for the wayland compositor / server APIs</flag>
|
||||
<flag name="gnome">Build the GNOME-like decoration plugin (loaded by default with GNOME)</flag>
|
||||
<flag name="qml">Build QML/QtQuick bindings and imports</flag>
|
||||
<flag name="vulkan">Enable support for Vulkan-based server buffer integration</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qtwayland</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>
|
||||
55
dev-qt/qtwayland/qtwayland-5.15.18.ebuild
Normal file
55
dev-qt/qtwayland/qtwayland-5.15.18.ebuild
Normal file
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Looking for Qt 6? It is packaged differently to Qt 5 with different
|
||||
# package names: https://wiki.gentoo.org/wiki/Project:Qt/Qt6_migration_notes
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
QT5_KDEPATCHSET_REV=1
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Wayland platform plugin for Qt"
|
||||
|
||||
SLOT=5/${QT5_PV} # bug 815646
|
||||
IUSE="compositor vulkan"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/wayland
|
||||
=dev-qt/qtcore-${QT5_PV}*:5=
|
||||
=dev-qt/qtgui-${QT5_PV}*:5=[egl,libinput,vulkan=]
|
||||
media-libs/libglvnd
|
||||
x11-libs/libxkbcommon
|
||||
compositor? ( =dev-qt/qtdeclarative-${QT5_PV}*:5= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
BDEPEND="dev-util/wayland-scanner"
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
--
|
||||
-no-feature-xcomposite-egl
|
||||
-no-feature-xcomposite-glx
|
||||
$(qt_use compositor feature-wayland-server)
|
||||
$(qt_use compositor feature-wayland-dmabuf-server-buffer)
|
||||
$(qt_use compositor feature-wayland-drm-egl-server-buffer)
|
||||
$(qt_use compositor feature-wayland-shm-emulation-server-buffer)
|
||||
)
|
||||
|
||||
use compositor && myqmakeargs+=(
|
||||
$(qt_use vulkan feature-wayland-vulkan-server-buffer)
|
||||
)
|
||||
|
||||
qt5-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt5-build_src_install
|
||||
rm "${D}${QT5_BINDIR}"/qtwaylandscanner || die
|
||||
}
|
||||
Reference in New Issue
Block a user