UNPKG

@mmomtchev/meson-xpack

Version:
88 lines 3.08 kB
{ "name": "@mmomtchev/meson-xpack", "version": "1.8.0-3", "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-3-darwin-arm64.tar.gz", "sha256": "9161bdbb0b8c04f12cb1aef735a0446bda7ecb2effbe1cd0cb53220928c4e504" }, "darwin-x64": { "fileName": "meson-xpack-1.8.0-3-darwin-x64.tar.gz", "sha256": "a1193e4441e89d6effecbf62f3d07edd4f2e5b9780c911aec77f333d2d921381" }, "linux-x64": { "fileName": "meson-xpack-1.8.0-3-linux-x64.tar.gz", "sha256": "617b41431ddb2713075226f0026ec22e9fd0877888cd37202d37a7e1febe63bc" }, "win32-x64": { "fileName": "meson-xpack-1.8.0-3-win32-x64.zip", "sha256": "efbd1cb240f985979eec23bff60daae4a9459a689a79bb0b09302f126b9f5cdf" } }, "baseUrl": "https://github.com/mmomtchev/meson-xpack/releases/download/v1.8.0-3" }, "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": "copy wrappers\\meson content\\bin\\meson && cl wrappers\\wrapper.c /Fe:content\\bin\\meson.exe /link", "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.12.11-2", "local": "link", "platforms": "all" } } }, "dependencies": { "xpm": "^0.19.2" } }