commit: 82cbdda24ce2a3fda1bc7ff181f629d090018a60 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Thu Jan 27 19:00:06 2022 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Thu Jan 27 19:28:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82cbdda2
media-sound/easyeffects: add 6.2.2 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> media-sound/easyeffects/Manifest | 1 + media-sound/easyeffects/easyeffects-6.2.2.ebuild | 79 ++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/media-sound/easyeffects/Manifest b/media-sound/easyeffects/Manifest index 01e6227ad082..984e5c11be74 100644 --- a/media-sound/easyeffects/Manifest +++ b/media-sound/easyeffects/Manifest @@ -1,2 +1,3 @@ DIST easyeffects-6.1.5.tar.gz 1696731 BLAKE2B ad091c64fa7ece0f569a09ed551be0498b48f2f6f5346de51bd358942cd440663a05bb7271e1e6e8ca29427a799b12a03c26a763498a2f1f2c3093a784b92e2c SHA512 0f4505e429416186f3af4338c1c7b5afac0f0ec343749bd9bcc8cf222349b2cb25714de493236c57b1dd60dfcc3e1359cab15cdeabb661f4cb20591b518f70a6 DIST easyeffects-6.2.1.tar.gz 1729150 BLAKE2B 660bfbd21c04bf0afcfd2918278f6fcf6f21a7c44ca5ff69b3782ec9de8a93c65d240bca52a0a6009a8a4c00d7970ff8fe740b1e969bed99e6f24eaa4b0789bd SHA512 0539c2cadf38796b7bb0f82b260829f5794b1ab8e20185b855335b080a107e6858b1d80fbaa3b7b59cdfb50d67e3ad90fecab464fc0901af49e76171f5bc0014 +DIST easyeffects-6.2.2.tar.gz 2614684 BLAKE2B 9a7e3cd53ce31fef424d38f5591130a6f1fd6648b73f72b504c006b8cc3712320fe6eddca7209568b0272820053ea0179d80b0acf198fa9956a4a86c3fc1865b SHA512 d2200d66b54f9d125c36d306b36a71f477ed9ae8bb7c72f06a1a180903edb768ba0dc153322f82859dd6140d9e2f5d92a52506728e0ec06b79db1b400ca9a111 diff --git a/media-sound/easyeffects/easyeffects-6.2.2.ebuild b/media-sound/easyeffects/easyeffects-6.2.2.ebuild new file mode 100644 index 000000000000..c7f50ff049df --- /dev/null +++ b/media-sound/easyeffects/easyeffects-6.2.2.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 ~ppc64" +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:1 + 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 +}