# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" # order is important, gst-plugins10 after gst-plugins inherit eutils flag-o-matic gst-plugins-ugly gst-plugins10-multilib DESCRIPTION="Basepack of plugins for gstreamer" HOMEPAGE="http://gstreamer.sourceforge.net" LICENSE="GPL-2" KEYWORDS="~amd64" IUSE="+orc" RDEPEND=" >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}] >=media-libs/gstreamer-1.2.4:${SLOT}[${MULTILIB_USEDEP}] >=media-libs/gst-plugins-base-1.2:${SLOT}[${MULTILIB_USEDEP}] orc? ( >=dev-lang/orc-0.4.16 ) " DEPEND="${RDEPEND} >=dev-util/gtk-doc-am-1.12 " ehook gst-plugins10-multilib-per-abi-pre_src_configure my_abi_pre_configure my_abi_pre_configure() { # gst doesnt handle optimisations well strip-flags replace-flags "-O3" "-O2" filter-flags "-fprefetch-loop-arrays" # see bug 22249 return 0 } ehook gst-plugins10-multilib-per-abi-pre_src_compile my_abi_pre_compile my_abi_pre_compile() { default return 1 } ehook gst-plugins10-multilib-per-abi-pre_src_install my_abi_pre_install my_abi_pre_install() { DOCS="AUTHORS ChangeLog NEWS README RELEASE" default return 1 } ehook gst-plugins10-multilib-global-post_src_install my_global_post_install my_global_post_install() { prune_libtool_files --modules }