summaryrefslogtreecommitdiff
blob: d967250a7ae77ac34c59623da48db4af2d9f4bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23-r1.ebuild,v 1.1 2014/06/10 19:03:29 mgorny Exp $

EAPI="5"

GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer

KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
IUSE=""

RDEPEND=">=media-libs/ladspa-sdk-1.12-r2[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

src_prepare() {
	local pdir=$(gstreamer_get_plugin_dir)

	# signalprocessor has no .pc
	sed -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/.*\.la:-lgstsignalprocessor-${SLOT}:" \
		-i "${pdir}"/Makefile.{am,in} || die
}