commit: 31ca7330382e08f4739e1010b5a72fd833c87802 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Sep 17 13:44:02 2016 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Sep 17 13:44:02 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ca7330
dev-lang/orc: Version bump Package-Manager: portage-2.3.0 dev-lang/orc/Manifest | 1 + dev-lang/orc/orc-0.4.26.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-lang/orc/Manifest b/dev-lang/orc/Manifest index 3aef982..d82fc13 100644 --- a/dev-lang/orc/Manifest +++ b/dev-lang/orc/Manifest @@ -1 +1,2 @@ DIST orc-0.4.25.tar.xz 467184 SHA256 c1b1d54a58f26d483f0b3881538984789fe5d5460ab8fab74a1cacbd3d1c53d1 SHA512 13f636e3ab86e725e15f885462db1944744b8389f263b7afa2279c0e68fb8e71344a646ecb8b7a7fce03e93ab78351a1b79d5eaef106ab8e1d808e82b514316a WHIRLPOOL 4d186f632a828856f73d8174aaea4ac60f4e9d8accbba65da50e8348f06748ea3961fab697f5c44d883711399f7b7af8a46aeecb8d594cc5f1225580c6091011 +DIST orc-0.4.26.tar.xz 465768 SHA256 7d52fa80ef84988359c3434e1eea302d077a08987abdde6905678ebcad4fa649 SHA512 c0b02d4f00b7cc45c5952a4db4f63629bbcbc4d338bbe69fd2743198f2b346bf437742a7a8e1d308f765caf1b43f7fab75add7ebf69897bc0e335a169eef7326 WHIRLPOOL 019891cc9272315666b9b68eb439002192d676794bb7b8b490353991b152a6deadb5171bf46b0e4894c2372b77935e2578b9a0221e6172a8ccfa6f7966983c8c diff --git a/dev-lang/orc/orc-0.4.26.ebuild b/dev-lang/orc/orc-0.4.26.ebuild new file mode 100644 index 00000000..815bcb5 --- /dev/null +++ b/dev-lang/orc/orc-0.4.26.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit autotools-multilib flag-o-matic gnome2-utils 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() { + if ! use examples; then + sed -e '/SUBDIRS/ s:examples::' \ + -i Makefile.am Makefile.in || die + fi + + gnome2_environment_reset #556160 +} + +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* + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + 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 +} + +pkg_postinst() { + if use pax_kernel; then + ewarn "Please run \"revdep-pax\" after installation". + ewarn "It's provided by sys-apps/elfix." + fi +}
