Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Wed, 04 May 2016 22:01:31
Message-Id: 1462399203.d785b6087dc8912fac7fabc437980d34df67bf74.soap@gentoo
1 commit: d785b6087dc8912fac7fabc437980d34df67bf74
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Thu Apr 28 07:49:50 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 22:00:03 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d785b608
7
8 sci-misc/boinc: Removed obsolete ebuild for boinc-7.2.0
9
10 Gentoo-Bug: 577490
11
12 Made obsolete by the addition of the versioned 7.2.42 ebuild.
13
14 Package-Manager: portage-2.2.28
15
16 sci-misc/boinc/boinc-7.2.0.ebuild | 146 --------------------------------------
17 1 file changed, 146 deletions(-)
18
19 diff --git a/sci-misc/boinc/boinc-7.2.0.ebuild b/sci-misc/boinc/boinc-7.2.0.ebuild
20 deleted file mode 100644
21 index 648d390..0000000
22 --- a/sci-misc/boinc/boinc-7.2.0.ebuild
23 +++ /dev/null
24 @@ -1,146 +0,0 @@
25 -# Copyright 1999-2015 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -# $Id$
28 -
29 -EAPI=5
30 -
31 -#WANT_AUTOMAKE="1.11"
32 -
33 -AUTOTOOLS_AUTORECONF=true
34 -
35 -inherit autotools-utils flag-o-matic eutils wxwidgets user
36 -
37 -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
38 -HOMEPAGE="http://boinc.ssl.berkeley.edu/"
39 -SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
40 -
41 -LICENSE="LGPL-2.1"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
44 -IUSE="X cuda static-libs"
45 -
46 -RDEPEND="
47 - !sci-misc/boinc-bin
48 - !app-admin/quickswitch
49 - >=app-misc/ca-certificates-20080809
50 - dev-libs/openssl:0=
51 - net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
52 - sys-apps/util-linux
53 - sys-libs/zlib
54 - cuda? (
55 - >=dev-util/nvidia-cuda-toolkit-2.1
56 - >=x11-drivers/nvidia-drivers-180.22
57 - )
58 - X? (
59 - dev-db/sqlite:3
60 - media-libs/freeglut
61 - sys-libs/glibc:2.2
62 - virtual/jpeg:0=
63 - x11-libs/gtk+:2
64 - >=x11-libs/libnotify-0.7
65 - x11-libs/wxGTK:2.8[X,opengl]
66 - )
67 -"
68 -DEPEND="${RDEPEND}
69 - sys-devel/gettext
70 - app-text/docbook-xml-dtd:4.4
71 - app-text/docbook2X
72 -"
73 -
74 -PATCHES=(
75 - "${FILESDIR}"/${P}-fix_subdirs.patch
76 -)
77 -
78 -AUTOTOOLS_IN_SOURCE_BUILD=1
79 -
80 -src_prepare() {
81 - # prevent bad changes in compile flags, bug 286701
82 - sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
83 -
84 - autotools-utils_src_prepare
85 -}
86 -
87 -src_configure() {
88 - local wxconf=""
89 -
90 - # add gtk includes
91 - append-flags "$(pkg-config --cflags gtk+-2.0)"
92 -
93 - # look for wxGTK
94 - if use X; then
95 - WX_GTK_VER="2.8"
96 - need-wxwidgets unicode
97 - wxconf+=" --with-wx-config=${WX_CONFIG}"
98 - else
99 - wxconf+=" --without-wxdir"
100 - fi
101 -
102 - local myeconfargs=(
103 - --disable-server
104 - --enable-client
105 - --enable-dynamic-client-linkage
106 - --disable-static
107 - --enable-unicode
108 - --with-ssl
109 - $(use_with X x)
110 - $(use_enable X manager)
111 - ${wxconf}
112 - )
113 - autotools-utils_src_configure
114 -}
115 -
116 -src_install() {
117 - autotools-utils_src_install
118 -
119 - dodir /var/lib/${PN}/
120 - keepdir /var/lib/${PN}/
121 -
122 - if use X; then
123 - newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png || die
124 - make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
125 - fi
126 -
127 - # cleanup cruft
128 - rm -rf "${ED}"/etc/
129 -
130 - newinitd "${FILESDIR}"/${PN}.init ${PN}
131 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
132 -}
133 -
134 -pkg_preinst() {
135 - enewgroup ${PN}
136 - # note this works only for first install so we have to
137 - # elog user about the need of being in video group
138 - if use cuda; then
139 - enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video"
140 - else
141 - enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}"
142 - fi
143 -}
144 -
145 -pkg_postinst() {
146 - echo
147 - elog "You are using the source compiled version of ${PN}."
148 - use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr"
149 - elog
150 - elog "You need to attach to a project to do anything useful with ${PN}."
151 - elog "You can do this by running /etc/init.d/${PN} attach"
152 - elog "The howto for configuration is located at:"
153 - elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
154 - elog
155 - # Add warning about the new password for the client, bug 121896.
156 - if use X; then
157 - elog "If you need to use the graphical manager the password is in:"
158 - elog "/var/lib/${PN}/gui_rpc_auth.cfg"
159 - elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
160 - elog "/etc/conf.d/${PN}"
161 - elog "You should change this password to something more memorable (can be even blank)."
162 - elog "Remember to launch init script before using manager. Or changing the password."
163 - elog
164 - fi
165 - if use cuda; then
166 - elog "To be able to use CUDA you should add boinc user to video group."
167 - elog "Run as root:"
168 - elog "gpasswd -a boinc video"
169 - fi
170 -}