38 lines
725 B
Bash
38 lines
725 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop toolchain-funcs
|
|
|
|
DESCRIPTION="Linux port of the OpenBSD calm window manager"
|
|
HOMEPAGE="https://git.linuxposting.xyz/afiw/cwm-linux"
|
|
SRC_URI="https://git.linuxposting.xyz/afiw/cwm-linux/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
x11-libs/libX11
|
|
x11-libs/libXft
|
|
x11-libs/libXrandr
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
app-alternatives/yacc
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
S="${WORKDIR}/${PN}-linux"
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
|
}
|
|
|
|
src_install() {
|
|
dobin cwm
|
|
doman cwm.1
|
|
doman cwmrc.5
|
|
make_session_desktop ${PN} ${PN}
|
|
}
|