Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/tint2/
Date: Fri, 21 Jul 2017 08:46:31
Message-Id: 1500626749.d1948f68d578ce79bde7f7e1d0194929266adc84.amynka@gentoo
1 commit: d1948f68d578ce79bde7f7e1d0194929266adc84
2 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 24 18:50:04 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 08:45:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1948f68
7
8 x11-misc/tint2: Version bump 0.14.6
9
10 Closes:#4982
11 Package-Manager: Portage-2.3.6, Repoman-2.3.2
12
13 x11-misc/tint2/Manifest | 1 +
14 x11-misc/tint2/tint2-0.14.6.ebuild | 60 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest
18 index 77ae5af232e..39629e4168a 100644
19 --- a/x11-misc/tint2/Manifest
20 +++ b/x11-misc/tint2/Manifest
21 @@ -1 +1,2 @@
22 DIST tint2-0.12.12.tar.gz 469724 SHA256 e4c6ffb67eb1242f19d94037b072602bc751ac71ca61352dea3465168e643450 SHA512 10a1f42df6a66f6e092d69cd0ea3d900dcef57b06391206d950a1d7f576a880829bb44d00828a030d3172184db238a22f205169c12cc32cf42c6321d61929a8c WHIRLPOOL 197b92a93eb0368708824159bde41bd81143d0423a1f9ab83b2af4a11b3e3055a40481b9746f095e10cca84f7d772237a92d06bf267761021be308c0b3b5d553
23 +DIST tint2-0.14.6.tar.gz 466533 SHA256 1770e2a37dc8066a33af7385ba1bbe7405101bced8e9fc7ee95d48cef53cd351 SHA512 eb1505bef932aa0cd0291dc762d3c9cbe760e3fea0684fc604aa3cae3f5ddf63e5b791db745eb29384e4732e6de09a01084f3ce2a92931b431cdf69a59b1f6da WHIRLPOOL ae9a00d866f868842600355fd463556b55405d13c2cf6344f4a72b541b445cdb22e6d576ae202452f5502caba17ddba33d008b5d4f763f53c72fb7d87afa79c8
24
25 diff --git a/x11-misc/tint2/tint2-0.14.6.ebuild b/x11-misc/tint2/tint2-0.14.6.ebuild
26 new file mode 100644
27 index 00000000000..c34f9788549
28 --- /dev/null
29 +++ b/x11-misc/tint2/tint2-0.14.6.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit cmake-utils gnome2-utils vcs-snapshot
37 +
38 +DESCRIPTION="tint2 is a lightweight panel/taskbar for Linux."
39 +HOMEPAGE="https://gitlab.com/o9000/tint2"
40 +SRC_URI="https://gitlab.com/o9000/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="battery svg startup-notification tint2conf"
46 +
47 +DEPEND="
48 + dev-libs/glib:2
49 + svg? ( gnome-base/librsvg:2 )
50 + >=media-libs/imlib2-1.4.2[X,png]
51 + x11-libs/cairo[X]
52 + x11-libs/pango
53 + tint2conf? ( x11-libs/gtk+:2 )
54 + x11-libs/libX11
55 + x11-libs/libXcomposite
56 + x11-libs/libXdamage
57 + x11-libs/libXinerama
58 + >=x11-libs/libXrandr-1.3
59 + x11-libs/libXrender
60 + startup-notification? ( x11-libs/startup-notification )
61 +"
62 +RDEPEND="${DEPEND}"
63 +
64 +src_configure() {
65 + local mycmakeargs=(
66 + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
67 + -DENABLE_BATTERY="$(usex battery)"
68 + -DENABLE_TINT2CONF="$(usex tint2conf)"
69 + -DENABLE_SN="$(usex startup-notification)"
70 + -DENABLE_RSVG="$(usex svg)"
71 + )
72 +
73 + cmake-utils_src_configure
74 +}
75 +
76 +src_install() {
77 + cmake-utils_src_install
78 +}
79 +
80 +pkg_preinst() {
81 + gnome2_icon_savelist
82 +}
83 +
84 +pkg_postinst() {
85 + gnome2_icon_cache_update
86 +}
87 +
88 +pkg_postrm() {
89 + gnome2_icon_cache_update
90 +}