mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
Bug: https://bugs.gentoo.org/975952 Closes: https://bugs.gentoo.org/975952 Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
41 lines
825 B
Bash
41 lines
825 B
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Tiling window manager for the river wayland compositor"
|
|
HOMEPAGE="https://github.com/alex-courtis/wideriver"
|
|
SRC_URI="https://github.com/alex-courtis/wideriver/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND="
|
|
dev-libs/wayland
|
|
dev-libs/wayland-protocols
|
|
dev-libs/libinput
|
|
gui-libs/wlroots
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
test? ( <dev-util/cmocka-2.0.0 )
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed \
|
|
--in-place \
|
|
--expression='s/-Werror//g' \
|
|
--expression='/^DFLAGS/d' \
|
|
--expression='/^OFLAGS/d' \
|
|
config.mk || die
|
|
}
|
|
|
|
src_install() {
|
|
emake PREFIX="/usr" DESTDIR="${D}" install
|
|
dodoc README.md
|
|
}
|