summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-10-30 13:28:23 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-10-30 13:28:23 +0100
commit170bb95000eb3042ba92de0f6b0e2f134cb9c9d1 (patch)
tree48dc7c93de06eade90ecd03ab07333ec44df4a4a /media-plugins
parentmedia-plugins/x42-plugins: dropped obsolete 20220605 (diff)
downloadgentoo-170bb95000eb3042ba92de0f6b0e2f134cb9c9d1.tar.gz
gentoo-170bb95000eb3042ba92de0f6b0e2f134cb9c9d1.tar.bz2
gentoo-170bb95000eb3042ba92de0f6b0e2f134cb9c9d1.zip
media-plugins/x42-plugins: bump to 20240611
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/x42-plugins/Manifest1
-rw-r--r--media-plugins/x42-plugins/x42-plugins-20240611.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/media-plugins/x42-plugins/Manifest b/media-plugins/x42-plugins/Manifest
index c41f3eac9b51..a9d6ba264915 100644
--- a/media-plugins/x42-plugins/Manifest
+++ b/media-plugins/x42-plugins/Manifest
@@ -1 +1,2 @@
DIST x42-plugins-20220714.tar.xz 3587148 BLAKE2B 10459537d470f3177578b5d0328d634e469a0f00f8390e5dc2fc6f91c197ab9299572fef6787fd61cfc0fd579657e0372af22a3539f84a1d8ba76277e413c5ff SHA512 502994109d68ae8df39b0258caa414529711fea92254922945eb3c7cf28bb5dd67586f362c8a392ec9cfda3f62cbe050063e86fb2c0bb3cc5e860912264472d3
+DIST x42-plugins-20240611.tar.xz 3560084 BLAKE2B 1e744f90e3ee29fee9e8eb0e2791bb24e12a7aff2f200e0c68c2b7e692612340a9749041b193ea0b672a6822b1ea19247e2eddb0985f1e46a2afa230b8904298 SHA512 19c782cb5f6f9ac22da448c8d72308f93e89c76eea4efa1e68a6bb1036201bde0cff16dc8996ca34b855ad5f6dfcdf882f4cd3045160b9083ebc023a5f680fd2
diff --git a/media-plugins/x42-plugins/x42-plugins-20240611.ebuild b/media-plugins/x42-plugins/x42-plugins-20240611.ebuild
new file mode 100644
index 000000000000..0f1aaafbbf0c
--- /dev/null
+++ b/media-plugins/x42-plugins/x42-plugins-20240611.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Collection of LV2 plugins"
+HOMEPAGE="https://github.com/x42/x42-plugins"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/x42/x42-plugins.git"
+else
+ SRC_URI="https://gareus.org/misc/x42-plugins/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT="mirror"
+
+RDEPEND="dev-libs/glib
+ media-fonts/dejavu
+ media-libs/ftgl
+ media-libs/glu
+ media-libs/liblo
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ media-libs/libltc
+ media-libs/lv2
+ media-libs/zita-convolver
+ sci-libs/fftw:3.0
+ virtual/jack
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/pango
+"
+DEPEND="${RDEPEND}
+ sys-apps/help2man"
+
+src_compile() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/860402
+ # https://github.com/x42/meters.lv2/issues/41
+ filter-lto
+
+ emake CC="$(tc-getCC)" STRIP="#" FONTFILE="/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" LV2DIR="/usr/$(get_libdir)/lv2" install
+}