Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/easyeffects/
Date: Mon, 12 Jul 2021 16:43:43
Message-Id: 1626108209.6358c02320d0d333649176de5664154778106267.marecki@gentoo
1 commit: 6358c02320d0d333649176de5664154778106267
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 12 16:33:19 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 12 16:43:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6358c023
7
8 media-sound/easyeffects: not-quite-new package
9
10 At the moment this is essentially the same thing as the latest ebuild in
11 media-sound/pulseeffects, which will eventually be removed. The idea is
12 that although upstream has only been known as easyeffects since 6.0.0,
13 in Gentoo we will use the old name for versions working with PulseAudio
14 (i.e. v4) and the new one for those explicitly requiring PipeWire (i.e.
15 v5 and newer).
16
17 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
18
19 media-sound/easyeffects/Manifest | 1 +
20 media-sound/easyeffects/easyeffects-5.0.4.ebuild | 65 ++++++++++++++++++++++++
21 media-sound/easyeffects/metadata.xml | 20 ++++++++
22 3 files changed, 86 insertions(+)
23
24 diff --git a/media-sound/easyeffects/Manifest b/media-sound/easyeffects/Manifest
25 new file mode 100644
26 index 00000000000..f1a0f876ce3
27 --- /dev/null
28 +++ b/media-sound/easyeffects/Manifest
29 @@ -0,0 +1 @@
30 +DIST easyeffects-5.0.4.tar.gz 2070912 BLAKE2B 848d2fa6fc1290b6fc25e13c4bbe4d8df932af63b8fb7e9642c6e24b29360dd17efba71ae0daae265538cd9cde1d9e33de453b0c469e3d54709a3f337cd583a7 SHA512 78074341c8376a4918d09950fd7db8804346cd2e00d6849da464662643809010eeb1d009c44ca5d3eadd2faf3bb9c43a18a41b7c3e77b883beff44618967b30e
31
32 diff --git a/media-sound/easyeffects/easyeffects-5.0.4.ebuild b/media-sound/easyeffects/easyeffects-5.0.4.ebuild
33 new file mode 100644
34 index 00000000000..e050d932cea
35 --- /dev/null
36 +++ b/media-sound/easyeffects/easyeffects-5.0.4.ebuild
37 @@ -0,0 +1,65 @@
38 +# Copyright 1999-2021 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +inherit gnome2-utils meson
44 +
45 +DESCRIPTION="Limiter, auto volume and many other plugins for PipeWire applications"
46 +HOMEPAGE="https://github.com/wwmm/easyeffects"
47 +
48 +if [[ ${PV} == *9999 ]];then
49 + inherit git-r3
50 + SRC_URI=""
51 + EGIT_REPO_URI="https://github.com/wwmm/easyeffects"
52 +else
53 + SRC_URI="https://github.com/wwmm/easyeffects/archive/v${PV}.tar.gz -> ${P}.tar.gz"
54 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
55 +fi
56 +
57 +LICENSE="GPL-3"
58 +SLOT="0"
59 +IUSE="bs2b calf rubberband"
60 +
61 +#TODO: optional : lilv, zam-plugins (check from archlinux pkg)
62 +RDEPEND="!media-sound/pulseeffects
63 + >=dev-libs/boost-1.41:=
64 + >=dev-cpp/glibmm-2.56.0:2
65 + >=dev-cpp/gtkmm-3.24:3.0
66 + >=dev-libs/glib-2.56:2
67 + >=dev-libs/libsigc++-2.10:2
68 + >=x11-libs/gtk+-3.18:3
69 + >=media-libs/lilv-0.24.2-r1
70 + >=media-libs/lsp-plugins-1.1.24[lv2]
71 + >=media-libs/gstreamer-1.12.0:1.0
72 + >=media-libs/gst-plugins-good-1.12.0:1.0
73 + >=media-libs/gst-plugins-bad-1.12.0:1.0
74 + >=media-plugins/gst-plugins-ladspa-1.12.0:1.0
75 + >=media-plugins/gst-plugins-lv2-1.12.0:1.0
76 + >=media-libs/zita-convolver-3.0.0
77 + media-libs/libebur128
78 + >=media-video/pipewire-0.3.24[gstreamer]
79 + sys-apps/dbus
80 + bs2b? ( >=media-plugins/gst-plugins-bs2b-1.12.0:1.0 )
81 + calf? ( >=media-plugins/calf-0.90.0[lv2] )
82 + rubberband? ( media-libs/rubberband )"
83 +# see 47a950b00c6db383ad07502a8fc396ecca98c1ce for dev-libs/appstream-glib
84 +# and sys-devel/gettext depends reasoning
85 +DEPEND="${RDEPEND}
86 + dev-libs/appstream-glib
87 + sys-devel/gettext"
88 +BDEPEND="dev-util/itstool
89 + media-libs/libsamplerate
90 + virtual/pkgconfig"
91 +
92 +pkg_postinst() {
93 + gnome2_gconf_install
94 + gnome2_schemas_update
95 + xdg_icon_cache_update
96 +}
97 +
98 +pkg_postrm() {
99 + gnome2_gconf_uninstall
100 + gnome2_schemas_update
101 + xdg_icon_cache_update
102 +}
103
104 diff --git a/media-sound/easyeffects/metadata.xml b/media-sound/easyeffects/metadata.xml
105 new file mode 100644
106 index 00000000000..e4010fa254c
107 --- /dev/null
108 +++ b/media-sound/easyeffects/metadata.xml
109 @@ -0,0 +1,20 @@
110 +<?xml version="1.0" encoding="UTF-8"?>
111 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
112 +<pkgmetadata>
113 + <maintainer type="person">
114 + <email>marecki@g.o</email>
115 + <name>Marek Szuba</name>
116 + </maintainer>
117 + <maintainer type="person">
118 + <email>prometheanfire@g.o</email>
119 + <name>Matthew Thode</name>
120 + </maintainer>
121 + <use>
122 + <flag name="bs2b">Enable use of media-libs/libbs2b</flag>
123 + <flag name="calf">Enable use of media-plugins/calf for adding various FX</flag>
124 + <flag name="rubberband">Enable usse of media-libs/rubberband for the pitch shifting FX</flag>
125 + </use>
126 + <upstream>
127 + <remote-id type="github">wwmm/easyeffects</remote-id>
128 + </upstream>
129 +</pkgmetadata>