Files
@ 251128c9daae
Branch filter:
Location: ohnobinki_overlay/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild - annotation
251128c9daae
1.4 KiB
application/vnd.gentoo.ebuild
Remove layout.conf because it only causes troubles with conflict between gentoo and gentoo-prefix repositories.
34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 30c0b7932d41 30c0b7932d41 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 30c0b7932d41 34dde9f0b23b 30c0b7932d41 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 30c0b7932d41 30c0b7932d41 34dde9f0b23b 30c0b7932d41 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 30c0b7932d41 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b 34dde9f0b23b | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.7 2010/04/02 15:42:46 jer Exp $
EAPI=2
inherit eutils toolchain-funcs portability flag-o-matic
MY_PN=${PN/-/_}
MY_P=${MY_PN}_${PV}
DESCRIPTION="The Linux Audio Developer's Simple Plugin API"
HOMEPAGE="http://www.ladspa.org/"
SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=""
DEPEND=">=sys-apps/sed-4"
S=${WORKDIR}/${MY_PN}/src
src_prepare() {
epatch "${FILESDIR}/${P}-properbuild.patch"
epatch "${FILESDIR}/${P}-asneeded.patch"
epatch "${FILESDIR}/${P}-fbsd.patch"
epatch "${FILESDIR}/${P}-no-LD.patch"
sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \
makefile || die "sed makefile failed (sound playing tests)"
}
src_compile() {
emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
DYNAMIC_LD_LIBS="$(dlopen_lib)" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
targets || die
}
src_install() {
emake \
INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \
DESTDIR="${D}" \
MKDIR_P="mkdir -p" \
install || die "make install failed"
dohtml ../doc/*.html || die "dohtml failed"
# Needed for apps like rezound
dodir /etc/env.d
echo "LADSPA_PATH=/usr/$(get_libdir)/ladspa" > "${D}/etc/env.d/60ladspa"
}
|