public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/orc/
Date: Sun, 21 Jan 2018 11:59:13 +0000 (UTC)	[thread overview]
Message-ID: <1516535763.b10e3ba19c61c57cef8c59218732f7bfb1b13f91.leio@gentoo> (raw)

commit:     b10e3ba19c61c57cef8c59218732f7bfb1b13f91
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 11:41:49 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 11:56:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10e3ba1

dev-lang/orc: install test headers always, used by some things

Bug: https://bugs.gentoo.org/645232
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-lang/orc/orc-0.4.28-r1.ebuild | 73 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/dev-lang/orc/orc-0.4.28-r1.ebuild b/dev-lang/orc/orc-0.4.28-r1.ebuild
new file mode 100644
index 00000000000..c52de3a0a45
--- /dev/null
+++ b/dev-lang/orc/orc-0.4.28-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic multilib-minimal pax-utils
+
+DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="BSD BSD-2"
+SLOT="0"
+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"
+IUSE="examples pax_kernel static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+	>=dev-util/gtk-doc-am-1.12
+"
+
+src_prepare() {
+	default
+
+	# Do not build examples	
+	sed -e '/SUBDIRS/ s:examples::' \
+		-i Makefile.am Makefile.in || die
+}
+
+multilib_src_configure() {
+	# any optimisation on PPC/Darwin yields in a complaint from the assembler
+	# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
+	# the same for Intel/Darwin, although the error message there is different
+	# but along the same lines
+	[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
+
+	# FIXME: handle backends per arch? What about cross-compiling for the other arches?
+	ECONF_SOURCE="${S}" econf \
+		--disable-gtk-doc \
+		--enable-backend=all \
+		$(use_enable static-libs static)
+		# TODO: bug #645232 - Not ready for this yet, as it installs some headers to live and gst-plugins-base:0.10 includes some
+		# Additionally it doesn't seem good that FEATURES=test would change what files are installed (headers + orctest.so + orc-bugreport)
+		# $(use_enable test tests)
+}
+
+multilib_src_install() {
+	emake DESTDIR="${D}" install
+	prune_libtool_files --all
+
+	if use pax_kernel; then
+		pax-mark m "${ED}"usr/bin/orc-bugreport
+		pax-mark m "${ED}"usr/bin/orcc
+		pax-mark m "${ED}"usr/$(get_libdir)/liborc*.so*
+	fi
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins examples/{*.c,*.orc}
+	fi
+}
+
+pkg_postinst() {
+	if use pax_kernel; then
+		ewarn "Please run \"revdep-pax\" after installation".
+		ewarn "It's provided by sys-apps/elfix."
+	fi
+}


             reply	other threads:[~2018-01-21 11:59 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-21 11:59 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-08 10:31 [gentoo-commits] repo/gentoo:master commit in: dev-lang/orc/ Arthur Zamarin
2025-02-08 10:28 Arthur Zamarin
2025-02-07 16:18 Arthur Zamarin
2025-01-04 21:57 Sam James
2024-04-30  8:28 Mart Raudsepp
2024-04-01 19:55 Mart Raudsepp
2024-03-01  7:28 Viorel Munteanu
2023-11-04 23:33 Mart Raudsepp
2023-05-30 23:54 Sam James
2023-03-31 11:44 Arthur Zamarin
2023-03-05  9:00 Arthur Zamarin
2023-02-21 17:13 Arthur Zamarin
2023-02-21 17:13 Arthur Zamarin
2023-02-08 13:51 Sam James
2023-02-08 13:51 Sam James
2022-12-18 18:51 Arthur Zamarin
2022-12-18 12:30 Sam James
2022-12-18 12:26 Sam James
2022-05-22  3:53 Sam James
2022-05-19 12:19 WANG Xuerui
2022-01-23  8:05 Yixun Lan
2020-11-04 15:50 Sam James
2020-08-19 22:40 Sam James
2020-01-27 18:33 Mart Raudsepp
2019-11-24  3:16 Matt Turner
2019-11-24  3:06 Matt Turner
2019-11-23 21:41 Matt Turner
2019-09-13 17:32 Mikle Kolyada
2019-08-18 12:37 David Seifert
2019-08-13 11:40 Agostino Sarubbo
2019-08-11 21:30 Thomas Deutschmann
2019-08-10 15:49 Sergei Trofimovich
2019-08-10  9:06 Sergei Trofimovich
2019-08-09 12:51 Agostino Sarubbo
2019-04-15 14:16 Mart Raudsepp
2018-07-15 23:13 Mart Raudsepp
2018-03-31 20:41 Mart Raudsepp
2018-03-17 17:19 Mikle Kolyada
2018-01-21 11:59 Mart Raudsepp
2018-01-21  1:37 Mart Raudsepp
2018-01-06 14:15 Mart Raudsepp
2017-11-20 19:33 Manuel RĂ¼ger
2017-11-11 21:49 Thomas Deutschmann
2017-06-22 11:48 Alexis Ballier
2017-02-05  6:19 Mart Raudsepp
2016-12-06 20:57 Markus Meier
2016-09-17 14:55 Gilles Dartiguelongue
2016-09-17 13:51 Pacho Ramos
2016-09-17 13:51 Pacho Ramos
2016-07-30  9:34 Jeroen Roovers
2016-06-11 19:39 Pacho Ramos
2016-06-11 12:06 Pacho Ramos
2016-06-08 20:04 Markus Meier
2016-03-10  0:49 Mart Raudsepp
2015-10-27 20:26 Magnus Granberg
2015-10-03  8:48 Markus Meier
2015-09-11  0:17 Alexandre Rostovtsev
2015-09-07 21:55 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516535763.b10e3ba19c61c57cef8c59218732f7bfb1b13f91.leio@gentoo \
    --to=leio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox