Verified Commit 36365753 authored by Timothée Ravier's avatar Timothée Ravier
Browse files

flatpak: Add support for more archive formats (zstd, lz4, etc.)

parent d1f86f5f
......@@ -24,6 +24,37 @@
"/share/man"
],
"modules": [
{
"name": "zstd",
"buildsystem": "simple",
"build-commands": [
"make",
"make PREFIX=/ DESTDIR=\"${FLATPAK_DEST}\" install"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/facebook/zstd/releases/download/v1.4.5/zstd-1.4.5.tar.gz",
"sha256": "98e91c7c6bf162bf90e4e70fdbc41a8188b9fa8de5ad840c401198014406ce9e"
}
]
},
{
"name": "lz4",
"buildsystem": "simple",
"build-commands": [
"make -C lib PREFIX=/",
"make -C programs PREFIX=/usr lz4 lz4",
"make install PREFIX=/ DESTDIR=\"${FLATPAK_DEST}\" install"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/lz4/lz4/archive/v1.9.2.tar.gz",
"sha256": "658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc"
}
]
},
{
"name": "libarchive",
"config-opts": ["--without-xml2"],
......@@ -46,6 +77,36 @@
}
]
},
{
"name": "lzo",
"sources": [
{
"type": "archive",
"url": "https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz",
"sha256": "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
}
]
},
{
"name": "lzop",
"sources": [
{
"type": "archive",
"url": "https://www.lzop.org/download/lzop-1.04.tar.gz",
"sha256": "7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41"
}
]
},
{
"name": "lrzip",
"sources": [
{
"type": "archive",
"url": "https://github.com/ckolivas/lrzip/archive/v0.631.tar.gz",
"sha256": "10315c20d5a47590e7220c210735ba169677824d5672509266682eccec84d952"
}
]
},
{
"name": "ark",
"buildsystem": "cmake-ninja",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment