diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /x11-wm/cwm/cwm-9999.ebuild | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'x11-wm/cwm/cwm-9999.ebuild')
-rw-r--r-- | x11-wm/cwm/cwm-9999.ebuild | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/x11-wm/cwm/cwm-9999.ebuild b/x11-wm/cwm/cwm-9999.ebuild index 8e881833ac13..23dab4acd436 100644 --- a/x11-wm/cwm/cwm-9999.ebuild +++ b/x11-wm/cwm/cwm-9999.ebuild @@ -1,37 +1,37 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils toolchain-funcs git-r3 +inherit desktop toolchain-funcs DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager" HOMEPAGE="https://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/ https://github.com/chneukirchen/cwm" -EGIT_BRANCH=linux + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/leahneukirchen/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://github.com/leahneukirchen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi LICENSE="ISC" SLOT="0" -KEYWORDS="" -IUSE="vanilla" RDEPEND="x11-libs/libXft x11-libs/libXinerama - x11-libs/libXrandr" -DEPEND="${RDEPEND} + x11-libs/libXrandr +" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/bison virtual/pkgconfig - sys-devel/bison" - -pkg_setup() { - if use vanilla ; then - EGIT_REPO_URI="https://github.com/chneukirchen/cwm.git" - else - EGIT_REPO_URI="https://github.com/xmw/cwm.git" - fi -} +" src_compile() { - emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" + emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() { |