Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/dmenu: ChangeLog dmenu-9999.ebuild
Date: Mon, 30 Jun 2014 13:31:22
Message-Id: 20140630133115.AADF02004E@flycatcher.gentoo.org
1 jer 14/06/30 13:31:15
2
3 Modified: ChangeLog
4 Added: dmenu-9999.ebuild
5 Log:
6 Add live ebuild (bug #515856 by Ari Malinen).
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.112 x11-misc/dmenu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.112&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.112&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?r1=1.111&r2=1.112
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v
20 retrieving revision 1.111
21 retrieving revision 1.112
22 diff -u -r1.111 -r1.112
23 --- ChangeLog 22 Jan 2014 14:46:23 -0000 1.111
24 +++ ChangeLog 30 Jun 2014 13:31:15 -0000 1.112
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/dmenu
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.111 2014/01/22 14:46:23 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.112 2014/06/30 13:31:15 jer Exp $
30 +
31 +*dmenu-9999 (30 Jun 2014)
32 +
33 + 30 Jun 2014; Jeroen Roovers <jer@g.o> +dmenu-9999.ebuild:
34 + Add live ebuild (bug #515856 by Ari Malinen).
35
36 *dmenu-4.5-r4 (22 Jan 2014)
37
38
39
40
41 1.1 x11-misc/dmenu/dmenu-9999.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/dmenu-9999.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/dmenu-9999.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dmenu-9999.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-9999.ebuild,v 1.1 2014/06/30 13:31:15 jer Exp $
51
52 EAPI=5
53 inherit eutils git-r3 savedconfig toolchain-funcs
54
55 DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
56 HOMEPAGE="http://tools.suckless.org/dmenu/"
57 EGIT_REPO_URI="git://git.suckless.org/dmenu"
58
59 LICENSE="MIT"
60 SLOT="0"
61 KEYWORDS=""
62 IUSE="xft xinerama"
63
64 RDEPEND="
65 x11-libs/libX11
66 xft? ( x11-libs/libXft )
67 xinerama? ( x11-libs/libXinerama )
68 "
69 DEPEND="${RDEPEND}
70 xft? ( virtual/pkgconfig )
71 xinerama? ( virtual/pkgconfig )
72 "
73
74 src_prepare() {
75 # Respect our flags
76 sed -i \
77 -e '/^CFLAGS/{s|=.*|+= -ansi -pedantic -Wall $(INCS) $(CPPFLAGS)|}' \
78 -e '/^LDFLAGS/s|= -s|+=|' \
79 config.mk || die
80 # Make make verbose
81 sed -i \
82 -e 's|^ @| |g' \
83 -e '/^ echo/d' \
84 Makefile || die
85
86 restore_config config.def.h
87 epatch_user
88 }
89
90 src_compile() {
91 emake CC=$(tc-getCC) \
92 "XFTINC=$( $(tc-getPKG_CONFIG) --cflags xft 2>/dev/null )" \
93 "XFTLIBS=$( $(tc-getPKG_CONFIG) --libs xft 2>/dev/null )" \
94 "XINERAMAFLAGS=$(
95 usex xinerama "-DXINERAMA $(
96 $(tc-getPKG_CONFIG) --cflags xinerama 2>/dev/null
97 )" ''
98 )" \
99 "XINERAMALIBS=$(
100 usex xinerama "$( $(tc-getPKG_CONFIG) --libs xinerama 2>/dev/null)" ''
101 )"
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" PREFIX="/usr" install
106
107 save_config config.def.h
108 }