Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/habak/
Date: Mon, 06 Feb 2017 22:48:55
Message-Id: 1486421207.0e511dfe082cf36accc8e0793a97e027f8eb2f31.soap@gentoo
1 commit: 0e511dfe082cf36accc8e0793a97e027f8eb2f31
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 6 15:42:21 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 22:46:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e511dfe
7
8 x11-misc/habak: EAPI bump 2 -> 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3848
12
13 x11-misc/habak/habak-0.2.5-r2.ebuild | 45 ++++++++++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/x11-misc/habak/habak-0.2.5-r2.ebuild b/x11-misc/habak/habak-0.2.5-r2.ebuild
17 new file mode 100644
18 index 00000000..ab1bd97
19 --- /dev/null
20 +++ b/x11-misc/habak/habak-0.2.5-r2.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +inherit toolchain-funcs
29 +
30 +DESCRIPTION="A simple but powerful tool to set desktop wallpaper"
31 +HOMEPAGE="http://home.gna.org/fvwm-crystal/"
32 +SRC_URI="http://download.gna.org/fvwm-crystal/${PN}/${PV}/${P}.tar.bz2"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
37 +IUSE=""
38 +
39 +RDEPEND="media-libs/imlib2[X]
40 + x11-libs/libX11"
41 +DEPEND="${RDEPEND}
42 + x11-proto/xproto"
43 +
44 +# Skip into the src directory so we avoid a recursive make call that
45 +# is going to break parallel make.
46 +S="${WORKDIR}/${P}/src"
47 +
48 +DOCS=( ChangeLog README TODO "${FILESDIR}"/README.en )
49 +
50 +src_prepare() {
51 + default
52 + sed -i \
53 + -e '/(LDFLAGS)/s:$: -lImlib2 -lm -lX11:' \
54 + -e 's:gcc:$(CC):' \
55 + "${S}"/Makefile || die "Makefile fixing failed"
56 +}
57 +
58 +src_compile() {
59 + emake CC="$(tc-getCC)" ${PN}
60 +}
61 +
62 +src_install() {
63 + dobin ${PN}
64 + cd "${WORKDIR}/${P}" || die
65 + einstalldocs
66 +}