community/x42-plugins to 20220913-2

This commit is contained in:
Kevin Mihelich 2022-09-13 12:07:35 +00:00
parent 62cb283dba
commit 8e31f44008

View file

@ -5,8 +5,8 @@
# - export OPTIMIZATIONS to override Makefiles without x86isms
pkgname=x42-plugins
pkgver=20220714
pkgrel=1
pkgver=20220913
pkgrel=2
pkgdesc="Collection of LV2 plugins"
arch=(x86_64)
url="https://github.com/x42/x42-plugins"
@ -26,19 +26,30 @@ source=(
$pkgname.png::https://x42-plugins.com/x42/static/img/x42.png
$pkgname.directory
$pkgname.menu
$pkgname-20220913-phaserotate_manpage.patch::https://github.com/x42/phaserotate.lv2/pull/2/commits/1c26ad251dd4c516334fd1c28ed2d50453de4835.patch
$pkgname-20220913-bindir_mandir.patch::https://github.com/x42/phaserotate.lv2/pull/4/commits/2390ab0be83a189ae72b52fede4aa248306cd9d4.patch
)
sha512sums=('502994109d68ae8df39b0258caa414529711fea92254922945eb3c7cf28bb5dd67586f362c8a392ec9cfda3f62cbe050063e86fb2c0bb3cc5e860912264472d3'
sha512sums=('a5bcf488459c737de647c115d49da64a4ff003f20f80255ec8a9370429871df377368692061a4902e8d3336837f58d4d594e7443b4556a9d88c36fb120ab2fae'
'956fdd8e04c846d06a5267d1748916744418e0ddfce0ac2e9dd3a1c1376aea61499177af80709d9fe78f8c0c2ddcbf9f9e5b2e413adc9a7eca9b648a87ad4860'
'fef75b22b2c1fed8586af4dfd01ea291a7c1506e80ce384f05f13dc04c4b7e3e934003c20d89ae94f36ad1021b7ad75097da836ca30ee965b4107b559305b496'
'411015b0feb8a289272cb821afa7e2a284d3e9d994a446baa73b3a6ce0f0ebd1e94c4cb3392a0afb1d741ce6d8b2d14c9bd124a0684b830275b4ba8e14680aa3')
b2sums=('10459537d470f3177578b5d0328d634e469a0f00f8390e5dc2fc6f91c197ab9299572fef6787fd61cfc0fd579657e0372af22a3539f84a1d8ba76277e413c5ff'
'411015b0feb8a289272cb821afa7e2a284d3e9d994a446baa73b3a6ce0f0ebd1e94c4cb3392a0afb1d741ce6d8b2d14c9bd124a0684b830275b4ba8e14680aa3'
'17713ab585619de5ca31f20aea88bd226cbff572bf6c56e8f4ce54c0a7d25a5b099352911719dc65d6f467dbd991bc74a26e066d219f5b0d394f55876aa865b3'
'de2ef676f331566a2ecf7167662459aec0462da65319d1ce0bc919ff2d9f365068f8cf27e53de3fcd33f20d48e3bece8073d8cb1163bb29dbef69d0fe4860186')
b2sums=('e20fece6dac1ab85ce40603d6d66f243776a024ddd929b5d94a2b1b1bac20473eaf15ef818725a9c2baafeeea4b04a56e341912975f489dfa795d923f6cbeaf0'
'35a8cfcdf7f8c57ba655049a6d75b3bf9d253c25702a3f191d3f6cab215887f7de5025d025993861ae88c1b4daae132e9cc1ddf083e5b822f1b53a683c0fcaa3'
'fb6557cd2e8b83dae1cb38503f2a72093085ddcc0a4ba2e5e0375f7063b83b3fb4180091ce10524cd336eeb33cffed45ada93055b960c9189f83d664216b33ee'
'9c695f58099fcbfdce3e693e491d851ff7894a650ea12e079894176ef054b5f592785467c286bd8feaa340fdcdfb53d930b3a44ea890112e3fc1a4d172beb243')
'9c695f58099fcbfdce3e693e491d851ff7894a650ea12e079894176ef054b5f592785467c286bd8feaa340fdcdfb53d930b3a44ea890112e3fc1a4d172beb243'
'819e2ceac2a4a299595a7b28a542347d85517ee7cc595f1ae5de441d81ff994ac81d6ceb609f155234dcb3b6d45a28495d21da108b1a4bef785fd9ef6c88c976'
'ec02179202b3bce5cf2eaea4e3a4ae52d73fe29ec1ebb7988ce802270ccb52c96e1506e078fcfcceba713773f67a96552577d00d81a02957cedfdbcbf403215c')
_names=(darc dpl fat1 fil4 matrixmixer8x8 meter mixtri scope spectr stepseq tuna)
_names=(darc dpl fat1 fil4 matrixmixer8x8 meter mixtri phaserotate scope spectr stepseq tuna)
prepare() {
# build missing man page: https://github.com/x42/phaserotate.lv2/issues/1
patch -Np1 -d $pkgname-$pkgver/phaserotate.lv2 -i ../../$pkgname-20220913-phaserotate_manpage.patch
# set BINDIR and MANDIR: https://github.com/x42/phaserotate.lv2/issues/2
patch -Np1 -d $pkgname-$pkgver/phaserotate.lv2 -i ../../$pkgname-20220913-bindir_mandir.patch
cd $pkgname-$pkgver
declare -A comments=(
@ -48,6 +59,7 @@ prepare() {
["fil4"]="4 band parametric equalizer with additional low+high shelf filters, Low and High-pass"
["matrixmixer8x8"]="Matrix Mixer 8x8"
["mixtri"]="Matrix mixer and trigger processor"
["phaserotate"]="Audio Phase rotate"
["scope"]="Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout"
["spectr"]="Spectrum Analyzer"
["stepseq"]="Simple step sequencer for moddevices.com"
@ -59,6 +71,7 @@ prepare() {
["fil4"]="Parametric Equalizer"
["matrixmixer8x8"]="Matrix Mixer"
["mixtri"]="Mixer'n'Trigger"
["phaserotate"]="Phase Rotation"
["scope"]="Oscilloscope"
["spectr"]="Spectrum Analyzer"
["stepseq"]="Step Sequencer"
@ -141,8 +154,6 @@ build() {
export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
export OPTIMIZATIONS="-ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only"
make
make -C phaserotate.lv2/cli
}
check() {
@ -251,6 +262,7 @@ package() {
["matrixmixer8x8"]="matrixmixer.lv2"
["meter"]="meters.lv2"
["mixtri"]="mixtri.lv2"
["phaserotate"]="phaserotate.lv2"
["scope"]="sisco.lv2"
["spectr"]="spectra.lv2"
["stepseq"]="stepseq.lv2"
@ -259,8 +271,6 @@ package() {
cd $pkgname-$pkgver
make install DESTDIR="$pkgdir/" PREFIX=/usr
make -C phaserotate.lv2/cli install DESTDIR="$pkgdir/" PREFIX=/usr
# xdg desktop integration
install -vDm 644 ./*.desktop -t "$pkgdir/usr/share/applications/"
# icons