From ecc6c218af8ef864fe8d03badfed0e6e7c730fd0 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 28 Jun 2022 18:17:14 +0200 Subject: put each fix in a separate directory with its own index.json This commit also updates the repository to use version 2 of package source schema. --- src/bandcamp-com-fix/index.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/bandcamp-com-fix/index.json (limited to 'src/bandcamp-com-fix/index.json') diff --git a/src/bandcamp-com-fix/index.json b/src/bandcamp-com-fix/index.json new file mode 100644 index 0000000..f18aa70 --- /dev/null +++ b/src/bandcamp-com-fix/index.json @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: CC0-1.0 + +// Copyright (C) 2022 Wojtek Kosior +// Available under the terms of Creative Commons Zero v1.0 Universal. + +{ + "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json", + "source_name": "bandcamp-com-fix", + "copyright": [ + {"file": "report.spdx"}, + {"file": "LICENSES/Apache-2.0.txt"}, + {"file": "LICENSES/CC0-1.0.txt"} + ], + "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/bandcamp-com-fix", + "definitions": [{ + "type": "mapping_and_resource", + "identifier": "bandcamp-com-fix", + "long_name": "Bandcamp inline music player fix", + "version": [2022, 2, 18], + "revision": 2, + "description": "Make bandcamp.com inline player usable without relying on site-served JavaScript.", + "dependencies": [], + "scripts": [{"file": "bandcamp.js"}], + "payloads": { + // * https://old.reddit.com/search?q=url%3Abandcamp.com%2Ftrack%2F <- to get more testing links + // * https://chaiofficial.bandcamp.com/track/whole + // * https://studio273.bandcamp.com/track/sweet + "https://*.bandcamp.com/track/*": { + "identifier": "bandcamp-com-fix" + } + } + }], + "reuse_generate_spdx_report": true +} -- cgit v1.2.3