mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
gui-libs/qml-niri: add 0.2.1
additionally fix install runpath issue Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST qml-niri-0.2.0.tar.gz 51053 BLAKE2B d4a2bf4e0e919aa081d775de21ec82709eb304a9415445a3bf52585c1f735be0ef81afb66dbf564f158be3bc993ef058c25da09075399cd19aa57d409781adc9 SHA512 bbb49ad99d1101c0bc00d7ddec3727692640ce1b19a8de6474025883dcceb2d0673867acef295337393909a660bc3fd78d915d31205f9ef61c2dfc3d099dba48
|
||||
DIST qml-niri-0.2.1.tar.gz 51552 BLAKE2B cf244615d4f5a39d6cd162afb2cc3c503b2589676491dba6446489848dfb76191769516f7ca994e0b2deb71b3d5b29af0d2b165d7882bfd359e63cc87266a6e2 SHA512 dff67866967f5d4d14aefd397996951e6ad6b88d0cc167cb3f553cf5b90e1738518016d974a7cea63f813e5ec67c4fd1e98f8f200f211e7635aaff088233ee28
|
||||
|
||||
@@ -7,7 +7,7 @@ Closes: https://bugs.gentoo.org/976345
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||
+set(CMAKE_SKIP_RPATH TRUE)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Qml)
|
||||
|
||||
|
||||
30
gui-libs/qml-niri/qml-niri-0.2.1.ebuild
Normal file
30
gui-libs/qml-niri/qml-niri-0.2.1.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user