1 |
commit: 9465694693f75a0b47e92eb8a46908de16903b2e |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 14:11:10 2017 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 14:42:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94656946 |
7 |
|
8 |
dev-libs/jthread: version bump, add multilib support |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/jthread/Manifest | 1 + |
13 |
dev-libs/jthread/jthread-1.3.3.ebuild | 26 ++++++++++++++++++++++++++ |
14 |
2 files changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/jthread/Manifest b/dev-libs/jthread/Manifest |
17 |
index ece403c2bcf..c21469fa5ae 100644 |
18 |
--- a/dev-libs/jthread/Manifest |
19 |
+++ b/dev-libs/jthread/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jthread-1.3.1.tar.bz2 8130 SHA256 e62ec3b6d11a83a6b50336c66e192fa97a677a5f627ea996ffa5f5ddb1752936 SHA512 ea369ed8028266d67d2a7aeadbc6dd4859191f563dc2f328ad3622af3cc010e366c446a9d325fd689dd35473e6547e552dd0715a4ab308207f46260382f1603f WHIRLPOOL 302828b1948d5f8827bd96b23f32d45bcf2df53f661daf6c1c718f15aa1dc8d35f0053a0aebaefc9a19ff32776c1efacaffd3890e01ed4c27d464c2e02b3117e |
22 |
+DIST jthread-1.3.3.tar.bz2 8514 SHA256 17560e8f63fa4df11c3712a304ded85870227b2710a2f39692133d354ea0b64f SHA512 87c57db51014cd1af87cb4a7f6ac1ccfdff699cf72ff91ecbdb30702c844aad360768261d7bf6391b96639cc17f2fae29f3f3506a333b4ce6ed8a9ba64239e6f WHIRLPOOL 97d56deb9c53bfd08c4fb4ebccfb30f8237890b2b30f5d6ca6f1e8b032eb4e776ed4808d0ac746853a468bab634c3cdaff472f27a4bac3d307169dff7d15f1b2 |
23 |
|
24 |
diff --git a/dev-libs/jthread/jthread-1.3.3.ebuild b/dev-libs/jthread/jthread-1.3.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..e854d07537d |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/jthread/jthread-1.3.3.ebuild |
29 |
@@ -0,0 +1,26 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit cmake-multilib |
36 |
+ |
37 |
+DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms" |
38 |
+HOMEPAGE="http://research.edm.uhasselt.be/jori/page/CS/Jthread.html" |
39 |
+SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+ |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+DOCS=( ChangeLog README.md doc/manual.tex ) |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ # do not build static library, if it is not requested |
51 |
+ if ! use static-libs; then |
52 |
+ sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed' |
53 |
+ fi |
54 |
+ cmake-utils_src_prepare |
55 |
+} |