commit:     6358c02320d0d333649176de5664154778106267
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 16:33:19 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 16:43:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6358c023

media-sound/easyeffects: not-quite-new package

At the moment this is essentially the same thing as the latest ebuild in
media-sound/pulseeffects, which will eventually be removed. The idea is
that although upstream has only been known as easyeffects since 6.0.0,
in Gentoo we will use the old name for versions working with PulseAudio
(i.e. v4) and the new one for those explicitly requiring PipeWire (i.e.
v5 and newer).

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-sound/easyeffects/Manifest                 |  1 +
 media-sound/easyeffects/easyeffects-5.0.4.ebuild | 65 ++++++++++++++++++++++++
 media-sound/easyeffects/metadata.xml             | 20 ++++++++
 3 files changed, 86 insertions(+)

diff --git a/media-sound/easyeffects/Manifest b/media-sound/easyeffects/Manifest
new file mode 100644
index 00000000000..f1a0f876ce3
--- /dev/null
+++ b/media-sound/easyeffects/Manifest
@@ -0,0 +1 @@
+DIST easyeffects-5.0.4.tar.gz 2070912 BLAKE2B 
848d2fa6fc1290b6fc25e13c4bbe4d8df932af63b8fb7e9642c6e24b29360dd17efba71ae0daae265538cd9cde1d9e33de453b0c469e3d54709a3f337cd583a7
 SHA512 
78074341c8376a4918d09950fd7db8804346cd2e00d6849da464662643809010eeb1d009c44ca5d3eadd2faf3bb9c43a18a41b7c3e77b883beff44618967b30e

diff --git a/media-sound/easyeffects/easyeffects-5.0.4.ebuild 
b/media-sound/easyeffects/easyeffects-5.0.4.ebuild
new file mode 100644
index 00000000000..e050d932cea
--- /dev/null
+++ b/media-sound/easyeffects/easyeffects-5.0.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils 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
+       SRC_URI=""
+       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 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="bs2b calf rubberband"
+
+#TODO: optional : lilv, zam-plugins (check from archlinux pkg)
+RDEPEND="!media-sound/pulseeffects
+       >=dev-libs/boost-1.41:=
+       >=dev-cpp/glibmm-2.56.0:2
+       >=dev-cpp/gtkmm-3.24:3.0
+       >=dev-libs/glib-2.56:2
+       >=dev-libs/libsigc++-2.10:2
+       >=x11-libs/gtk+-3.18:3
+       >=media-libs/lilv-0.24.2-r1
+       >=media-libs/lsp-plugins-1.1.24[lv2]
+       >=media-libs/gstreamer-1.12.0:1.0
+       >=media-libs/gst-plugins-good-1.12.0:1.0
+       >=media-libs/gst-plugins-bad-1.12.0:1.0
+       >=media-plugins/gst-plugins-ladspa-1.12.0:1.0
+       >=media-plugins/gst-plugins-lv2-1.12.0:1.0
+       >=media-libs/zita-convolver-3.0.0
+       media-libs/libebur128
+       >=media-video/pipewire-0.3.24[gstreamer]
+       sys-apps/dbus
+       bs2b? ( >=media-plugins/gst-plugins-bs2b-1.12.0:1.0 )
+       calf? ( >=media-plugins/calf-0.90.0[lv2] )
+       rubberband? ( media-libs/rubberband )"
+# see 47a950b00c6db383ad07502a8fc396ecca98c1ce for dev-libs/appstream-glib
+# and sys-devel/gettext depends reasoning
+DEPEND="${RDEPEND}
+       dev-libs/appstream-glib
+       sys-devel/gettext"
+BDEPEND="dev-util/itstool
+       media-libs/libsamplerate
+       virtual/pkgconfig"
+
+pkg_postinst() {
+       gnome2_gconf_install
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_gconf_uninstall
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}

diff --git a/media-sound/easyeffects/metadata.xml 
b/media-sound/easyeffects/metadata.xml
new file mode 100644
index 00000000000..e4010fa254c
--- /dev/null
+++ b/media-sound/easyeffects/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Marek Szuba</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+       <use>
+               <flag name="bs2b">Enable use of media-libs/libbs2b</flag>
+               <flag name="calf">Enable use of media-plugins/calf for adding 
various FX</flag>
+               <flag name="rubberband">Enable usse of media-libs/rubberband 
for the pitch shifting FX</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">wwmm/easyeffects</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to