Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellstock/
Date: Wed, 26 Jul 2017 11:35:04
Message-Id: 1501068875.722dcb7923a1f4bfa8702a1add0f6944e52132ae.pacho@gentoo
1 commit: 722dcb7923a1f4bfa8702a1add0f6944e52132ae
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 26 11:06:02 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 26 11:34:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722dcb79
7
8 x11-plugins/gkrellstock: Fix dependency on gkrellm[X]
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../gkrellstock/gkrellstock-0.5.1-r1.ebuild | 43 ++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild b/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild
16 new file mode 100644
17 index 00000000000..bb0dee3026c
18 --- /dev/null
19 +++ b/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild
20 @@ -0,0 +1,43 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit flag-o-matic gkrellm-plugin toolchain-funcs
26 +
27 +DESCRIPTION="Get Stock quotes plugin for Gkrellm2"
28 +HOMEPAGE="http://gkrellstock.sourceforge.net/"
29 +SRC_URI="mirror://sourceforge/gkrellstock/${P}.tar.gz"
30 +
31 +SLOT="2"
32 +LICENSE="GPL-2"
33 +KEYWORDS="~amd64 ~ppc ~x86"
34 +IUSE=""
35 +
36 +RDEPEND="
37 + app-admin/gkrellm[X]
38 + dev-libs/glib:2
39 + x11-libs/gtk+:2
40 + dev-perl/libwww-perl
41 + dev-perl/Finance-Quote
42 +"
43 +DEPEND="${DEPEND}
44 + virtual/pkgconfig
45 +"
46 +
47 +S="${WORKDIR}/${P/s/S}"
48 +
49 +src_prepare() {
50 + default
51 + eapply "${FILESDIR}"/${PN}-0.5-ldflags.patch
52 + append-cppflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0)
53 + append-flags -fPIC
54 +}
55 +
56 +src_compile() {
57 + emake CC=$(tc-getCC)
58 +}
59 +
60 +src_install () {
61 + gkrellm-plugin_src_install
62 + dobin GetQuote2
63 +}