mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
Closes: https://bugs.gentoo.org/976345 Closes: https://bugs.gentoo.org/976344 Signed-off-by: Ceres <ceres@ceressees.dev>
31 lines
667 B
Bash
31 lines
667 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="A QML plugin for niri"
|
|
HOMEPAGE="https://github.com/imiric/qml-niri"
|
|
SRC_URI="https://github.com/imiric/qml-niri/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
DEPEND="dev-qt/qtbase[gui]
|
|
dev-qt/qtdeclarative
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=( "${FILESDIR}/rpath-fix.patch" )
|
|
|
|
src_install() {
|
|
mkdir -p "${D}/usr/lib64/qt6/qml"
|
|
cp -r "${WORKDIR}/${P}_build/Niri" "${D}/usr/lib64/qt6/qml/" || die
|
|
}
|
|
|
|
src_postinst() {
|
|
elog "Make sure QML_IMPORT_PATH contains /usr/lib64/qt6/qml"
|
|
}
|