mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/x42-plugins to 20220107-1
This commit is contained in:
parent
f22a64347d
commit
d596b0f1d3
1 changed files with 39 additions and 47 deletions
|
@ -5,34 +5,33 @@
|
|||
# - export OPTIMIZATIONS to override Makefiles without x86isms
|
||||
|
||||
pkgname=x42-plugins
|
||||
pkgver=20211016
|
||||
pkgrel=2
|
||||
pkgver=20220107
|
||||
pkgrel=1
|
||||
pkgdesc="Collection of LV2 plugins"
|
||||
arch=('x86_64')
|
||||
arch=(x86_64)
|
||||
url="https://github.com/x42/x42-plugins"
|
||||
license=('GPL2' 'GPL3')
|
||||
groups=('lv2-plugins' 'pro-audio')
|
||||
depends=('cairo' 'ftgl' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libglvnd'
|
||||
'libx11' 'lv2-host')
|
||||
makedepends=('fftw' 'gendesk' 'glib2' 'help2man' 'jack' 'liblo' 'libltc'
|
||||
'libsamplerate' 'libsndfile' 'lv2' 'pango' 'ttf-dejavu' 'zita-convolver')
|
||||
checkdepends=('kxstudio-lv2-extensions' 'lv2lint')
|
||||
license=(GPL2 GPL3)
|
||||
groups=(lv2-plugins pro-audio)
|
||||
depends=(cairo ftgl gcc-libs glibc hicolor-icon-theme libglvnd libx11 lv2-host)
|
||||
makedepends=(fftw gendesk glib2 help2man jack liblo libltc libsamplerate
|
||||
libsndfile lv2 pango ttf-dejavu zita-convolver)
|
||||
checkdepends=(kxstudio-lv2-extensions lv2lint)
|
||||
optdepends=('jack: for standalone applications'
|
||||
'liblo: for standalone applications')
|
||||
source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz"
|
||||
"${pkgname}.png::https://x42-plugins.com/x42/static/img/x42.png"
|
||||
"${pkgname}.directory"
|
||||
"${pkgname}.menu")
|
||||
sha512sums=('44805f4ffc692bcb6263c7f2eea82925bdab1ad26a76cd2eda6991c8e3f1e2c173eb254185c1897f25910ee31bf74c4357715ab2605d157f0e4d3aba26a67b54'
|
||||
sha512sums=('aaae12f2f5b4ec52c3422ae94d49b045505d81cd7ae7ce347a16f6ed0651be5ecf7d6c994bd56da50b26b08a8670850df7de0cb6c6913150227f4d6f33420e98'
|
||||
'956fdd8e04c846d06a5267d1748916744418e0ddfce0ac2e9dd3a1c1376aea61499177af80709d9fe78f8c0c2ddcbf9f9e5b2e413adc9a7eca9b648a87ad4860'
|
||||
'fef75b22b2c1fed8586af4dfd01ea291a7c1506e80ce384f05f13dc04c4b7e3e934003c20d89ae94f36ad1021b7ad75097da836ca30ee965b4107b559305b496'
|
||||
'411015b0feb8a289272cb821afa7e2a284d3e9d994a446baa73b3a6ce0f0ebd1e94c4cb3392a0afb1d741ce6d8b2d14c9bd124a0684b830275b4ba8e14680aa3')
|
||||
b2sums=('0d053c0da317f65a61d95c787bc8ad85c1ab70ad4e392a217f0dca754cf627831826958b21424d667ee2d396650b3bf5f9fadda88e54558b0f804cdd6143abeb'
|
||||
b2sums=('124d33cc282ab638cf19c8b3ec32bf67faf712638ebc70d556bca7e1ef1ff8cbac8e5e94be2ad0e607bfff627902d5a93633103a5f0208063b39a2de41aa1d76'
|
||||
'35a8cfcdf7f8c57ba655049a6d75b3bf9d253c25702a3f191d3f6cab215887f7de5025d025993861ae88c1b4daae132e9cc1ddf083e5b822f1b53a683c0fcaa3'
|
||||
'fb6557cd2e8b83dae1cb38503f2a72093085ddcc0a4ba2e5e0375f7063b83b3fb4180091ce10524cd336eeb33cffed45ada93055b960c9189f83d664216b33ee'
|
||||
'9c695f58099fcbfdce3e693e491d851ff7894a650ea12e079894176ef054b5f592785467c286bd8feaa340fdcdfb53d930b3a44ea890112e3fc1a4d172beb243')
|
||||
|
||||
_names=('darc' 'dpl' 'fat1' 'fil4' 'matrixmixer8x8' 'meter' 'mixtri' 'scope' 'spectr' 'stepseq' 'tuna')
|
||||
_names=(darc dpl fat1 fil4 matrixmixer8x8 meter mixtri scope spectr stepseq tuna)
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
@ -142,27 +141,25 @@ build() {
|
|||
|
||||
check() {
|
||||
local _name _version _convolver _controlfilter _default _meter _midifilter _onsettrigger _sisco _tuna
|
||||
local _controlfilters=('exp' 'invert' 'linearscale' 'lowpass' 'nlog')
|
||||
local _convolvers=('Mono' 'MonoToStereo' 'Stereo')
|
||||
local _defaults=('mono' 'stereo')
|
||||
local _meters=('VUmono' 'VUstereo' 'BBCmono' 'BBCstereo' 'BBCM6' 'EBUmono'
|
||||
'EBUstereo' 'DINmono' 'DINstereo' 'NORmono' 'NORstereo' 'COR' 'EBUr128'
|
||||
'goniometer' 'spectr30mono' 'spectr30stereo' 'dBTPmono' 'dBTPstereo'
|
||||
'K12mono' 'K12stereo' 'K14mono' 'K14stereo' 'K20mono' 'K20stereo'
|
||||
'phasewheel' 'stereoscope' 'dr14mono' 'dr14stereo' 'TPnRMSmono'
|
||||
'TPnRMSstereo' 'SigDistHist' 'bitmeter' 'surround8' 'surround5' 'surround4'
|
||||
'surround3')
|
||||
local _midifilters=('cctonote' 'channelfilter' 'channelmap' 'chokefilter'
|
||||
'enforcescale' 'eventblocker' 'keyrange' 'keysplit' 'mapcc' 'mapkeychannel'
|
||||
'mapkeyscale' 'midichord' 'mididelay' 'mididup' 'midistrum' 'miditranspose'
|
||||
'monolegato' 'noactivesensing' 'nodup' 'notetocc' 'notetoggle' 'ntapdelay'
|
||||
'onechannelfilter' 'passthru' 'quantize' 'randvelocity' 'scalecc' 'sostenuto'
|
||||
'velocitygamma' 'velocityrange' 'velocityscale')
|
||||
local _onsettriggers=('bassdrum_mono' 'bassdrum_stereo')
|
||||
local _siscos=('Mono' 'Stereo' '3chan' '4chan')
|
||||
local _tunas=('one' 'two')
|
||||
local _zconvolvers=('Mono' 'CfgMono' 'Stereo' 'CfgStereo' 'MonoToStereo'
|
||||
'CfgMonoToStereo')
|
||||
local _controlfilters=(exp invert linearscale lowpass nlog)
|
||||
local _convolvers=(Mono MonoToStereo Stereo)
|
||||
local _defaults=(mono stereo)
|
||||
local _meters=(VUmono VUstereo BBCmono BBCstereo BBCM6 EBUmono EBUstereo
|
||||
DINmono DINstereo NORmono NORstereo COR EBUr128 goniometer spectr30mono
|
||||
spectr30stereo dBTPmono dBTPstereo K12mono K12stereo K14mono K14stereo
|
||||
K20mono K20stereo phasewheel stereoscope dr14mono dr14stereo TPnRMSmono
|
||||
TPnRMSstereo SigDistHist bitmeter surround8 surround5 surround4 surround3)
|
||||
local _midifilters=(cctonote channelfilter channelmap chokefilter
|
||||
enforcescale eventblocker keyrange keysplit mapcc mapkeychannel mapkeyscale
|
||||
midichord mididelay mididup midistrum miditranspose monolegato
|
||||
noactivesensing nodup notetocc notetoggle ntapdelay onechannelfilter passthru
|
||||
quantize randvelocity scalecc sostenuto velocitygamma velocityrange
|
||||
velocityscale)
|
||||
local _onsettriggers=(bassdrum_mono bassdrum_stereo)
|
||||
local _siscos=(Mono Stereo 3chan 4chan)
|
||||
local _tunas=(one two)
|
||||
local _zconvolvers=(Mono CfgMono Stereo CfgStereo MonoToStereo
|
||||
CfgMonoToStereo)
|
||||
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
|
@ -237,9 +234,9 @@ check() {
|
|||
}
|
||||
|
||||
package() {
|
||||
depends+=('libfftw3f.so' 'libgobject-2.0.so' 'libltc.so' 'libpango-1.0.so'
|
||||
'libpangocairo-1.0.so' 'libsamplerate.so' 'libsndfile.so'
|
||||
'libzita-convolver.so')
|
||||
depends+=(libfftw3f.so libgobject-2.0.so libltc.so libpango-1.0.so
|
||||
libpangocairo-1.0.so libsamplerate.so libsndfile.so libzita-convolver.so)
|
||||
|
||||
declare -A _dirs=(
|
||||
["darc"]="darc.lv2"
|
||||
["dpl"]="dpl.lv2"
|
||||
|
@ -262,17 +259,12 @@ package() {
|
|||
install -vDm 644 ./*.desktop -t "${pkgdir}/usr/share/applications/"
|
||||
# icons
|
||||
for name in "${_names[@]}"; do
|
||||
install -vDm 644 "${_dirs[$name]}/img/x42-${name}.png" \
|
||||
-t "${pkgdir}/usr/share/icons/hicolor/256x256/apps/"
|
||||
install -vDm 644 "${_dirs[$name]}/img/x42-${name}.png" -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps/"
|
||||
done
|
||||
install -vDm 644 "../${pkgname}.png" \
|
||||
-t "${pkgdir}/usr/share/icons/hicolor/256x256/apps/"
|
||||
install -vDm 644 "../${pkgname}.png" -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps/"
|
||||
# menu integration
|
||||
install -vDm 644 "../${pkgname}.menu" \
|
||||
-t "${pkgdir}/etc/xdg/menus/applications-merged/"
|
||||
install -vDm 644 "../${pkgname}.directory" \
|
||||
-t "${pkgdir}/usr/share/desktop-directories/"
|
||||
install -vDm 644 plugin.news \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
install -vDm 644 "../${pkgname}.menu" -t "${pkgdir}/etc/xdg/menus/applications-merged/"
|
||||
install -vDm 644 "../${pkgname}.directory" -t "${pkgdir}/usr/share/desktop-directories/"
|
||||
install -vDm 644 plugin.news -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue