1 |
commit: 96783b86899f0ff371aa35456b5ef8f4163aa184 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 12 08:59:19 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 12 08:59:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96783b86 |
7 |
|
8 |
app-admin/gkrellm: Bump to version 2.3.9 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-admin/gkrellm/Manifest | 1 + |
14 |
app-admin/gkrellm/gkrellm-2.3.9.ebuild | 145 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 146 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/gkrellm/Manifest b/app-admin/gkrellm/Manifest |
18 |
index fc63775..e8a99f3 100644 |
19 |
--- a/app-admin/gkrellm/Manifest |
20 |
+++ b/app-admin/gkrellm/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST gkrellm-2.3.5.tar.bz2 765011 SHA256 702b5b0e9c040eb3af8e157453f38dd6f53e1dcd8b1272d20266cda3d4372c8b SHA512 9681ec5978b6be9f56a71726df36671829a4427f45caf90c8c3460e8c59004ff4083de1692cad16e3724ed37418bb3e4589d1961c140f3becfa3efd210b7a5dc WHIRLPOOL 3dceb20b9da49fb9b287e1faca88b3fdb7ae7af6dde5e675ee1e5c718467b131e34f740cb38719e5026ce0478146264fa4eaa060120e71f2c442ec5504e6dfb4 |
23 |
DIST gkrellm-2.3.7.tar.bz2 777841 SHA256 f7a4642d2cc6b61242215e58e1bd8fe394e6fd984cd3c3f8964c1c554029735d SHA512 832353d245966a5d64ccbacd619905fe437b347c2654e279ec47b56aa1ef559a166b4791d63e151a5481c55c1d3775906e52213f42e5d7071fd15f00f8cecaa5 WHIRLPOOL 3fd8b51a1be5174308fe1dbbb1c1d83df0685c12e71cf410533f97439fb5cf001553c462e15b9971c55c6ea87b28429136fe0025d39c443cb9d215fcf7620f46 |
24 |
DIST gkrellm-2.3.8.tar.xz 659164 SHA256 8064ec03ac151c22d716e08d09851102e9deeb2156a265d97f5cf7ad547fa9e3 SHA512 da6410e26a3ef3ae8c951a4b608e09748616ef89786590456df183b90133c3c5a94fb99e56fcde5e0b25e09ca1682bffc194c3ccae305da25b88ce131c89fd99 WHIRLPOOL 638d26a20f3839b53d071efc803ab1b67df1114075b57c636bfa31d15d0c864b074f8fe2ea04955f95b854c3501967d7dbdbe93b95bec4975a4c230fdb63ecec |
25 |
+DIST gkrellm-2.3.9.tar.xz 659612 SHA256 7e0a2ea0f54e2e485c0764718c52d9779d61c1f6bb8cb84083e8169b5c93e8a4 SHA512 02f6731a81820b9c2c21332b1c1a2e3b5ab7b50452fe78e82e2bd7f8276dedff284048375161fb9f31ac7a72437e3e8b1196e91a3a87248b68e14440528f5195 WHIRLPOOL 01d17556feafa270fddc0c360b50015c29ae050cf3350e2ba5b00a647777bd6bfc9a26149542412ff7c191f859eec4dbccf6561ff77f2040f63780d925605320 |
26 |
|
27 |
diff --git a/app-admin/gkrellm/gkrellm-2.3.9.ebuild b/app-admin/gkrellm/gkrellm-2.3.9.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000..8ce5135 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/gkrellm/gkrellm-2.3.9.ebuild |
32 |
@@ -0,0 +1,145 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit eutils multilib user systemd toolchain-funcs |
40 |
+ |
41 |
+MY_P="${P/_/-}" |
42 |
+ |
43 |
+DESCRIPTION="Single process stack of various system monitors" |
44 |
+HOMEPAGE="http://www.gkrellm.net/" |
45 |
+# Upstream named their xz compressed tarball tar.bz2 (*sigh*) |
46 |
+SRC_URI="http://gkrellm.srcbox.net/${MY_P}.tar.bz2 -> ${P}.tar.xz" |
47 |
+ |
48 |
+LICENSE="GPL-3" |
49 |
+SLOT="2" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
51 |
+IUSE="gnutls hddtemp libressl lm_sensors nls ntlm ssl kernel_FreeBSD X" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-libs/glib:2 |
55 |
+ hddtemp? ( app-admin/hddtemp ) |
56 |
+ gnutls? ( net-libs/gnutls ) |
57 |
+ !gnutls? ( |
58 |
+ ssl? ( |
59 |
+ !libressl? ( dev-libs/openssl:0= ) |
60 |
+ libressl? ( dev-libs/libressl:0= ) |
61 |
+ ) |
62 |
+ ) |
63 |
+ lm_sensors? ( sys-apps/lm_sensors ) |
64 |
+ nls? ( virtual/libintl ) |
65 |
+ ntlm? ( net-libs/libntlm ) |
66 |
+ X? ( |
67 |
+ x11-libs/gdk-pixbuf |
68 |
+ x11-libs/gtk+:2 |
69 |
+ x11-libs/libICE |
70 |
+ x11-libs/libSM |
71 |
+ x11-libs/libX11 |
72 |
+ x11-libs/pango |
73 |
+ )" |
74 |
+DEPEND="${RDEPEND} |
75 |
+ virtual/pkgconfig |
76 |
+ nls? ( sys-devel/gettext )" |
77 |
+ |
78 |
+PATCHES=( |
79 |
+ "${FILESDIR}"/${PN}-2.3.5-cifs.patch |
80 |
+ "${FILESDIR}"/${PN}-2.3.5-config.patch |
81 |
+ "${FILESDIR}"/${PN}-2.3.5-width.patch |
82 |
+ "${FILESDIR}"/${PN}-2.3.5-sansfont.patch |
83 |
+) |
84 |
+ |
85 |
+S="${WORKDIR}/${MY_P}" |
86 |
+ |
87 |
+DOCS=( Changelog CREDITS README ) |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ enewgroup gkrellmd |
91 |
+ enewuser gkrellmd -1 -1 -1 gkrellmd |
92 |
+ TARGET= |
93 |
+ use kernel_FreeBSD && TARGET="freebsd" |
94 |
+} |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ sed -e 's:-O2 ::' \ |
98 |
+ -e 's:override CC:CFLAGS:' \ |
99 |
+ -e 's:-L/usr/X11R6/lib::' \ |
100 |
+ -i */Makefile || die "sed Makefile(s) failed" |
101 |
+ |
102 |
+ sed -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):" \ |
103 |
+ -e "s:/usr/local/lib:${EPREFIX}/usr/local/$(get_libdir):" \ |
104 |
+ -i src/${PN}.h || die "sed ${PN}.h failed" |
105 |
+ |
106 |
+ default |
107 |
+} |
108 |
+ |
109 |
+src_compile() { |
110 |
+ if use X ; then |
111 |
+ local sslopt="" |
112 |
+ if use gnutls; then |
113 |
+ sslopt="without-ssl=yes" |
114 |
+ elif use ssl; then |
115 |
+ sslopt="without-gnutls=yes" |
116 |
+ else |
117 |
+ sslopt="without-ssl=yes without-gnutls=yes" |
118 |
+ fi |
119 |
+ |
120 |
+ emake \ |
121 |
+ ${TARGET} \ |
122 |
+ CC="$(tc-getCC)" \ |
123 |
+ STRIP="" \ |
124 |
+ INSTALLROOT="${EPREFIX}/usr" \ |
125 |
+ INCLUDEDIR="${EPREFIX}/usr/include/gkrellm2" \ |
126 |
+ LOCALEDIR="${EPREFIX}/usr/share/locale" \ |
127 |
+ $(usex nls "" "enable_nls=0") \ |
128 |
+ $(usex lm_sensors "" "without-libsensors=yes") \ |
129 |
+ $(usex ntlm "" "without-ntlm=yes") \ |
130 |
+ ${sslopt} |
131 |
+ else |
132 |
+ cd server || die |
133 |
+ emake \ |
134 |
+ ${TARGET} \ |
135 |
+ CC="$(tc-getCC)" \ |
136 |
+ LINK_FLAGS="$LDFLAGS -Wl,-E" \ |
137 |
+ STRIP="" \ |
138 |
+ $(usex nls "" "enable_nls=0") \ |
139 |
+ $(usex lm_sensors "" "without-libsensors=yes") |
140 |
+ fi |
141 |
+} |
142 |
+ |
143 |
+src_install() { |
144 |
+ if use X ; then |
145 |
+ emake \ |
146 |
+ install${TARGET:+_}${TARGET} \ |
147 |
+ $(usex nls "" "enable_nls=0") \ |
148 |
+ STRIP="" \ |
149 |
+ INSTALLDIR="${ED}/usr/bin" \ |
150 |
+ INCLUDEDIR="${ED}/usr/include" \ |
151 |
+ LOCALEDIR="${ED}/usr/share/locale" \ |
152 |
+ PKGCONFIGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \ |
153 |
+ MANDIR="${ED}/usr/share/man/man1" |
154 |
+ |
155 |
+ docinto html |
156 |
+ dodoc *.html |
157 |
+ |
158 |
+ newicon src/icon.xpm ${PN}.xpm |
159 |
+ make_desktop_entry ${PN} GKrellM ${PN} |
160 |
+ else |
161 |
+ dobin server/gkrellmd |
162 |
+ |
163 |
+ insinto /usr/include/gkrellm2 |
164 |
+ doins server/gkrellmd.h |
165 |
+ doins shared/log.h |
166 |
+ fi |
167 |
+ |
168 |
+ newinitd "${FILESDIR}"/gkrellmd.initd gkrellmd |
169 |
+ newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd |
170 |
+ |
171 |
+ systemd_dounit "${FILESDIR}"/gkrellmd.service |
172 |
+ |
173 |
+ insinto /etc |
174 |
+ doins server/gkrellmd.conf |
175 |
+ |
176 |
+ einstalldocs |
177 |
+} |