35 lines
727 B
Bash
35 lines
727 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
inherit multilib toolchain-funcs eutils
|
|
|
|
MY_P=${P/amb/AMB}
|
|
|
|
DESCRIPTION="AMB-plugins ladspa plugin package. Filters by Fons Adriaensen"
|
|
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
|
|
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND="media-libs/ladspa-sdk"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}-Makefile.patch"
|
|
}
|
|
|
|
src_compile() {
|
|
emake CXX="$(tc-getCXX)"
|
|
}
|
|
|
|
src_install() {
|
|
dodoc AUTHORS README
|
|
insinto /usr/$(get_libdir)/ladspa
|
|
insopts -m0755
|
|
doins *.so
|
|
}
|