aboutsummaryrefslogtreecommitdiff
blob: a057a33d5b57a0f089bc9afcacd811700de79458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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:${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
}