diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-09 11:06:44 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-09 11:07:21 +0200 |
commit | ccf0a47dd10f3cb114fb819e515c78f3e49c8fc0 (patch) | |
tree | 25cc59d3456d5e93d83be09a6ebae26a1afea271 /media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild | |
parent | dev-python/docutils: Revbump to drop py2.7 (diff) | |
download | gentoo-ccf0a47dd10f3cb114fb819e515c78f3e49c8fc0.tar.gz gentoo-ccf0a47dd10f3cb114fb819e515c78f3e49c8fc0.tar.bz2 gentoo-ccf0a47dd10f3cb114fb819e515c78f3e49c8fc0.zip |
media-libs/ladspa-sdk: fixed linking of filter.so in revbump 1.15-r1
Closes: https://bugs.gentoo.org/732346
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild')
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild new file mode 100644 index 000000000000..2f61df077ec2 --- /dev/null +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib toolchain-funcs portability flag-o-matic multilib-minimal + +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 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND=">=sys-apps/sed-4" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-properbuild.patch" +) + +HTML_DOCS="doc/*.html" + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_compile() { + cd src + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + DYNAMIC_LD_LIBS="$(dlopen_lib)" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ + targets +} + +multilib_src_test() { + cd src + emake test +} + +multilib_src_install() { + cd src + emake INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \ + DESTDIR="${ED}" \ + MKDIR_P="mkdir -p" \ + install +} + +multilib_src_install_all() { + einstalldocs + + # Needed for apps like rezound + dodir /etc/env.d + echo "LADSPA_PATH=${EPREFIX}/usr/$(get_libdir)/ladspa" > "${ED}/etc/env.d/60ladspa" +} |