1 |
commit: ad2178ccc3444b8c14b0882774be5f50b14e66cc |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 15 11:22:51 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 15 14:16:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad2178cc |
7 |
|
8 |
dev-lang/orc: bump to 0.4.29 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-lang/orc/Manifest | 1 + |
14 |
dev-lang/orc/orc-0.4.29.ebuild | 75 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 76 insertions(+) |
16 |
|
17 |
diff --git a/dev-lang/orc/Manifest b/dev-lang/orc/Manifest |
18 |
index f2dacd4a135..18a95f669b6 100644 |
19 |
--- a/dev-lang/orc/Manifest |
20 |
+++ b/dev-lang/orc/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST orc-0.4.28.tar.xz 469460 BLAKE2B 86fa2d10a33fbffbb2b96827adbddaa81d0baa8135fe21fba338cbcd25a1c1e853873ec1c4ef5c0a32d66ba95f855f1f16ddbc32f68a89e5a98c75b9b0261aa7 SHA512 2ae3100e7d0c03eba9a8a10a8924da4d729e1967b63e5dfdf88c4aee907d7ece82c782d74f4cb7e28a366dd74ce5e1ddc6e2b971e5a2f879b0501cc313b93410 |
23 |
+DIST orc-0.4.29.tar.xz 465076 BLAKE2B f7c81429d95af7031f190a4c3d52959eda1835d3092493e3fa15e4b6719290c1c1f23459448f7c499ba4085ad8d7b9f49e687521d76823a1e8ce6d3916b39a37 SHA512 57aa75bbefa9ba9ffcce97affd504c13c57612e2409863c011555bed6ff6ba224d38ed66b715bf103679a8ee28ddae427db3d78c7b4a2ddfa7dbd72a4fa81726 |
24 |
|
25 |
diff --git a/dev-lang/orc/orc-0.4.29.ebuild b/dev-lang/orc/orc-0.4.29.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..974ea15e13d |
28 |
--- /dev/null |
29 |
+++ b/dev-lang/orc/orc-0.4.29.ebuild |
30 |
@@ -0,0 +1,75 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils flag-o-matic multilib-minimal pax-utils |
37 |
+ |
38 |
+DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations" |
39 |
+HOMEPAGE="https://gstreamer.freedesktop.org/" |
40 |
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="BSD BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="examples pax_kernel static-libs" |
46 |
+ |
47 |
+RDEPEND="" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ app-arch/xz-utils |
50 |
+ >=dev-util/gtk-doc-am-1.12 |
51 |
+" |
52 |
+ |
53 |
+DOCS=( README RELEASE ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ |
58 |
+ # Do not build examples |
59 |
+ sed -e '/SUBDIRS/ s:examples::' \ |
60 |
+ -i Makefile.am Makefile.in || die |
61 |
+} |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ # any optimisation on PPC/Darwin yields in a complaint from the assembler |
65 |
+ # Parameter error: r0 not allowed for parameter %lu (code as 0 not r0) |
66 |
+ # the same for Intel/Darwin, although the error message there is different |
67 |
+ # but along the same lines |
68 |
+ [[ ${CHOST} == *-darwin* ]] && filter-flags -O* |
69 |
+ |
70 |
+ # FIXME: handle backends per arch? What about cross-compiling for the other arches? |
71 |
+ ECONF_SOURCE="${S}" econf \ |
72 |
+ --disable-gtk-doc \ |
73 |
+ --enable-backend=all \ |
74 |
+ $(use_enable static-libs static) |
75 |
+ # TODO: bug #645232 - Not ready for this yet, as it installs some headers to live and gst-plugins-base:0.10 includes some |
76 |
+ # Additionally it doesn't seem good that FEATURES=test would change what files are installed (headers + orctest.so + orc-bugreport) |
77 |
+ # $(use_enable test tests) |
78 |
+} |
79 |
+ |
80 |
+multilib_src_install() { |
81 |
+ emake DESTDIR="${D}" install |
82 |
+ prune_libtool_files --all |
83 |
+ |
84 |
+ if use pax_kernel; then |
85 |
+ pax-mark m "${ED}"usr/bin/orc-bugreport |
86 |
+ pax-mark m "${ED}"usr/bin/orcc |
87 |
+ pax-mark m "${ED}"usr/$(get_libdir)/liborc*.so* |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+multilib_src_install_all() { |
92 |
+ einstalldocs |
93 |
+ |
94 |
+ if use examples; then |
95 |
+ insinto /usr/share/doc/${PF}/examples |
96 |
+ doins examples/{*.c,*.orc} |
97 |
+ fi |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ if use pax_kernel; then |
102 |
+ ewarn "Please run \"revdep-pax\" after installation". |
103 |
+ ewarn "It's provided by sys-apps/elfix." |
104 |
+ fi |
105 |
+} |