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-4.1.1.ebuild
Date: Sat, 03 Jul 2010 15:23:54
Message-Id: 20100703152350.F1D672CE15@corvid.gentoo.org
1 jer 10/07/03 15:23:50
2
3 Modified: ChangeLog
4 Added: dmenu-4.1.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.59 x11-misc/dmenu/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.59&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.59&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/ChangeLog?r1=1.58&r2=1.59
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v
19 retrieving revision 1.58
20 retrieving revision 1.59
21 diff -u -r1.58 -r1.59
22 --- ChangeLog 22 Jun 2010 15:09:58 -0000 1.58
23 +++ ChangeLog 3 Jul 2010 15:23:50 -0000 1.59
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-misc/dmenu
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.58 2010/06/22 15:09:58 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.59 2010/07/03 15:23:50 jer Exp $
29 +
30 +*dmenu-4.1.1 (03 Jul 2010)
31 +
32 + 03 Jul 2010; Jeroen Roovers <jer@g.o> +dmenu-4.1.1.ebuild:
33 + Version bump.
34
35 22 Jun 2010; Jeroen Roovers <jer@g.o> dmenu-4.0.ebuild:
36 Marked ~hppa (bug #323039).
37
38
39
40 1.1 x11-misc/dmenu/dmenu-4.1.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/dmenu-4.1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dmenu/dmenu-4.1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dmenu-4.1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-4.1.1.ebuild,v 1.1 2010/07/03 15:23:50 jer Exp $
50
51 inherit toolchain-funcs savedconfig
52
53 DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
54 HOMEPAGE="http://www.suckless.org/programs/dmenu.html"
55 SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
56
57 LICENSE="MIT"
58 SLOT="0"
59 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
60 IUSE="xinerama"
61
62 DEPEND="x11-libs/libX11
63 xinerama? ( x11-libs/libXinerama )"
64 RDEPEND=${DEPEND}
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 sed -i \
71 -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \
72 -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
73 -e "s/XINERAMALIBS =/XINERAMALIBS ?=/" \
74 -e "s/XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \
75 config.mk || die "sed failed"
76
77 if use savedconfig; then
78 restore_config config.h
79 fi
80 }
81
82 src_compile() {
83 local msg
84 use savedconfig && msg=", please check the configfile"
85 if use xinerama; then
86 emake CC=$(tc-getCC) || die "emake failed${msg}"
87 else
88 emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" \
89 || die "emake failed${msg}"
90 fi
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
95
96 insinto /usr/share/${PN}
97 newins config.h ${PF}.config.h
98
99 dodoc README
100
101 save_config config.h
102 }
103
104 pkg_postinst() {
105 einfo "This ebuild has support for user defined configs"
106 einfo "Please read this ebuild for more details and re-emerge as needed"
107 einfo "if you want to add or remove functionality for ${PN}"
108 }