Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmtz/
Date: Tue, 05 Dec 2017 13:40:16
Message-Id: 1512481198.1f49417fd2499f5492f15a1663f8034a3cde7af2.voyageur@gentoo
1 commit: 1f49417fd2499f5492f15a1663f8034a3cde7af2
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 5 13:32:55 2017 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 5 13:39:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f49417f
7
8 x11-plugins/wmtz: 0.7 patchset bump
9
10 Fixes compilation failures and updates ebuild EAPI
11
12 Package-Manager: Portage-2.3.16, Repoman-2.3.6
13
14 x11-plugins/wmtz/Manifest | 1 +
15 x11-plugins/wmtz/wmtz-0.7_p20150816.ebuild | 42 ++++++++++++++++++++++++++++++
16 2 files changed, 43 insertions(+)
17
18 diff --git a/x11-plugins/wmtz/Manifest b/x11-plugins/wmtz/Manifest
19 index b0df331c1ca..0b57371499e 100644
20 --- a/x11-plugins/wmtz/Manifest
21 +++ b/x11-plugins/wmtz/Manifest
22 @@ -1 +1,2 @@
23 DIST wmtz-0.7.tar.gz 26350 BLAKE2B c0cad5c7bbca9ddfb8168ef360385305e99298a076e5c317504f646dbf372e1b3af704960a0d3b8e528e3cf97414cc8e3b2cff3d4c37739c81744254411b03f3 SHA512 5de721231c7d7bcccc8a9b962069f4adad85158b39df2e77c6015ed3f24d4f8e43c90f91645e186d7f7c656bc6fb937b435925caff4e55abcfa0a8b0a9e75da0
24 +DIST wmtz-0.7_p20150816.tar.gz 19310 BLAKE2B 7f3bc0b077a9a667211cc588f1fb7c3d1d246256724a6cf5a17f028d2d334d02f898a798aca6fae11910868d312844bbe8ac5bfd190229f3ae829e97e50e2247 SHA512 60c9b66423332b155ce262d30026a5091c0379eb3257f547af1203d331968e9f334a533ed03832476512893d06cea857db9c044b30115978904510f9725e8455
25
26 diff --git a/x11-plugins/wmtz/wmtz-0.7_p20150816.ebuild b/x11-plugins/wmtz/wmtz-0.7_p20150816.ebuild
27 new file mode 100644
28 index 00000000000..27ab7640558
29 --- /dev/null
30 +++ b/x11-plugins/wmtz/wmtz-0.7_p20150816.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit multilib toolchain-funcs
37 +
38 +DESCRIPTION="dockapp that shows the time in multiple timezones"
39 +HOMEPAGE="http://www.dockapps.net/wmtz"
40 +# http://www.dockapps.net/download/${P}.tar.gz
41 +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
46 +IUSE=""
47 +
48 +RDEPEND=">=x11-libs/libdockapp-0.7:=
49 + x11-libs/libX11
50 + x11-libs/libXext
51 + x11-libs/libXpm"
52 +DEPEND="${RDEPEND}"
53 +
54 +S=${WORKDIR}/${P}/${PN}
55 +
56 +src_prepare() {
57 + default
58 + #Honour Gentoo LDFLAGS, see bug #337890.
59 + sed -e "s/\$(FLAGS) -o wmtz/\$(LDFLAGS) -o wmtz/" -i Makefile || die
60 +}
61 +
62 +src_compile() {
63 + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
64 + LIBDIR="-L/usr/$(get_libdir)"
65 +}
66 +
67 +src_install() {
68 + dobin ${PN}
69 + doman ${PN}.1
70 + insinto /etc
71 + doins wmtzrc
72 + dodoc ../{BUGS,CHANGES,README}
73 +}