summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0604aa75fceabfe29e1aa70a138d5000c3195df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: João Figueiredo <islandc0der@chaotic.cx>
# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
# Contributor: Wellington <wellingtonwallace@gmail.com>

pkgname=pulseeffects-legacy
pkgver=4.8.7
pkgrel=1
pkgdesc="Audio Effects for Pulseaudio Applications, without pipewire"
arch=($CARCH)
url='https://github.com/wwmm/pulseeffects'
license=(GPL3)
depends=(boost-libs glibmm gst-plugin-gtk gst-plugins-bad gstreamer gtk3 gtkmm3 libebur128 libpulse libsamplerate libsigc++ libsndfile lilv zita-convolver)
makedepends=(appstream-glib boost calf itstool meson rnnoise rubberband zam-plugins)
optdepends=('calf: bass enhancer, deesser, exciter, filter, gates, limiter, multiband compressor, reverb, stereo tools'
            'lsp-plugins: equalizer, delay'
            'rnnoise: noise reduction'
            'rubberband: pitch'
            'zam-plugins: maximizer'
            'yelp: help documentation')
conflicts=(${pkgname%-*})
provides=(${pkgname%-*})
source=("$url/archive/v$pkgver.tar.gz"
        "https://raw.githubusercontent.com/wwmm/pulseeffects/7c570c6e1354adedf01f7ba1e8fbe063cfc15ff2/data/pulseeffects.svg")
sha256sums=('d841f27df87b99747349be6b8de62d131422369908fcb57a81f39590437a8099'
            'f9167f96246879eecd907a504b0a70050dc4d90fa520c556c813336974754350')

prepare() {
  ## Fix SVG rendering issue in Qt environments (https://github.com/wwmm/pulseeffects/issues/867)
  if [[ -e /usr/bin/qmake ]]; then
    cp -L pulseeffects.svg easyeffects-$pkgver/data/
  fi
}

build() {
  arch-meson easyeffects-$pkgver build
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" ninja install -C build
}