diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2019-02-24 17:51:07 -0600 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2019-02-24 17:51:21 -0600 |
commit | cc34b297bbae1307f6da80ae9ffbcb7991e48e6a (patch) | |
tree | bec7a643dce5394c4829c808d7941e6f7df87d8d /media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild | |
parent | dev-lang/rust: Fix wasm USE flag by restoring WebAssembly target (diff) | |
download | gentoo-cc34b297bbae1307f6da80ae9ffbcb7991e48e6a.tar.gz gentoo-cc34b297bbae1307f6da80ae9ffbcb7991e48e6a.tar.bz2 gentoo-cc34b297bbae1307f6da80ae9ffbcb7991e48e6a.zip |
media-libs/lsp-plugins: fix multilib-strict install
Fixes: https://bugs.gentoo.org/678712
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild')
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild new file mode 100644 index 000000000000..79a8ccbba8f4 --- /dev/null +++ b/media-libs/lsp-plugins/lsp-plugins-1.1.5-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Linux Studio Plugins" +HOMEPAGE="https://lsp-plug.in" +SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc jack ladspa +lv2" +REQUIRED_USE="|| ( jack ladspa lv2 )" + +DEPEND=" + dev-libs/expat + media-libs/libsndfile + doc? ( dev-lang/php:* ) + jack? ( + virtual/jack + x11-libs/cairo[X] + ) + ladspa? ( media-libs/ladspa-sdk ) + lv2? ( + media-libs/lv2 + x11-libs/cairo[X] + ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare(){ + eapply_user + sed -i '/install_.*: all/s/ all//g' Makefile +} + +src_compile(){ + use doc && MODULES+="doc" + use jack && MODULES+=" jack" + use ladspa && MODULES+=" ladspa" + use lv2 && MODULES+=" lv2" + emake BUILD_MODULES="${MODULES}" +} + +src_install(){ + use doc && emake PREFIX="/usr" DESTDIR="${D}" LIB_PATH="/usr/$(get_libdir)" install_doc + use jack && emake PREFIX="/usr" DESTDIR="${D}" LIB_PATH="/usr/$(get_libdir)" install_jack + use ladspa && emake PREFIX="/usr" DESTDIR="${D}" LIB_PATH="/usr/$(get_libdir)" install_ladspa + use lv2 && emake PREFIX="/usr" DESTDIR="${D}" LIB_PATH="/usr/$(get_libdir)" install_lv2 +} |