@mmomtchev/meson-xpack
Version:
A xPack with meson + node-api
88 lines • 3.29 kB
JSON
{
"name": "@mmomtchev/meson-xpack",
"version": "1.8.0-1",
"description": "A xPack with meson + node-api",
"scripts": {
"postversion": "git push && git push --tags && node ./publish.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mmomtchev/meson-xpack.git"
},
"keywords": [
"meson",
"node-api",
"swig",
"xpack"
],
"author": "Momtchil Momtchev <momtchil@momtchev.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mmomtchev/meson-xpack/issues"
},
"homepage": "https://github.com/mmomtchev/meson-xpack#readme",
"xpack": {
"minimumXpmRequired": "0.19.1",
"binaries": {
"destination": "./.content",
"rootUrl": "https://github.com/mmomtchev/meson-xpack/releases/download",
"skip": 1,
"platforms": {
"darwin-arm64": {
"fileName": "meson-xpack-1.8.0-1-darwin-arm64.tar.gz",
"sha256": "e0406f65b06691f20bfc15c545f62def0d42319e683faa12ee5f24143a602a94"
},
"darwin-x64": {
"fileName": "meson-xpack-1.8.0-1-darwin-x64.tar.gz",
"sha256": "076777bccee730f8d7e3d3ca3680f8371348c9117cd0a8fa434fb78b3f850f6e"
},
"linux-x64": {
"fileName": "meson-xpack-1.8.0-1-linux-x64.tar.gz",
"sha256": "f14404ddd5aff2122db4fc1cc1717194572c092315913118b763c2a06303c378"
},
"win32-x64": {
"fileName": "meson-xpack-1.8.0-1-win32-x64.zip",
"sha256": "4a91be084e23b91c3d89aa08640aea66a947d3b84468646317fd96e0e72dd8b4"
}
},
"baseUrl": "https://github.com/mmomtchev/meson-xpack/releases/download/v1.8.0-1"
},
"bin": {
"meson": "./.content/bin/meson"
},
"properties": {
"version": "1.8.0",
"versionSuffix": "",
"commandInstall": "python -m pip install --target content git+https://github.com/mmomtchev/meson@hadron-{{ properties.version }}{{ properties.versionSuffix }}",
"pythonPath": "xpacks/@mmomtchev/python-xpack/.content",
"pythonDLL": "python310.dll",
"commandPostInstall": {
"win32": "rc wrappers\\wrapper.rc && cl /DPYTHON_PATH=\"{{ properties.pythonPath }}\" /DPYTHON_DLL=\"{{ properties.pythonDLL }}\" /I {{ properties.pythonPath }}\\include wrappers\\wrapper.c wrappers\\wrapper.res /Fe:content\\bin\\meson.exe /link /LIBPATH:{{ properties.pythonPath }} /DELAYLOAD:{{ properties.pythonDLL }}",
"linux": "cp wrappers/meson content/bin/meson",
"darwin": "cp wrappers/meson content/bin/meson"
}
},
"actions": {
"compile": "{{ properties.commandPostInstall[os.platform] }}",
"build": [
"{{ properties.commandInstall }}",
"{{ properties.commandPostInstall[os.platform] }}"
],
"test": [
".{{ path.sep }}content{{ path.sep }}bin{{ path.sep }}meson help",
".{{ path.sep }}content{{ path.sep }}bin{{ path.sep }}meson --internal copy package.json temp.todelete",
".{{ path.sep }}content{{ path.sep }}bin{{ path.sep }}meson --internal delwithsuffix . todelete"
]
},
"dependencies": {
"@mmomtchev/python-xpack": {
"specifier": "3.10.14-5",
"local": "link",
"platforms": "all"
}
}
},
"dependencies": {
"xpm": "^0.19.2"
}
}