From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-901840-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4054138331 for <garchives@archives.gentoo.org>; Sat, 17 Sep 2016 14:55:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A8ACE0AE6; Sat, 17 Sep 2016 14:55:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE279E0AE6 for <gentoo-commits@lists.gentoo.org>; Sat, 17 Sep 2016 14:55:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B06B340B9C for <gentoo-commits@lists.gentoo.org>; Sat, 17 Sep 2016 14:55:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66E672486 for <gentoo-commits@lists.gentoo.org>; Sat, 17 Sep 2016 14:55:50 +0000 (UTC) From: "Gilles Dartiguelongue" <eva@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" <eva@gentoo.org> Message-ID: <1474124144.ff5bf7969c40a77ec834bbdd425fcf62134a789c.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/orc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/orc/orc-0.4.26-r1.ebuild X-VCS-Directories: dev-lang/orc/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: ff5bf7969c40a77ec834bbdd425fcf62134a789c X-VCS-Branch: master Date: Sat, 17 Sep 2016 14:55:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ec6e06d3-9b21-45db-ac6b-de6cab13b0c1 X-Archives-Hash: 268b28c931cc8a920e9f6aaa5f8e2e90 commit: ff5bf7969c40a77ec834bbdd425fcf62134a789c Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Sat Sep 17 14:54:38 2016 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Sat Sep 17 14:55:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5bf796 dev-lang/orc: bump to EAPI=6, switch to multilib-minimal Do not build examples at all, binaries are not installed, thus avoiding bug #556160 altogether. Package-Manager: portage-2.3.0 dev-lang/orc/orc-0.4.26-r1.ebuild | 71 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/dev-lang/orc/orc-0.4.26-r1.ebuild b/dev-lang/orc/orc-0.4.26-r1.ebuild new file mode 100644 index 00000000..1941d86 --- /dev/null +++ b/dev-lang/orc/orc-0.4.26-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~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 ? + ECONF_SOURCE="${S}" econf \ + --disable-gtk-doc \ + --enable-backend=all \ + $(use_enable static-libs static) +} + +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 +}