Derive binary_url in package.rb (#7082)

* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
This commit is contained in:
Maximilian Downey Twiss
2024-01-26 03:03:31 +11:00
committed by GitHub
parent 68d15ff629
commit f6dc1d8d4e
1797 changed files with 1799 additions and 10419 deletions

View File

@@ -8,12 +8,10 @@ class Natron < Package
compatibility 'x86_64'
source_url 'https://github.com/NatronGitHub/Natron/releases/download/v2.4.0/Natron-2.4.0-Linux-64.tgz'
source_sha256 '7e8f2ec343f553799f34dce89aa250c410024f17e2c9ccfb5e22544db3e46bb4'
binary_compression 'tpxz'
no_compile_needed
binary_url({
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/natron/2.4.0_x86_64/natron-2.4.0-chromeos-x86_64.tpxz'
})
binary_sha256({
x86_64: '35b3c22b67f74d285e71f619179cf36a3a475d0df37dd7dcb104d22a318edce4'
})