diff options
author | Sam James <sam@gentoo.org> | 2023-05-04 12:19:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-04 12:21:01 +0100 |
commit | 6c6bc70ed340f5928e421fde03cb267ff31ab37f (patch) | |
tree | 11454d88e9a0d3bfaf2d4d1405049a946d203226 /media-libs/lsp-plugins | |
parent | sys-devel/make: add savannah upstream metadata (diff) | |
download | gentoo-6c6bc70ed340f5928e421fde03cb267ff31ab37f.tar.gz gentoo-6c6bc70ed340f5928e421fde03cb267ff31ab37f.tar.bz2 gentoo-6c6bc70ed340f5928e421fde03cb267ff31ab37f.zip |
media-libs/lsp-plugins: add 1.2.6
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/lsp-plugins')
-rw-r--r-- | media-libs/lsp-plugins/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild | 88 |
2 files changed, 89 insertions, 0 deletions
diff --git a/media-libs/lsp-plugins/Manifest b/media-libs/lsp-plugins/Manifest index 11db6e6441b5..60004443c499 100644 --- a/media-libs/lsp-plugins/Manifest +++ b/media-libs/lsp-plugins/Manifest @@ -1,2 +1,3 @@ DIST lsp-plugins-1.1.29.tar.gz 66143142 BLAKE2B 6fa6943d8cdf3aedc9f671c64b433ffd5c4f6c7ca14f6a75578300240971e7c9e8546b9a7df7a13b8cd6e0844724c064daa7e249aba70636f47a622e73ed264a SHA512 b8c3804ad583322bce414d6beb079afa5b98a111126bb4507642376fcf1f82b31525b4959c6388b02cc1d14e0ec25de3596794895f2860f492a5fbf87f6e88b7 DIST lsp-plugins-1.2.3.tar.gz 38760829 BLAKE2B c28a4b5cfdbbe5fe42c3f4821ce323cb097b84eddc850f43adcc14e8a9edb2e313236ce44e4eca17dd226c578113a5749d06754deb45a6c2e7c2ff37bfed4fc2 SHA512 1db849ebceffb24540879fcd0971ddd8bffe9a0ecaaebf4b69bf8633a267562bb3eb5cd55dce8b804868d880efdec95b19a312ee017c2a9334b5e764eebbbb30 +DIST lsp-plugins-1.2.6.tar.gz 40450212 BLAKE2B 02364391f4edc894c566b0038f0340be1f923c3de6dfc48ed90460df7a6ba452720e63bb1e510e5ff580e38066915f1761bcd2ca72cdba429163cf24b20ed09e SHA512 d76cee24e976022594eac4830987921ff18c0622bae1ac2fb4744d45ee89dccd1211247f9f7d6df1083c8629f66cd443bce701864a85ff10e66abcf2fae749ce diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild new file mode 100644 index 000000000000..0cfd8b1be10f --- /dev/null +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild @@ -0,0 +1,88 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic xdg + +DESCRIPTION="Linux Studio Plugins" +HOMEPAGE="https://lsp-plug.in" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins" + EGIT_BRANCH="devel" +else + SRC_URI="https://github.com/sadko4u/${PN}/releases/download/${PV}/${PN}-src-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + S="${WORKDIR}/${PN}" +fi + +LICENSE="LGPL-3" +SLOT="0" +IUSE="doc jack ladspa +lv2 test vst X" +REQUIRED_USE="|| ( jack ladspa lv2 ) + test? ( jack )" + +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( dev-lang/php:* )" +DEPEND=" + media-libs/libglvnd[X] + media-libs/libsndfile + jack? ( + media-libs/freetype + virtual/jack + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXrandr + ) + ladspa? ( media-libs/ladspa-sdk ) + lv2? ( + media-libs/freetype + media-libs/lv2 + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXrandr + ) + vst? ( + media-libs/freetype + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXrandr + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + use doc && MODULES+="doc" + use jack && MODULES+=" jack" + use ladspa && MODULES+=" ladspa" + use lv2 && MODULES+=" lv2" + use vst && MODULES+=" vst2" + use X && MODULES+=" xdg" + emake \ + FEATURES="${MODULES}" \ + PREFIX="/usr" \ + LIBDIR="/usr/$(get_libdir)" \ + CFLAGS_EXT="${CFLAGS}" \ + CXXFLAGS_EXT="${CXXFLAGS}" \ + LDFLAGS_EXT="$(raw-ldflags)" \ + VERBOSE=1 \ + config +} + +src_compile() { + emake \ + FEATURES="${MODULES}" \ + PREFIX="/usr" \ + LIBDIR="/usr/$(get_libdir)" \ + CFLAGS_EXT="${CFLAGS}" \ + CXXFLAGS_EXT="${CXXFLAGS}" \ + LDFLAGS_EXT="$(raw-ldflags)" \ + VERBOSE=1 +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" VERBOSE=1 install +} |