summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-03 02:50:43 +0100
committerSam James <sam@gentoo.org>2022-10-03 02:55:09 +0100
commitcd9f8c64fb3090149a26b66c872dbb1bb7f75fbe (patch)
tree068e21a367a7838a67f3720321f4685d581b1c59
parentapp-crypt/dehydrated: drop 0.7.0 (diff)
downloadgentoo-cd9f8c64fb3090149a26b66c872dbb1bb7f75fbe.tar.gz
gentoo-cd9f8c64fb3090149a26b66c872dbb1bb7f75fbe.tar.bz2
gentoo-cd9f8c64fb3090149a26b66c872dbb1bb7f75fbe.zip
media-libs/lsp-plugins: add 1.2.3
Bug: https://bugs.gentoo.org/683400 Bug: https://bugs.gentoo.org/832147 Bug: https://bugs.gentoo.org/874339 Closes: https://bugs.gentoo.org/768804 Closes: https://bugs.gentoo.org/853826 Thanks-to: Olivier Huber <oli.huber@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/lsp-plugins/Manifest1
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild88
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-9999.ebuild63
-rw-r--r--media-libs/lsp-plugins/metadata.xml3
4 files changed, 140 insertions, 15 deletions
diff --git a/media-libs/lsp-plugins/Manifest b/media-libs/lsp-plugins/Manifest
index 0d4cc65eb841..8b3a7cc14619 100644
--- a/media-libs/lsp-plugins/Manifest
+++ b/media-libs/lsp-plugins/Manifest
@@ -1,3 +1,4 @@
DIST lsp-plugins-1.1.22.tar.gz 61694018 BLAKE2B 5c14140af797624cf67d61618d22a006c4b02232cef92533244f36b108b58461c56c28379cbdefc8d967de34c3bae91450bc787a0e6ab2ae41f53e4e431a17ff SHA512 6004136b55a990033d22e60af6c418a5ee708aaf0f4263fc3af8097876f7eea6e125a44392468ed8e30a92c0fa44eb65f40d80b25a5f243d3fd4f1c0f3af70d6
DIST lsp-plugins-1.1.24.tar.gz 63809276 BLAKE2B 3d623d4a5b21f2b4dbd7263805b50c9cd9bf19733aeab774983d7a79695015d1e30201f3de46dde950adadcced347f878a272c1c3da9c5f0721c6effda05d9b4 SHA512 20a82594aec51877255ca2808b6c8af03fcfc2f393fdbc6ae6826dd0da17c4a5cb14f02658c1f102600477d7d4d4fc9e24ee3c6a6ef704afc443499a43bd65ec
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
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild
new file mode 100644
index 000000000000..23a2db54192f
--- /dev/null
+++ b/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2019-2022 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
+}
diff --git a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
index 6e275d247806..9d7901ffd074 100644
--- a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
+++ b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
@@ -1,54 +1,89 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit xdg
+inherit flag-o-matic xdg
DESCRIPTION="Linux Studio Plugins"
HOMEPAGE="https://lsp-plug.in"
-if [[ ${PV} == *9999 ]];then
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
EGIT_BRANCH="devel"
else
- SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ 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"
+IUSE="doc jack ladspa +lv2 test vst X"
REQUIRED_USE="|| ( jack ladspa lv2 )"
+# test? ( jack )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( dev-lang/php:* )"
DEPEND="
- dev-libs/expat
- media-libs/libsndfile
media-libs/libglvnd[X]
- doc? ( dev-lang/php:* )
+ 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}"
-BDEPEND=""
-src_compile() {
+src_configure() {
use doc && MODULES+="doc"
use jack && MODULES+=" jack"
use ladspa && MODULES+=" ladspa"
use lv2 && MODULES+=" lv2"
- emake BUILD_MODULES="${MODULES}"
+ 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)" install
+ emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" VERBOSE=1 install
}
diff --git a/media-libs/lsp-plugins/metadata.xml b/media-libs/lsp-plugins/metadata.xml
index b3d7d678edda..568e15c38f44 100644
--- a/media-libs/lsp-plugins/metadata.xml
+++ b/media-libs/lsp-plugins/metadata.xml
@@ -10,7 +10,8 @@
currently compatible with LADSPA, LV2 and LinuxVST formats.
</longdescription>
<use>
- <flag name="lv2">build lv2 plugins</flag>
+ <flag name="lv2">Build lv2 plugins</flag>
+ <flag name="vst">Support LinuxVST plugins</flag>
</use>
<upstream>
<remote-id type="github">adko4u/lsp-plugins</remote-id>