1 |
commit: ca2302350f8bbe7675f907ace7b7ec398f1435d2 |
2 |
Author: Amy Winston <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 27 19:58:19 2015 +0000 |
4 |
Commit: Amy Winston <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 19:58:19 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca230235 |
7 |
|
8 |
x11-misc/tint2: version bump 0.12.3 bug #565876.Thanks Anthony Parsons. |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
x11-misc/tint2/Manifest | 1 + |
13 |
.../0.12.3-no-hardcode-update-icon-cache.patch | 21 +++++++ |
14 |
x11-misc/tint2/tint2-0.12.3.ebuild | 67 ++++++++++++++++++++++ |
15 |
3 files changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest |
18 |
index d76be05..d69f155 100644 |
19 |
--- a/x11-misc/tint2/Manifest |
20 |
+++ b/x11-misc/tint2/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tint2-0.11.tar.bz2 91716 SHA256 fe106e6a6057d2631abddde9f82d3fd4fb1985c4fb93f10d3886417a9e22471d SHA512 db88c17780d24b82badbedbce4518d736dfcb2a730ff500bcb36f2b32f65271c2424f0c2a34981f9d3af033b84252db0c8217e2dd7ca57f9a0eadbc98796115c WHIRLPOOL 4c497995bc5713199a8e624ebfa463edbd610b6d948f1cbfce11ec78e4cd2cd6fad51bd58937b0fce343bb86a29a35bc40eec2bafb687c6ee89355bceb5486ec |
23 |
+DIST tint2-0.12.3.tar.gz 251977 SHA256 655cde38f4d358d69f3628f722c7da7768e193769ac876cc24b59f328bcd3d6c SHA512 8022895617905446bc01e548ece9df63d32ae1ef3bafc2de2c79fb2c0e91ab78d036e8c9165ea4d4224dd70edb510266bbea47baf382abbf27a275b60b7d1465 WHIRLPOOL 057ba74074d5e013d9c882a6cbef1bd75f80b1eba857bda933c5936511b1d2b9a519c770b1a2f31360774232e03962ca47dea73ad5f4ef21bcd6530d2c123662 |
24 |
|
25 |
diff --git a/x11-misc/tint2/files/0.12.3-no-hardcode-update-icon-cache.patch b/x11-misc/tint2/files/0.12.3-no-hardcode-update-icon-cache.patch |
26 |
new file mode 100644 |
27 |
index 0000000..f923e06 |
28 |
--- /dev/null |
29 |
+++ b/x11-misc/tint2/files/0.12.3-no-hardcode-update-icon-cache.patch |
30 |
@@ -0,0 +1,21 @@ |
31 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
32 |
+index 155672e2245a..a4b6dc0c7eda 100644 |
33 |
+--- a/CMakeLists.txt |
34 |
++++ b/CMakeLists.txt |
35 |
+@@ -176,7 +176,6 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasin |
36 |
+ install( TARGETS tint2 DESTINATION bin ) |
37 |
+ install( FILES tint2.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps ) |
38 |
+ install( FILES tint2.desktop DESTINATION ${DATADIR}/applications ) |
39 |
+-install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" ) |
40 |
+ install( FILES sample/tint2rc DESTINATION ${SYSCONFDIR}/xdg/tint2 ) |
41 |
+ install( FILES default_icon.png DESTINATION ${DATADIR}/tint2 ) |
42 |
+ install( FILES AUTHORS ChangeLog README.md DESTINATION ${DOCDIR} ) |
43 |
+diff --git a/src/tint2conf/CMakeLists.txt b/src/tint2conf/CMakeLists.txt |
44 |
+index e8c6db38fe20..f844c24371e7 100644 |
45 |
+--- a/src/tint2conf/CMakeLists.txt |
46 |
++++ b/src/tint2conf/CMakeLists.txt |
47 |
+@@ -71,4 +71,3 @@ add_subdirectory(po) |
48 |
+ install( TARGETS tint2conf DESTINATION bin ) |
49 |
+ install( FILES tint2conf.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps ) |
50 |
+ install( FILES tint2conf.desktop DESTINATION ${DATADIR}/applications ) |
51 |
+-install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" ) |
52 |
|
53 |
diff --git a/x11-misc/tint2/tint2-0.12.3.ebuild b/x11-misc/tint2/tint2-0.12.3.ebuild |
54 |
new file mode 100644 |
55 |
index 0000000..c2415d3 |
56 |
--- /dev/null |
57 |
+++ b/x11-misc/tint2/tint2-0.12.3.ebuild |
58 |
@@ -0,0 +1,67 @@ |
59 |
+# Copyright 1999-2015 Gentoo Foundation |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+# $Id$ |
62 |
+ |
63 |
+EAPI=5 |
64 |
+ |
65 |
+inherit cmake-utils gnome2-utils |
66 |
+ |
67 |
+DESCRIPTION="tint2 is a lightweight panel/taskbar for Linux." |
68 |
+HOMEPAGE="https://gitlab.com/o9000/tint2" |
69 |
+SRC_URI="https://gitlab.com/o9000/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz" |
70 |
+ |
71 |
+LICENSE="GPL-2" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="~amd64 ~x86" |
74 |
+IUSE="battery examples svg startup-notification tint2conf" |
75 |
+ |
76 |
+DEPEND=" |
77 |
+ dev-libs/glib:2 |
78 |
+ svg? ( gnome-base/librsvg:2 ) |
79 |
+ >=media-libs/imlib2-1.4.2[X] |
80 |
+ x11-libs/cairo |
81 |
+ x11-libs/pango[X] |
82 |
+ tint2conf? ( x11-libs/gtk+:2 ) |
83 |
+ x11-libs/libX11 |
84 |
+ x11-libs/libXcomposite |
85 |
+ x11-libs/libXdamage |
86 |
+ x11-libs/libXinerama |
87 |
+ >=x11-libs/libXrandr-1.3 |
88 |
+ x11-libs/libXrender |
89 |
+ startup-notification? ( x11-libs/startup-notification ) |
90 |
+ " |
91 |
+RDEPEND="${DEPEND}" |
92 |
+ |
93 |
+S="${WORKDIR}/${PN}-v${PV}" |
94 |
+ |
95 |
+PATCHES=( "${FILESDIR}/${PV}-no-hardcode-update-icon-cache.patch" ) |
96 |
+ |
97 |
+src_unpack() { |
98 |
+ default |
99 |
+ # Chop off the SHA1 gitlab's automated tarballs inject |
100 |
+ mv "${PN}-v${PV}-"* "${PN}-v${PV}" |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local mycmakeargs=( |
105 |
+ $(cmake-utils_use_enable battery BATTERY) |
106 |
+ $(cmake-utils_use_enable examples EXAMPLES) |
107 |
+ $(cmake-utils_use_enable tint2conf TINT2CONF) |
108 |
+ $(cmake-utils_use_enable startup-notification SN) |
109 |
+ $(cmake-utils_use_enable svg RSVG) |
110 |
+ ) |
111 |
+ |
112 |
+ cmake-utils_src_configure |
113 |
+} |
114 |
+ |
115 |
+src_install() { |
116 |
+ cmake-utils_src_install |
117 |
+} |
118 |
+ |
119 |
+pkg_postinst() { |
120 |
+ gnome2_icon_cache_update |
121 |
+} |
122 |
+ |
123 |
+pkg_postrm() { |
124 |
+ gnome2_icon_cache_update |
125 |
+} |