summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-18 12:44:54 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-18 12:51:27 +0100
commitc936cd365c6cd8554341b4b48806cae53ef015ab (patch)
tree370ea27c15747c15a598bf7987255df7c8367c41 /media-sound/easyeffects
parentllvm.org.eclass: Enable EAPI 8 (diff)
downloadgentoo-c936cd365c6cd8554341b4b48806cae53ef015ab.tar.gz
gentoo-c936cd365c6cd8554341b4b48806cae53ef015ab.tar.bz2
gentoo-c936cd365c6cd8554341b4b48806cae53ef015ab.zip
media-sound/easyeffects: add 6.0.3, masked
Have to keep it masked until we have got gtk4 & co. in the tree, everyone who's got the latter installed somehow is welcome to test this though. Bug: https://bugs.gentoo.org/801493 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound/easyeffects')
-rw-r--r--media-sound/easyeffects/Manifest1
-rw-r--r--media-sound/easyeffects/easyeffects-6.0.3.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/media-sound/easyeffects/Manifest b/media-sound/easyeffects/Manifest
index f1a0f876ce3a..c4c25e178295 100644
--- a/media-sound/easyeffects/Manifest
+++ b/media-sound/easyeffects/Manifest
@@ -1 +1,2 @@
DIST easyeffects-5.0.4.tar.gz 2070912 BLAKE2B 848d2fa6fc1290b6fc25e13c4bbe4d8df932af63b8fb7e9642c6e24b29360dd17efba71ae0daae265538cd9cde1d9e33de453b0c469e3d54709a3f337cd583a7 SHA512 78074341c8376a4918d09950fd7db8804346cd2e00d6849da464662643809010eeb1d009c44ca5d3eadd2faf3bb9c43a18a41b7c3e77b883beff44618967b30e
+DIST easyeffects-6.0.3.tar.gz 1905373 BLAKE2B f423cefd0e6124ee1128bf5a07fb23df03df4ca25a6ebcbcd122032e5768ee68ff3464cdb51263d731fee3e9f5fee180858d96ab627771099808b1194adb78b1 SHA512 eb88f0befb6cf86b7da03137cb7ed6ac833f204d17860d9bd508dc8b007b2a0fb941b63a015b1179cb4da28abd0b3d8a8c53d026fd5a22057fee27e02618035c
diff --git a/media-sound/easyeffects/easyeffects-6.0.3.ebuild b/media-sound/easyeffects/easyeffects-6.0.3.ebuild
new file mode 100644
index 000000000000..f87cb3164b56
--- /dev/null
+++ b/media-sound/easyeffects/easyeffects-6.0.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils 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"
+
+DEPEND=">=dev-cpp/glibmm-2.68:2.68
+ >=dev-cpp/gtkmm-4.2.0:4.0
+ dev-cpp/nlohmann_json
+ >=dev-libs/glib-2.56:2
+ >=dev-libs/libsigc++-3.0:3
+ media-libs/libbs2b
+ media-libs/libebur128
+ 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
+ >=x11-libs/gtk+-4.2.1:4"
+# FIXME:
+# - webrtc - is it still there?
+# - zam-plugins (for maximizer) - still used
+RDEPEND="${DEPEND}
+ gnome-extra/yelp
+ >=media-libs/lsp-plugins-1.1.24[lv2]
+ sys-apps/dbus
+ calf? ( >=media-plugins/calf-0.90.1[lv2] )"
+# 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 "You need at least GCC 8 or Clang 10 for C++20-specific compiler flags"
+ 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
+}