Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/statusnotifier/
Date: Wed, 12 Dec 2018 14:05:41
Message-Id: 1544620461.38d59469deea09be110c03040acdc3cfb4242db4.asturm@gentoo
1 commit: 38d59469deea09be110c03040acdc3cfb4242db4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 12 13:14:21 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 12 13:14:21 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=38d59469
7
8 dev-libs/statusnotifier: 1.0.0 version bump
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../statusnotifier/statusnotifier-1.0.0.ebuild | 49 ++++++++++++++++++++++
14 1 file changed, 49 insertions(+)
15
16 diff --git a/dev-libs/statusnotifier/statusnotifier-1.0.0.ebuild b/dev-libs/statusnotifier/statusnotifier-1.0.0.ebuild
17 new file mode 100644
18 index 0000000000..8edf109f88
19 --- /dev/null
20 +++ b/dev-libs/statusnotifier/statusnotifier-1.0.0.ebuild
21 @@ -0,0 +1,49 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools
28 +
29 +DESCRIPTION="Library to use KDE's StatusNotifierItem via GObject"
30 +HOMEPAGE="https://github.com/jjk-jacky/statusnotifier"
31 +SRC_URI="https://github.com/jjk-jacky/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="GPL-3"
34 +SLOT="0"
35 +KEYWORDS="~amd64"
36 +IUSE="dbus examples introspection"
37 +
38 +BDEPEND="dev-util/gtk-doc"
39 +DEPEND="
40 + dev-libs/glib:2
41 + x11-libs/gdk-pixbuf:2
42 + x11-libs/cairo
43 + dbus? (
44 + dev-libs/libdbusmenu[gtk3]
45 + x11-libs/gtk+:3
46 + )
47 + examples? ( x11-libs/gtk+:3 )
48 + introspection? ( dev-libs/gobject-introspection )
49 +"
50 +RDEPEND="${DEPEND}"
51 +
52 +src_prepare() {
53 + eautoreconf
54 + default
55 +}
56 +
57 +src_configure() {
58 + local myeconfargs=(
59 + --disable-static
60 + $(use_enable dbus dbusmenu)
61 + $(use_enable introspection)
62 + $(use_enable examples example)
63 + )
64 + econf "${myeconfargs[@]}"
65 +}
66 +
67 +src_install() {
68 + default
69 + find "${D}" -name '*.la' -delete || die
70 +}