From abdc7c769a3a97402779bfb1e6b4cd7750da369c Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 10 Nov 2022 15:12:29 +0000 Subject: media-sound/easyeffects: (R)DEPEND on sci-libs/gsl Needed alongside media-libs/speex (which by the way is technically an *optional* dependency but given Easy Effects also have a mandatory dependency on media-libs/speexdsp, adding IUSE=speex would IMHO be confusing) since 7.0.0 but I forgot to paste that one in. With thanks to Xian Wang for having spotted this before me. Closes: https://bugs.gentoo.org/880745 Signed-off-by: Marek Szuba --- .../easyeffects/easyeffects-7.0.0-r1.ebuild | 80 ++++++++++++++++++++++ media-sound/easyeffects/easyeffects-7.0.0.ebuild | 79 --------------------- 2 files changed, 80 insertions(+), 79 deletions(-) create mode 100644 media-sound/easyeffects/easyeffects-7.0.0-r1.ebuild delete mode 100644 media-sound/easyeffects/easyeffects-7.0.0.ebuild diff --git a/media-sound/easyeffects/easyeffects-7.0.0-r1.ebuild b/media-sound/easyeffects/easyeffects-7.0.0-r1.ebuild new file mode 100644 index 000000000000..f1da56bfcae1 --- /dev/null +++ b/media-sound/easyeffects/easyeffects-7.0.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +doc mda-lv2 zamaudio" + +COMMON="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/speex + media-libs/speexdsp + >=media-libs/zita-convolver-3.0.0 + >=media-video/pipewire-0.3.41 + sci-libs/gsl:= + sci-libs/fftw:3.0" +# Only header files are used from libsamplerate +DEPEND="${COMMON} + media-libs/libsamplerate" +RDEPEND="${COMMON} + >=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 )" +BDEPEND="dev-libs/appstream-glib + dev-util/desktop-file-utils + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if ! tc-is-gcc; then + die "Since version 6.3.0 ${PN} only supports GCC due to required level of C++20 support" + fi + if [[ $(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 +} diff --git a/media-sound/easyeffects/easyeffects-7.0.0.ebuild b/media-sound/easyeffects/easyeffects-7.0.0.ebuild deleted file mode 100644 index 84203eb3205f..000000000000 --- a/media-sound/easyeffects/easyeffects-7.0.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 +doc mda-lv2 zamaudio" - -COMMON="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/speex - media-libs/speexdsp - >=media-libs/zita-convolver-3.0.0 - >=media-video/pipewire-0.3.41 - sci-libs/fftw:3.0" -# Only header files are used from libsamplerate -DEPEND="${COMMON} - media-libs/libsamplerate" -RDEPEND="${COMMON} - >=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 )" -BDEPEND="dev-libs/appstream-glib - dev-util/desktop-file-utils - dev-util/itstool - sys-devel/gettext - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if ! tc-is-gcc; then - die "Since version 6.3.0 ${PN} only supports GCC due to required level of C++20 support" - fi - if [[ $(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 -} -- cgit v1.2.3-65-gdbad