# Contributor: Carlo Landmeter # Maintainer: global pkgname := 'ladspa' global pkgver := '1.13' global pkgrel := '0' global pkgdesc := '"Linux Audio Developer's Simple Plug-in API, examples and tools'" global url := '"http://www.ladspa.org/'" global arch := '"all'" global license := '"LGPL2'" global depends := ''"" global makedepends := ''"" global install := ''"" global subpackages := ""$pkgname-dev"" global source := '"https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_1.13.tgz fallback-ladspa-path.patch fix-memleak-in-plugin-scanning.patch '" global builddir := ""$srcdir/ladspa_sdk/src"" proc prepare { default_prepare || return 1 sed -i 's/mkdirhier/mkdir -p/' makefile || return 1 } proc build { cd $builddir make targets || return 1 } proc package { cd $builddir make INSTALL_PLUGINS_DIR="$pkgdir/usr/lib/ladspa/" \ INSTALL_INCLUDE_DIR="$pkgdir/usr/include/" \ INSTALL_BINARY_DIR="$pkgdir/usr/bin/" install || return 1 } global md5sums := '"671be3e1021d0722cadc7fb27054628e ladspa_sdk_1.13.tgz d3a0f23f66cd685fe4af419c4f587273 fallback-ladspa-path.patch 525a958f339d7526562785484b577d00 fix-memleak-in-plugin-scanning.patch'" global sha256sums := '"b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b ladspa_sdk_1.13.tgz 4d066b10a10801bc87468ddc4fb1672b2fa9866bd5f3155c71c884296c6345d0 fallback-ladspa-path.patch d12f061d2701f0d12f97f750bb6df7c3a9915db5e35a00bd7d1a6342218bcb39 fix-memleak-in-plugin-scanning.patch'" global sha512sums := '"a1dab807fda58e08869d3f519be5fa91c394690eb13006fbe7f20b332548e4676b32b01273f5695bf36c8da72190c07618662a76d50f991b3f05068ac2b346ef ladspa_sdk_1.13.tgz 00891ac5d1e3ca17cf7d99e7d894b50f9a7df8eea80cd791593cf637bf9f4f7e658d0124c69aa32bb90a14150737a38cb48552c7991f3f2b6674b3634440504a fallback-ladspa-path.patch 1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7 fix-memleak-in-plugin-scanning.patch'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(ladspa)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.13)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(0)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("Linux Audio Developer's Simple Plug-in API, examples and tools"))} spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://www.ladspa.org/"))} spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[25])] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (LGPL2))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ )} spids:[35])] spids: [35] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:makedepends) op:Equal rhs:{(DQ )} spids:[39])] spids: [39] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:install) op:Equal rhs:{(DQ )} spids:[43])] spids: [43] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (-dev))} spids: [47] ) ] spids: [47] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ( "https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_1.13.tgz\n" ) ("\tfallback-ladspa-path.patch\n") ("\tfix-memleak-in-plugin-scanning.patch\n") ("\t") ) } spids: [53] ) ] spids: [53] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/ladspa_sdk/src))} spids: [61] ) ] spids: [61] ) (FuncDef name: prepare body: (BraceGroup children: [ (AndOr children: [ (C {(default_prepare)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(sed)} {(-i)} {(SQ <"s/mkdirhier/mkdir -p/">)} {(makefile)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [72] ) spids: [68 71] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (AndOr children: [ (C {(make)} {(targets)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [107] ) spids: [103 106] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (AndOr children: [ (C {(make)} {(Lit_VarLike "INSTALL_PLUGINS_DIR=") (DQ ($ VSub_Name "$pkgdir") (/usr/lib/ladspa/)) } {(Lit_VarLike "INSTALL_INCLUDE_DIR=") (DQ ($ VSub_Name "$pkgdir") (/usr/include/))} {(Lit_VarLike "INSTALL_BINARY_DIR=") (DQ ($ VSub_Name "$pkgdir") (/usr/bin/))} {(install)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [134] ) spids: [130 133] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: { (DQ ("671be3e1021d0722cadc7fb27054628e ladspa_sdk_1.13.tgz\n") ("d3a0f23f66cd685fe4af419c4f587273 fallback-ladspa-path.patch\n") ("525a958f339d7526562785484b577d00 fix-memleak-in-plugin-scanning.patch") ) } spids: [179] ) ] spids: [179] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( "b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b ladspa_sdk_1.13.tgz\n" ) ("4d066b10a10801bc87468ddc4fb1672b2fa9866bd5f3155c71c884296c6345d0 fallback-ladspa-path.patch\n") ( "d12f061d2701f0d12f97f750bb6df7c3a9915db5e35a00bd7d1a6342218bcb39 fix-memleak-in-plugin-scanning.patch" ) ) } spids: [186] ) ] spids: [186] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "a1dab807fda58e08869d3f519be5fa91c394690eb13006fbe7f20b332548e4676b32b01273f5695bf36c8da72190c07618662a76d50f991b3f05068ac2b346ef ladspa_sdk_1.13.tgz\n" ) ( "00891ac5d1e3ca17cf7d99e7d894b50f9a7df8eea80cd791593cf637bf9f4f7e658d0124c69aa32bb90a14150737a38cb48552c7991f3f2b6674b3634440504a fallback-ladspa-path.patch\n" ) ( "1a96b24a47c2c82f7c2f66e2ee711f0ecbed9b03260562b72ced1bd4c8f0e518d15fc7c15951b95b1999e3dae1723b855fd3431a9795279f8a88ad68900e48e7 fix-memleak-in-plugin-scanning.patch" ) ) } spids: [193] ) ] spids: [193] ) ] )