mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
also don't include LICENSE* into DOCS Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
56 lines
894 B
Bash
56 lines
894 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit savedconfig git-r3
|
|
|
|
DESCRIPTION="dwm for Wayland"
|
|
HOMEPAGE="https://github.com/djpohly/dwl"
|
|
EGIT_REPO_URI="https://github.com/djpohly/dwl"
|
|
|
|
LICENSE="CC0-1.0 GPL-3 MIT"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE="X"
|
|
|
|
RDEPEND="
|
|
dev-libs/libinput
|
|
dev-libs/wayland
|
|
x11-libs/libxkbcommon
|
|
gui-libs/wlroots:0/15[X(-)?]
|
|
X? ( x11-libs/libxcb )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-libs/wayland-protocols
|
|
dev-util/wayland-scanner
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_prepare() {
|
|
restore_config config.h
|
|
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
sed -i "s/\/local//" config.mk || die
|
|
|
|
if use X; then
|
|
sed -i \
|
|
-e "s/^#XWAYLAND/XWAYLAND/" \
|
|
-e "s/^#XLIBS/XLIBS/" \
|
|
config.mk || die
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
insinto /usr/share/wayland-sessions
|
|
doins "${FILESDIR}"/dwl.desktop
|
|
|
|
save_config config.h
|
|
}
|