summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-01-10 17:24:38 +0000
committerMarek Szuba <marecki@gentoo.org>2022-01-11 18:38:15 +0000
commit87dba150f7481dab8bbb518e6f7ebf59e0c65527 (patch)
tree899f24892e3a19d80b76b7773f39d3350356f2a0 /media-sound
parentnet-p2p/syncthing: support cross compilation (diff)
downloadgentoo-87dba150f7481dab8bbb518e6f7ebf59e0c65527.tar.gz
gentoo-87dba150f7481dab8bbb518e6f7ebf59e0c65527.tar.bz2
gentoo-87dba150f7481dab8bbb518e6f7ebf59e0c65527.zip
media-sound/easyeffects: add 6.2.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/easyeffects/Manifest1
-rw-r--r--media-sound/easyeffects/easyeffects-6.2.1.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/easyeffects/Manifest b/media-sound/easyeffects/Manifest
index 9bddf89d64fa..01e6227ad082 100644
--- a/media-sound/easyeffects/Manifest
+++ b/media-sound/easyeffects/Manifest
@@ -1 +1,2 @@
DIST easyeffects-6.1.5.tar.gz 1696731 BLAKE2B ad091c64fa7ece0f569a09ed551be0498b48f2f6f5346de51bd358942cd440663a05bb7271e1e6e8ca29427a799b12a03c26a763498a2f1f2c3093a784b92e2c SHA512 0f4505e429416186f3af4338c1c7b5afac0f0ec343749bd9bcc8cf222349b2cb25714de493236c57b1dd60dfcc3e1359cab15cdeabb661f4cb20591b518f70a6
+DIST easyeffects-6.2.1.tar.gz 1729150 BLAKE2B 660bfbd21c04bf0afcfd2918278f6fcf6f21a7c44ca5ff69b3782ec9de8a93c65d240bca52a0a6009a8a4c00d7970ff8fe740b1e969bed99e6f24eaa4b0789bd SHA512 0539c2cadf38796b7bb0f82b260829f5794b1ab8e20185b855335b080a107e6858b1d80fbaa3b7b59cdfb50d67e3ad90fecab464fc0901af49e76171f5bc0014
diff --git a/media-sound/easyeffects/easyeffects-6.2.1.ebuild b/media-sound/easyeffects/easyeffects-6.2.1.ebuild
new file mode 100644
index 000000000000..7ba1666ddb3f
--- /dev/null
+++ b/media-sound/easyeffects/easyeffects-6.2.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils flag-o-matic meson
+
+DESCRIPTION="Limiter, auto volume and many other plugins for PipeWire applications"
+HOMEPAGE="https://github.com/wwmm/easyeffects"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/wwmm/easyeffects"
+else
+ SRC_URI="https://github.com/wwmm/easyeffects/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="calf +doc mda-lv2 zamaudio"
+
+# Tests fail since 6.1.0 due to upstream changes to the metainfo file.
+# TODO: check this every release.
+RESTRICT="test"
+
+DEPEND="dev-cpp/nlohmann_json
+ dev-cpp/tbb
+ >=dev-libs/glib-2.56:2
+ dev-libs/libfmt
+ >=dev-libs/libsigc++-3.0.6:3
+ >=gui-libs/gtk-4.2.1:4
+ gui-libs/libadwaita
+ media-libs/libbs2b
+ >=media-libs/libebur128-1.2.0
+ media-libs/libsndfile
+ >=media-libs/lilv-0.22
+ >=media-libs/lv2-1.18.2
+ media-libs/rnnoise
+ media-libs/rubberband[ladspa]
+ media-libs/speexdsp
+ >=media-libs/zita-convolver-3.0.0
+ >=media-video/pipewire-0.3.31
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}
+ >=media-libs/lsp-plugins-1.1.24[lv2]
+ sys-apps/dbus
+ calf? ( >=media-plugins/calf-0.90.1[lv2] )
+ doc? ( gnome-extra/yelp )
+ mda-lv2? ( media-plugins/mda-lv2 )
+ zamaudio? ( media-plugins/zam-plugins )"
+# Only header files are used from libsamplerate so put it here rather than DEPEND
+# to avoid unnecessary cross-compilation.
+BDEPEND="dev-libs/appstream-glib
+ dev-util/desktop-file-utils
+ dev-util/itstool
+ media-libs/libsamplerate
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != "binary" ]] ; then
+ if ! test-flag-CXX -std=c++20 ; then
+ die "${PN} requires degree of C++20 support only available since GCC 10 or Clang 10"
+ fi
+ fi
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+ gnome2_schemas_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_gconf_uninstall
+ gnome2_schemas_update
+ xdg_icon_cache_update
+}