app-arch/libarchive-qt: drop Qt5 support in favor of Qt6; missing deps

Acked-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: Takuya Wakazono <pastalian46@gmail.com>
Part-of: https://github.com/gentoo/guru/pull/337
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2025-06-19 12:40:56 +02:00
parent b22ec9eb1c
commit aac74cb7d2

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@@ -13,20 +13,20 @@ S="${WORKDIR}/${PN}-v${PV}"
LICENSE="LGPL-3+" LICENSE="LGPL-3+"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="qt6"
DEPEND=" DEPEND="
app-arch/bzip2
app-arch/libarchive:= app-arch/libarchive:=
app-arch/xz-utils
dev-qt/qtbase:6
sys-libs/zlib sys-libs/zlib
!qt6? ( dev-qt/qtcore:5 )
qt6? ( dev-qt/qtbase:6 )
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_configure() { src_configure() {
local emesonargs=( local emesonargs=(
-Dinstall_static=false -Dinstall_static=false
-Duse_qt_version=$(usex qt6 qt6 qt5) -Duse_qt_version=qt6
) )
meson_src_configure meson_src_configure
} }