community/x42-plugins to 20190413-1

This commit is contained in:
Kevin Mihelich 2019-04-14 23:29:54 +00:00
parent 26aff23be1
commit 744614bd17

View file

@ -5,17 +5,17 @@
# - export OPTIMIZATIONS to override Makefiles without x86isms # - export OPTIMIZATIONS to override Makefiles without x86isms
pkgname=x42-plugins pkgname=x42-plugins
pkgver=20190206 pkgver=20190413
pkgrel=1 pkgrel=1
pkgdesc="Collection of LV2 plugins" pkgdesc="Collection of LV2 plugins"
arch=('x86_64') arch=('x86_64')
url="https://github.com/x42/x42-plugins" url="https://github.com/x42/x42-plugins"
license=('GPL') license=('GPL')
depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver') depends=('ftgl' 'glib2' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
makedepends=('gendesk' 'gtk2' 'help2man' 'lv2' 'ttf-dejavu') makedepends=('gendesk' 'gtk2' 'help2man' 'lv2' 'ttf-dejavu')
groups=('lv2-plugins' 'pro-audio') groups=('lv2-plugins' 'pro-audio')
source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz") source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('a70b3646bd5c93d95055512c6134e9900201359ef6f6b57ed9ed22ddb735f518e1a5d011b5d4b6e3d347c014d9142984cf1de0fdb4b469f280f44790cfcb069b') sha512sums=('c41eb90ca5d5a746d55f7c1327ecfe58131318be5496c07638b6a891c8060e23fd666d2c3c5227a2a67f9eef8e1713038c65d9a38c5479d92426b930485e979e')
prepare() { prepare() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
@ -23,24 +23,47 @@ prepare() {
["dpl1"]="Look-ahead digital peak limiter intended but not limited to the final step of mastering or mixing" ["dpl1"]="Look-ahead digital peak limiter intended but not limited to the final step of mastering or mixing"
["fat1"]="Auto-tuner based on Fons Adriaensen's zita-at1" ["fat1"]="Auto-tuner based on Fons Adriaensen's zita-at1"
["fil4"]="4 band parametric equalizer with additional low+high shelf filters, Low and High-pass" ["fil4"]="4 band parametric equalizer with additional low+high shelf filters, Low and High-pass"
["meter"]="Collection of audio-level meters"
["mixtri"]="Matrix mixer and trigger processor" ["mixtri"]="Matrix mixer and trigger processor"
["scope"]="Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout" ["scope"]="Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout"
["spectr"]="Spectrum Analyzer" ["spectr"]="Spectrum Analyzer"
["stepseq"]="Simple step sequencer for moddevices.com" ["stepseq"]="Simple step sequencer for moddevices.com"
["tuna"]="A musical instrument tuner with strobe characteristics"
) )
declare -A generic=( declare -A generic=(
["dpl1"]="Peak Limiter" ["dpl1"]="Peak Limiter"
["fat1"]="Auto Tune" ["fat1"]="Auto Tune"
["fil4"]="Parametric Equalizer" ["fil4"]="Parametric Equalizer"
["meter"]="Audio Meter Collection"
["mixtri"]="Mixer'n'Trigger" ["mixtri"]="Mixer'n'Trigger"
["scope"]="Oscilloscope" ["scope"]="Oscilloscope"
["spectr"]="Spectrum Analyzer" ["spectr"]="Spectrum Analyzer"
["stepseq"]="Step Sequencer" ["stepseq"]="Step Sequencer"
["tuna"]="Music Instrument Tuner"
) )
declare -A meter_types=(
[0]='EBU R128 Meter'
[1]='K20/RMS Meter (Stereo)'
[2]='K14/RMS Meter (Stereo)'
[3]='K12/RMS Meter (Stereo)'
[4]='BBC Meter (Stereo)'
[5]='BBC M-6'
[6]='DIN Meter (Stereo)'
[7]='EBU Meter (Stereo)'
[8]='Nordic Meter (Stereo)'
[9]='VU Meter (Stereo)'
[10]='True-Peak and RMS Meter (Stereo)'
[11]='DR-14 - Crest Factor Loudness Range Meter'
[12]='Stereo Phase-Correlation Meter'
[13]='Goniometer'
[14]='Phase/Frequency Wheel'
[15]='1/3 Octave Spectrum Analyzer'
[16]='Stereo/Frequency Scope'
[17]='Signal Distribution Histogram'
[18]='Bit Meter'
[19]='Surround Level 8'
)
declare -A tuna_types=(
[0]='Instrument Tuner'
[1]='Instrument Tuner (Spectrum)'
)
# XDG desktop files # XDG desktop files
for name in "${!comments[@]}"; do for name in "${!comments[@]}"; do
gendesk -n \ gendesk -n \
@ -50,6 +73,26 @@ prepare() {
--genericname "${generic[$name]}" \ --genericname "${generic[$name]}" \
--categories "AudioVideo;Audio" --categories "AudioVideo;Audio"
done done
for type in {0..19}; do
gendesk -n \
--pkgname "x42-meter-${type}" \
--name "x42-meter ${meter_types[$type]}" \
--pkgdesc "${meter_types[$type]}" \
--exec "x42-meter $type" \
--icon "x42-meter" \
--genericname "Audio Meter" \
--categories "AudioVideo;Audio"
done
for type in {0,1}; do
gendesk -n \
--pkgname "x42-tuna-${type}" \
--name "x42-tuna ${tuna_types[$type]}" \
--pkgdesc "${tuna_types[$type]}" \
--exec "x42-tuna $type" \
--icon "x42-tuna" \
--genericname "Music Instrument Tuner" \
--categories "AudioVideo;Audio"
done
} }
build() { build() {