summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-07-27 09:03:51 +0100
committerMarek Szuba <marecki@gentoo.org>2022-07-27 09:17:21 +0100
commit464f51d3774beab474e59d65ee3df8018991d1b5 (patch)
treeff933c477a90e5a7074e01193f5e6667c55120c0 /media-sound/easyeffects/easyeffects-6.2.8.ebuild
parentapp-cdr/xcdroast: drop 0.98_alpha16-r3 (diff)
downloadgentoo-464f51d3774beab474e59d65ee3df8018991d1b5.tar.gz
gentoo-464f51d3774beab474e59d65ee3df8018991d1b5.tar.bz2
gentoo-464f51d3774beab474e59d65ee3df8018991d1b5.zip
media-sound/easyeffects: add 6.2.8, drop 6.2.5
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound/easyeffects/easyeffects-6.2.8.ebuild')
-rw-r--r--media-sound/easyeffects/easyeffects-6.2.8.ebuild79
1 files changed, 79 insertions, 0 deletions
diff --git a/media-sound/easyeffects/easyeffects-6.2.8.ebuild b/media-sound/easyeffects/easyeffects-6.2.8.ebuild
new file mode 100644
index 000000000000..9250f1d82ccd
--- /dev/null
+++ b/media-sound/easyeffects/easyeffects-6.2.8.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 toolchain-funcs
+
+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"
+
+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.41
+ 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
+
+ if tc-is-gcc && [[ $(gcc-major-version) -lt 11 ]] ; then
+ die "Since version 6.2.5 ${PN} requires GCC 11 or newer to build (Bug #848072)"
+ 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
+}