meson.build (4130B)
1 # This file is in the public domain. 2 3 subdir('typst') 4 5 contrib_tmplpkgdata_DATA = [ 6 'kycaid-invalid-request.en.must', 7 'kyc-proof-already-done.en.must', 8 'kyc-proof-bad-request.en.must', 9 'kyc-proof-endpoint-unknown.en.must', 10 'kyc-proof-internal-error.en.must', 11 'kyc-proof-target-unknown.en.must', 12 'oauth2-authentication-failure.en.must', 13 'oauth2-authorization-failure.en.must', 14 'oauth2-authorization-failure-malformed.en.must', 15 'oauth2-bad-request.en.must', 16 'oauth2-conversion-failure.en.must', 17 'oauth2-provider-failure.en.must', 18 'persona-exchange-unauthorized.en.must', 19 'persona-load-failure.en.must', 20 'persona-exchange-unpaid.en.must', 21 'persona-logic-failure.en.must', 22 'persona-invalid-response.en.must', 23 'persona-network-timeout.en.must', 24 'persona-kyc-failed.en.must', 25 'persona-provider-failure.en.must', 26 ] 27 28 install_data( 29 sources: contrib_tmplpkgdata_DATA, 30 install_dir: get_option('datadir') / 'taler-exchange' / 'templates', 31 ) 32 33 34 contrib_terms_DATA = [ 35 'exchange-pp-v0.de.rst', 36 'exchange-pp-v0.en.rst', 37 'exchange-pp-v0.fr.rst', 38 'exchange-tos-bfh-v0.en.rst', 39 'exchange-tos-netzbon-v0.de.rst', 40 'exchange-tos-netzbon-v0.fr.rst', 41 'exchange-tos-tops-v0.de.rst', 42 'exchange-tos-tops-v0.en.rst', 43 'exchange-tos-tops-v0.fr.rst', 44 'exchange-tos-v0.en.rst', 45 ] 46 47 install_data( 48 sources: contrib_terms_DATA, 49 install_dir: get_option('datadir') / 'taler-exchange' / 'terms', 50 ) 51 52 contrib_bin_SCRIPTS = [ 53 'taler-auditor-dbconfig', 54 'taler-exchange-dbconfig', 55 'taler-terms-generator', 56 ] 57 58 foreach f : contrib_bin_SCRIPTS 59 configure_file( 60 input: f, 61 output: f, 62 configuration: cdata, 63 install: true, 64 install_dir: get_option('bindir'), 65 ) 66 endforeach 67 68 69 70 # These are for the various single-page-apps 71 # imported from the wallet-core.git 72 # prebuilt branch. These MUST be present, they will 73 # be used by code generated by 'bootstrap'! 74 75 dist_amlspapkgdata_DATA = [ 76 'wallet-core/aml-backoffice/bof', 77 'wallet-core/aml-backoffice/build-metadata.json', 78 'wallet-core/aml-backoffice/forms.json', 79 'wallet-core/aml-backoffice/index.css', 80 'wallet-core/aml-backoffice/index.css.map', 81 'wallet-core/aml-backoffice/index.html', 82 'wallet-core/aml-backoffice/index.js', 83 'wallet-core/aml-backoffice/index.js.map', 84 'wallet-core/aml-backoffice/version.txt', 85 ] 86 install_data( 87 sources: dist_amlspapkgdata_DATA, 88 install_dir: get_option('datadir') / 'taler-exchange' / 'aml-spa', 89 ) 90 91 dist_kycspapkgdata_DATA = [ 92 'wallet-core/kyc/bof', 93 'wallet-core/kyc/build-metadata.json', 94 'wallet-core/kyc/forms.json', 95 'wallet-core/kyc/index.css', 96 'wallet-core/kyc/index.css.map', 97 'wallet-core/kyc/index.html', 98 'wallet-core/kyc/index.js', 99 'wallet-core/kyc/index.js.map', 100 'wallet-core/kyc/version.txt', 101 ] 102 install_data( 103 sources: dist_kycspapkgdata_DATA, 104 install_dir: get_option('datadir') / 'taler-exchange' / 'kyc-spa', 105 ) 106 107 dist_auditorspapkgdata_DATA = [ 108 'wallet-core/auditor-backoffice/bof', 109 'wallet-core/auditor-backoffice/build-metadata.json', 110 'wallet-core/auditor-backoffice/index.css', 111 'wallet-core/auditor-backoffice/index.css.map', 112 'wallet-core/auditor-backoffice/index.html', 113 'wallet-core/auditor-backoffice/index.js', 114 'wallet-core/auditor-backoffice/index.js.map', 115 'wallet-core/auditor-backoffice/languageicon-LWKRUH5D.svg', 116 'wallet-core/auditor-backoffice/logo-2021-VSZSJ4QZ.svg', 117 'wallet-core/auditor-backoffice/materialdesignicons-webfont-4.9.95-7W2GKO6O.woff2', 118 'wallet-core/auditor-backoffice/materialdesignicons-webfont-4.9.95-GELXKCZG.ttf', 119 'wallet-core/auditor-backoffice/materialdesignicons-webfont-4.9.95-HENMUVWG.eot', 120 'wallet-core/auditor-backoffice/materialdesignicons-webfont-4.9.95-WP2MXZKI.woff', 121 'wallet-core/auditor-backoffice/version.txt', 122 'wallet-core/auditor-backoffice/XRXV3I6Li01BKofINeaE-34D53UZZ.ttf', 123 ] 124 install_data( 125 sources: dist_auditorspapkgdata_DATA, 126 install_dir: get_option('datadir') / 'taler-auditor' / 'spa', 127 ) 128 129