/[gentoo-x86]/x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild
Gentoo

Contents of /x11-wm/musca/musca-0.9.24_p20100226-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 8 18:39:40 2015 UTC (4 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Add two more patches from Arch.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/musca-0.9.24_p20100226-r3.ebuild,v 1.3 2015/01/19 11:03:01 jer Exp $
4
5 EAPI=5
6 inherit eutils savedconfig toolchain-funcs
7
8 DESCRIPTION="A simple dynamic window manager for X, with features nicked from
9 ratpoison and dwm"
10 HOMEPAGE="https://launchpad.net/musca"
11 SRC_URI="mirror://gentoo/${P}.tgz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="apis xlisten"
17
18 COMMON="x11-libs/libX11"
19 DEPEND="${COMMON}
20 sys-apps/sed"
21 RDEPEND="
22 ${COMMON}
23 >=x11-misc/dmenu-4.4
24 apis? ( x11-misc/xbindkeys )
25 "
26
27 src_prepare() {
28 restore_config config.h
29
30 sed -i config.h \
31 -e 's:"sort | dmenu -i -b":"-i -b":g' \
32 -e 's:sed.*exec.*-i::g' \
33 || die
34
35 epatch \
36 "${FILESDIR}"/${PN}-0.9.24-make.patch \
37 "${FILESDIR}"/${PN}-0.9.24_p20100226-dmenu-4.4.patch \
38 "${FILESDIR}"/${PN}-0.9.24_p20100226-null.patch \
39 "${FILESDIR}"/${PN}-0.9.24_p20100226-fix-cycle.patch \
40 "${FILESDIR}"/${PN}-0.9.24_p20100226-fix-pad.patch
41
42 local i
43 for i in apis xlisten; do
44 if ! use ${i}; then
45 sed -e "s|${i}||g" -i Makefile || die
46 fi
47 done
48
49 tc-export CC
50 }
51
52 src_install() {
53 dobin musca
54
55 local i
56 for i in xlisten apis; do
57 if use ${i}; then
58 dobin ${i}
59 fi
60 done
61 doman musca.1
62
63 exeinto /etc/X11/Sessions
64 newexe "${FILESDIR}"/${PN}.xsession musca
65
66 save_config config.h
67 }

  ViewVC Help
Powered by ViewVC 1.1.20