diff options
author | David Seifert <soap@gentoo.org> | 2019-05-24 01:32:12 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-05-24 01:32:12 +0200 |
commit | 9fe4286c34062260443e1ba174bf298ba93a2221 (patch) | |
tree | d46e3d746063d16b5e9b651213d21fb7395a35d5 /x11-wm/musca | |
parent | sys-fs/zfs: set gentoo revision for utils (diff) | |
download | gentoo-9fe4286c34062260443e1ba174bf298ba93a2221.tar.gz gentoo-9fe4286c34062260443e1ba174bf298ba93a2221.tar.bz2 gentoo-9fe4286c34062260443e1ba174bf298ba93a2221.zip |
x11-wm/musca: Port to EAPI 7
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-wm/musca')
-rw-r--r-- | x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild b/x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild index 129899ded8d0..adef927a76b5 100644 --- a/x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild +++ b/x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils savedconfig toolchain-funcs +EAPI=7 + +inherit savedconfig toolchain-funcs DESCRIPTION="A simple dynamic window manager, with features nicked from ratpoison and dwm" HOMEPAGE="https://launchpad.net/musca" @@ -13,14 +14,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="apis xlisten" -COMMON="x11-libs/libX11" -DEPEND="${COMMON} - sys-apps/sed" +DEPEND="x11-libs/libX11" RDEPEND=" - ${COMMON} + ${DEPEND} >=x11-misc/dmenu-4.4 - apis? ( x11-misc/xbindkeys ) -" + apis? ( x11-misc/xbindkeys )" src_prepare() { restore_config config.h @@ -30,12 +28,13 @@ src_prepare() { -e 's:sed.*exec.*-i::g' \ || die - epatch \ + eapply \ "${FILESDIR}"/${PN}-0.9.24-make.patch \ "${FILESDIR}"/${PN}-0.9.24_p20100226-dmenu-4.4.patch \ "${FILESDIR}"/${PN}-0.9.24_p20100226-null.patch \ "${FILESDIR}"/${PN}-0.9.24_p20100226-fix-cycle.patch \ "${FILESDIR}"/${PN}-0.9.24_p20100226-fix-pad.patch + eapply_user local i for i in apis xlisten; do @@ -49,13 +48,9 @@ src_prepare() { src_install() { dobin musca + use xlisten && dobin xlisten + use apis && dobin apis - local i - for i in xlisten apis; do - if use ${i}; then - dobin ${i} - fi - done doman musca.1 exeinto /etc/X11/Sessions |