ports/contrib (3.6): easyeffects: initial commit, version 6.1.0
commit d866669b8384cc7f2ba7284eedebf65a81cd91c9 Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 28 20:06:38 2021 +0200 easyeffects: initial commit, version 6.1.0 diff --git a/easyeffects/.footprint b/easyeffects/.footprint new file mode 100644 index 000000000..5cb90b4a3 --- /dev/null +++ b/easyeffects/.footprint @@ -0,0 +1,47 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/easyeffects +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/com.github.wwmm.easyeffects.desktop +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/services/ +-rw-r--r-- root/root usr/share/dbus-1/services/com.github.wwmm.easyeffects.service +drwxr-xr-x root/root usr/share/glib-2.0/ +drwxr-xr-x root/root usr/share/glib-2.0/schemas/ +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.autogain.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.bassenhancer.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.bassloudness.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.compressor.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.convolver.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.crossfeed.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.crystalizer.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.deesser.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.delay.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.echo_canceller.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.equalizer.channel.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.equalizer.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.exciter.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.filter.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.gate.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.limiter.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.loudness.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.maximizer.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.multibandcompressor.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.multibandgate.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.outputlevel.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.pitch.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.reverb.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.rnnoise.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.stereotools.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.streaminputs.gschema.xml +-rw-r--r-- root/root usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.streamoutputs.gschema.xml +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/easyeffects.svg +drwxr-xr-x root/root usr/share/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/com.github.wwmm.easyeffects.metainfo.xml diff --git a/easyeffects/.signature b/easyeffects/.signature new file mode 100644 index 000000000..c7415c306 --- /dev/null +++ b/easyeffects/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF35toH+/1BTfnjojqjy4aEVlnGjLV0kopkis1mrNOa5RcnxMpATgRw9u1vlUPUHeb/PvodCwqUstOn9ZknB+bJAE= +SHA256 (Pkgfile) = d9c237f40d3e6737a651ba0e93d9157762a85bbf47b0270764d778ab861ca2b6 +SHA256 (.footprint) = 14f5994e4cbe1dd636bde0726ebd0731025c0c5a3de7df3f83159d1c527fb3e8 +SHA256 (easyeffects-6.1.0.tar.gz) = 0af13df5685e5417be913c4bf79254d07250f033ed218b040bfc7c9c54ad9d5e diff --git a/easyeffects/Pkgfile b/easyeffects/Pkgfile new file mode 100644 index 000000000..38271d4a6 --- /dev/null +++ b/easyeffects/Pkgfile @@ -0,0 +1,22 @@ +# Description: Audio Effects for Pulseaudio Applications +# URL: https://github.com/wwmm/easyeffects +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: appstream-glib gtkmm4 libbs2b libebur128 lilv nlohmann-json pipewire rnnoise rubberband speexdsp zita-convolver +# Optional: calf mda-lv2 vamp-plugin-sdk zam-plugins + +name=easyeffects +version=6.1.0 +release=1 +source=(https://github.com/wwmm/easyeffects/archive/v$version/$name-$version.tar.gz) + +build() { + meson setup easyeffects-$version build \ + --prefix=/usr \ + --sysconfdir=/etc \ + --buildtype plain \ + -D b_lto=true \ + -D b_pie=true + meson compile -C build + DESTDIR=$PKG meson install -C build + rm -fr $PKG/usr/share/{locale,help} +} diff --git a/easyeffects/README.md b/easyeffects/README.md new file mode 100644 index 000000000..725b7ae4a --- /dev/null +++ b/easyeffects/README.md @@ -0,0 +1,65 @@ +# contrib/pulseeffects README + +## Building pulseeffects + +Building and successfully using pulseeffects requires you to build pipewire +including pulseaudio support. Therefor, pulseaudio needs to be around before +you install pipewire. After that, pulseeffects can be successfully installed +and used. + +It's recommended to set the following setting in `/etc/pkgmk.conf`: +```sh +PKGMK_IGNORE_NEW="yes" +``` +This will ignore any *new* files found in a footprint. This is needed, because +it's expected to produce more files than a minimal build for some individual +ports, e.g. `contrib/pipewire`, `contrib/gst-plugins-bad`, etc.. + +Another setting to consider is the following in `/etc/prt-get.conf`: +```sh +runscripts yes +``` +Alternatively, you will need to watch out for ports that would run +pre-/post-install scripts yourself and execute them in order to expect a +fault-free environment. + +After considering those steps, if you manually want to ensure that everything +will be fine, the steps should be as follow: + 1. `prt-get depinst pulseaudio` + 2. `prt-get depinst pipewire` + 3. `prt-get depinst pulseeffects` + +Please take a look at `contrib/pipewire/README` for more instructions on how +to setup a pipewire environment. Make sure to enable it for handling +`pulseaudio` requests and you are good to go. + +## Optional dependencies: +About the optional dependencies (list borrowed and enhanced from archs +[PKGBUILD](https://github.com/archlinux/svntogit-community/blob/packages/pulseeffects/t...) +): + * calf - limiter, compressor, exciter, bass enhancer, and others + * lsp-plugins - equalizer + * mda.lv2 - loudness + * rubberband - pitch shifting + * rnnoise - noise supression using a recurrent neural network + * zam-plugins: maximizer + +You will need to rebuild gst-plugins-bad after installing most of any of +those optional dependencies, pulseeffects will then pick them up and make +them available, otherwise, all the plugins are shown but none of them are +useable. + +## Issues + - If you run into issues, please try removing GStreamer's cache +`rm -rf ~/.cache/gstreamer-1.0` and have a look at the debug output with +`G_MESSAGES_DEBUG=pulseeffects pulseeffects`. + - You can check what plugins your current gstreamer build offers with +`gst-inspect-1.0 | grep -i calf | grep -i limiter` + +## Additional information +Additional info from the official FAQ over at the projects +[official wiki](https://github.com/wwmm/pulseeffects/wiki/FAQ) + +// vim:filetype=markdown + +// End of file diff --git a/easyeffects/post-install b/easyeffects/post-install new file mode 100644 index 000000000..cbeb342e1 --- /dev/null +++ b/easyeffects/post-install @@ -0,0 +1,3 @@ +#!/bin/sh +glib-compile-schemas /usr/share/glib-2.0/schemas +/usr/bin/update-desktop-database
participants (1)
-
crux@crux.nu