diff options
author | Wolfgang Müller | 2022-03-16 09:45:07 +0100 |
---|---|---|
committer | Wolfgang Müller | 2022-03-16 09:45:07 +0100 |
commit | c64a7250d003abe6267c27efccdc98f418facd5c (patch) | |
tree | 0ad7f20ae494befa611ac457c848063c173f8e5f /x11-wm/cwm/cwm-7.0.ebuild | |
parent | 64d2d359e6af982fd82e44ade98bd9cefef1cfc8 (diff) | |
download | pramantha-c64a7250d003abe6267c27efccdc98f418facd5c.tar.gz |
x11-wm/cwm: add 7.0, drop 6.9
Diffstat (limited to 'x11-wm/cwm/cwm-7.0.ebuild')
-rw-r--r-- | x11-wm/cwm/cwm-7.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-wm/cwm/cwm-7.0.ebuild b/x11-wm/cwm/cwm-7.0.ebuild new file mode 100644 index 0000000..c184da6 --- /dev/null +++ b/x11-wm/cwm/cwm-7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +DESCRIPTION="A Linux port and fork of OpenBSD's cwm(1)" +HOMEPAGE="https://git.oriole.systems/cwm/about/ + https://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/ +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.oriole.systems/cwm" +else + SRC_URI="https://git.oriole.systems/cwm/snapshot/${P}.tar.gz" + KEYWORDS="amd64 arm arm64 x86" +fi + +RESTRICT="mirror" + +LICENSE="ISC" +SLOT="0" + +DEPEND="x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXrandr +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/bison + virtual/pkgconfig +" + +src_compile() { + emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + make_session_desktop ${PN} ${PN} +} |