Initial checkin of Pika from heckimp
This commit is contained in:
233
build/flatpak/README.md
Normal file
233
build/flatpak/README.md
Normal file
@ -0,0 +1,233 @@
|
||||
# PIKA Flatpak HowTo
|
||||
|
||||
## Stable and Development releases
|
||||
|
||||
The Flathub repository hosts our stable and development point releases:
|
||||
https://github.com/flathub/technology.heckin.PIKA
|
||||
|
||||
We recommend to look at the `README.md` file in respectively the `master` or
|
||||
`beta` branches of this repository to know more about release procedures.
|
||||
|
||||
## Nightly builds
|
||||
|
||||
Flathub does not host nightly builds, therefore we publish them on GNOME's
|
||||
Nightly repository. Our "nightlies" are actually "weeklies" through a [Gitlab job
|
||||
schedule named "Flatpak
|
||||
nightly"](https://gitlab.gnome.org/GNOME/pika/-/pipeline_schedules).
|
||||
|
||||
This job will build whatever is on PIKA's repository `master` branch (this
|
||||
branch should be kept buildable and usable at all time, not only for scheduled
|
||||
jobs, but also for all contributors to be able to improve PIKA at all time).
|
||||
|
||||
The nightly manifest file is: `build/flatpak/technology.heckin.PIKA-nightly.json`
|
||||
|
||||
This file should remain as close as possible to the development manifest
|
||||
(`technology.heckin.PIKA.json` file on the `beta` branch of the Flathub repository) which
|
||||
itself should remain as close as possible to the stable manifest
|
||||
(`technology.heckin.PIKA.json` file on the `master` branch of the Flathub repository),
|
||||
since the nightly manifest is meant to become beta eventually, which itself is
|
||||
meant to become stable eventually.
|
||||
|
||||
Base rule to update the nightly build manifest:
|
||||
|
||||
* Regularly `technology.heckin.PIKA-nightly.json` should be diffed and synced with
|
||||
development and stable `technology.heckin.PIKA.json`, in particular for all the
|
||||
dependencies (which are mostly the same across all 3 builds).
|
||||
* A merge request with the label `5. Flatpak package` will contain the `flatpak`
|
||||
job, hence allowing theoretically to build a standalone flatpak (without being
|
||||
published to the nightly repository) for MR code. In practice, jobs have an
|
||||
1-hour timeout and our flatpak takes longer than 1 hour to build (there is an
|
||||
exception in our repository, but only for the `master` branch), so we often
|
||||
need to publish to `master` after mostly a visual review.
|
||||
|
||||
## Custom Flatpak builds (for development)
|
||||
|
||||
Most contributors simply build PIKA the "old-school" way, nevertheless some
|
||||
projects are starting to use `flatpak` as a development environment. Here is how
|
||||
this can be done, as far as our knowledge goes.
|
||||
|
||||
Note 1
|
||||
: The below process is about using flatpak as a development environment, not for
|
||||
proper [releases to a
|
||||
repository](https://docs.flatpak.org/en/latest/flatpak-builder.html), neither
|
||||
for creating [standalone
|
||||
bundles](https://docs.flatpak.org/en/latest/single-file-bundles.html)
|
||||
|
||||
Note 2
|
||||
: since we usually only use flatpak for releases, not for development, there may
|
||||
be better ways to make a flatpak development environment. We welcome any
|
||||
proposed improvement to this file.
|
||||
|
||||
* Dependencies:
|
||||
- flatpak (at least 0.9.5)
|
||||
- flatpak-builder (at least 0.9.5, when the option `--export-only` has been
|
||||
added to `flatpak-builder` so that the build and the export can be made in 2
|
||||
separate steps while using the high level procedure.)
|
||||
- appstream-compose
|
||||
|
||||
Note 1
|
||||
: there are packages of `flatpak` and `flatpak-builder` for [most
|
||||
distributions](http://flatpak.org/getting.html).
|
||||
|
||||
Note 2
|
||||
: `appstream-compose` is used to parse the appdata file and generate the
|
||||
appstream (metadata like comments, etc.).
|
||||
On Fedora, this is provided by the package `libappstream-glib`, on Ubuntu by
|
||||
`appstream-util`…
|
||||
|
||||
* Install the runtimes and the corresponding SDKs if you haven't already:
|
||||
|
||||
```sh
|
||||
flatpak remote-add --user --from gnome https://nightly.gnome.org/gnome-nightly.flatpakrepo
|
||||
flatpak install --user gnome org.gnome.Platform/x86_64/master org.gnome.Sdk/x86_64/master
|
||||
flatpak install --user gnome org.gnome.Platform/aarch64/master org.gnome.Sdk/aarch64/master
|
||||
```
|
||||
|
||||
Or simply update them if you have already installed them:
|
||||
|
||||
```sh
|
||||
flatpak update
|
||||
```
|
||||
|
||||
* Setup some recommended build options:
|
||||
|
||||
```sh
|
||||
export BUILD_OPTIONS="--ccache --keep-build-dirs --force-clean"
|
||||
```
|
||||
|
||||
We recommend using `ccache` to improve build speed, and to keep build dirs
|
||||
(these will be found in `.flatpak-builder/build/` relatively to the work
|
||||
directory; you may manually delete these once you are done to save space) for
|
||||
later debugging if ever any configuration or build issue arises.
|
||||
|
||||
* Choose what architecture to build and where you will "install" your flatpak:
|
||||
|
||||
```sh
|
||||
# Architectures supported with PIKA flatpak are one of 'x86_64' or 'aarch64':
|
||||
export ARCH="x86_64"
|
||||
# Path where build files are stored
|
||||
export INSTALLDIR="`pwd`/${ARCH}"
|
||||
```
|
||||
|
||||
* Build the flatpak up to PIKA itself (not included):
|
||||
|
||||
```sh
|
||||
flatpak-builder $BUILD_OPTIONS --arch="$ARCH" --stop-at=pika \
|
||||
"${INSTALLDIR}" technology.heckin.PIKA-nightly.json 2>&1 \
|
||||
| tee pika-nightly-flatpak.log
|
||||
```
|
||||
|
||||
The build log will be outputted on `stdout` as well as being stored in a file
|
||||
`pika-nightly-flatpak.log`.
|
||||
|
||||
* Now we'll want to build PIKA itself, yet not from a clean repository clone
|
||||
(which is what the manifest provides) but from your local checkout, so that
|
||||
you can include any custom code:
|
||||
|
||||
```sh
|
||||
flatpak build "${INSTALLDIR}" meson setup --prefix=/app/ --libdir=/app/lib/ _pika ../../ 2>&1 | tee -a pika-nightly-flatpak.log
|
||||
flatpak build "${INSTALLDIR}" ninja -C _pika 2>&1 | tee -a pika-nightly-flatpak.log
|
||||
flatpak build "${INSTALLDIR}" ninja -C _pika install 2>&1 | tee -a pika-nightly-flatpak.log
|
||||
```
|
||||
|
||||
This assumes you are currently within `build/flatpak/`, therefore the
|
||||
repository source is 2 parent-folders away (`../../`). The build artifacts
|
||||
will be inside the `_pika/` subfolders, and finally it will be installed with
|
||||
the rest of the flatpak inside `$INSTALLDIR`.
|
||||
|
||||
* For development purpose, you don't need to export the flatpak to a repository
|
||||
or even install it. Just run it directly from your build directory:
|
||||
|
||||
```sh
|
||||
flatpak-builder --run "${INSTALLDIR}" technology.heckin.PIKA-nightly.json pika-2.99
|
||||
```
|
||||
|
||||
## Maintaining the manifests
|
||||
|
||||
* PIKA uses Flatpak's [GNOME runtime](http://flatpak.org/runtimes.html), which
|
||||
contains a base of libraries, some of which are dependencies of PIKA.
|
||||
While both the stable and development versions should use the latest stable
|
||||
runtime version, the nightly manifest uses the `master` version, which is more
|
||||
of a *rolling release*.
|
||||
|
||||
* Other PIKA dependencies which are not available in the GNOME runtime
|
||||
should be built along as modules within PIKA's flatpak.
|
||||
Check format in `technology.heckin.PIKA-nightly.json` and add modules if
|
||||
necessary. For more options, check [flatpak builder's manifest
|
||||
format](http://flatpak.org/flatpak/flatpak-docs.html#flatpak-builder).
|
||||
|
||||
* On the other hand, if we increased the runtime version in particular (or when
|
||||
the `master` runtime evolves), some modules may no longer be necessary and can
|
||||
be removed from our manifest.
|
||||
|
||||
A flatpak is a layered set of modules. Our PIKA build in particular is
|
||||
built over the GNOME runtime, itself built over the Freedesktop
|
||||
runtime, itself based on a yocto-built image.
|
||||
Other than by trial and error, you can find the installed dependencies
|
||||
by running:
|
||||
|
||||
```sh
|
||||
flatpak run --devel --command=bash org.gnome.Sdk//master
|
||||
```
|
||||
|
||||
Or if you already have a build:
|
||||
|
||||
```
|
||||
flatpak run --devel --command=bash technology.heckin.PIKA//master
|
||||
```
|
||||
|
||||
Inside the flatpak sandbox, PIKA's manifest can be read with:
|
||||
|
||||
```sh
|
||||
less /app/manifest.json
|
||||
```
|
||||
|
||||
GNOME and Freedesktop's module lists (generated manifest as the SDK is built
|
||||
from BuildStream):
|
||||
|
||||
```sh
|
||||
less /usr/manifest.json
|
||||
```
|
||||
|
||||
* Some sources have set a `x-checker-data` property which makes it possible to
|
||||
check for updates using
|
||||
[flatpak-external-data-checker](https://github.com/flathub/flatpak-external-data-checker).
|
||||
To run the tool either install it locally, via flatpak or via OCI image.
|
||||
|
||||
The OCI image is not straightforward at first but is the least intrusive
|
||||
if you already have docker or podman installed:
|
||||
|
||||
```sh
|
||||
cd <path-to-pika-repo>/flatpak/build
|
||||
podman run --rm --privileged -v "$(pwd):/run/host:rw" ghcr.io/flathub/flatpak-external-data-checker:latest /run/host/technology.heckin.PIKA-nightly.json
|
||||
```
|
||||
|
||||
Our prefered backend for the checker is Anitya, a database maintained
|
||||
by the Fedora project. To set up a new dependency check by Anitya:
|
||||
|
||||
1. verify it is available in the database: https://release-monitoring.org/
|
||||
2. then copy the project ID which is the number in the project URI
|
||||
within the database.
|
||||
3. Finally add a "x-checker-data" field within the "source" dictionary
|
||||
in the manifest with type "anitya", the "project-id" and a
|
||||
"url-template".
|
||||
4. We usually want to depend on stable releases only, i.e. set
|
||||
"stable-only to `true`. On exceptional cases, for very valid
|
||||
reasons only, we might bypass this limitation, adding a comment
|
||||
explaining why we use an unstable release.
|
||||
|
||||
* For the development releases and nightly builds, we added the
|
||||
`desktop-file-name-prefix` property. For a stable release, the property line
|
||||
can be removed from the manifest.
|
||||
|
||||
* For a stable release, set top `"branch":"stable"`, and inside the
|
||||
"pika", "babl" and "gegl" modules, set "tag" to the git tag (ex:
|
||||
`PIKA_2_10_34`) and "commit" to the git commit hash for this tag.
|
||||
|
||||
* For a development release, set top `"branch":"beta"`, and inside the
|
||||
"pika", "babl" and "gegl" modules, set "tag" to the git tag (ex:
|
||||
`PIKA_2_99_14`) and "commit" to the git commit hash for this tag.
|
||||
|
||||
* For a nightly build, set top "branch":"master", and inside the
|
||||
"pika", "babl" and "gegl" modules, set "branch" to "master", and
|
||||
remove any "commit" line.
|
119
build/flatpak/patches/suitesparse-reduce-build.patch
Normal file
119
build/flatpak/patches/suitesparse-reduce-build.patch
Normal file
@ -0,0 +1,119 @@
|
||||
diff -Naur SuiteSparse-5.11.0/Makefile SuiteSparse-5.11.0.patched/Makefile
|
||||
--- SuiteSparse-5.11.0/Makefile 2021-05-18 15:01:16.000000000 +0200
|
||||
+++ SuiteSparse-5.11.0.patched/Makefile 2021-07-22 02:03:40.698984882 +0200
|
||||
@@ -35,7 +35,7 @@
|
||||
endif
|
||||
( cd SPQR && $(MAKE) )
|
||||
( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' )
|
||||
- ( cd SLIP_LU && $(MAKE) )
|
||||
+# ( cd SLIP_LU && $(MAKE) )
|
||||
# ( cd PIRO_BAND && $(MAKE) )
|
||||
# ( cd SKYLINE_SVD && $(MAKE) )
|
||||
|
||||
@@ -46,27 +46,27 @@
|
||||
# (note that CSparse is not installed; CXSparse is installed instead)
|
||||
install: metisinstall gbinstall moninstall
|
||||
( cd SuiteSparse_config && $(MAKE) install )
|
||||
# ( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' install )
|
||||
( cd AMD && $(MAKE) install )
|
||||
- ( cd BTF && $(MAKE) install )
|
||||
+# ( cd BTF && $(MAKE) install )
|
||||
( cd CAMD && $(MAKE) install )
|
||||
( cd CCOLAMD && $(MAKE) install )
|
||||
( cd COLAMD && $(MAKE) install )
|
||||
( cd CHOLMOD && $(MAKE) install )
|
||||
- ( cd CXSparse && $(MAKE) install )
|
||||
- ( cd LDL && $(MAKE) install )
|
||||
- ( cd KLU && $(MAKE) install )
|
||||
+# ( cd CXSparse && $(MAKE) install )
|
||||
+# ( cd LDL && $(MAKE) install )
|
||||
+# ( cd KLU && $(MAKE) install )
|
||||
( cd UMFPACK && $(MAKE) install )
|
||||
- ( cd RBio && $(MAKE) install )
|
||||
+# ( cd RBio && $(MAKE) install )
|
||||
ifneq (,$(GPU_CONFIG))
|
||||
( cd SuiteSparse_GPURuntime && $(MAKE) install )
|
||||
( cd GPUQREngine && $(MAKE) install )
|
||||
endif
|
||||
- ( cd SPQR && $(MAKE) install )
|
||||
+# ( cd SPQR && $(MAKE) install )
|
||||
# ( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' install )
|
||||
# ( cd PIRO_BAND && $(MAKE) install )
|
||||
# ( cd SKYLINE_SVD && $(MAKE) install )
|
||||
- ( cd SLIP_LU && $(MAKE) install )
|
||||
+# ( cd SLIP_LU && $(MAKE) install )
|
||||
$(CP) README.md $(INSTALL_DOC)/SuiteSparse_README.md
|
||||
chmod 644 $(INSTALL_DOC)/SuiteSparse_README.md
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
( cd SuiteSparse_GPURuntime && $(MAKE) uninstall )
|
||||
( cd GPUQREngine && $(MAKE) uninstall )
|
||||
( cd SPQR && $(MAKE) uninstall )
|
||||
- ( cd SLIP_LU && $(MAKE) uninstall )
|
||||
+# ( cd SLIP_LU && $(MAKE) uninstall )
|
||||
# ( cd PIRO_BAND && $(MAKE) uninstall )
|
||||
# ( cd SKYLINE_SVD && $(MAKE) uninstall )
|
||||
ifeq (,$(MY_METIS_LIB))
|
||||
@@ -126,26 +126,26 @@
|
||||
# the static library
|
||||
library: metis
|
||||
( cd SuiteSparse_config && $(MAKE) )
|
||||
- ( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library )
|
||||
+# ( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library )
|
||||
( cd AMD && $(MAKE) library )
|
||||
- ( cd BTF && $(MAKE) library )
|
||||
+# ( cd BTF && $(MAKE) library )
|
||||
( cd CAMD && $(MAKE) library )
|
||||
( cd CCOLAMD && $(MAKE) library )
|
||||
( cd COLAMD && $(MAKE) library )
|
||||
( cd CHOLMOD && $(MAKE) library )
|
||||
- ( cd KLU && $(MAKE) library )
|
||||
- ( cd LDL && $(MAKE) library )
|
||||
+# ( cd KLU && $(MAKE) library )
|
||||
+# ( cd LDL && $(MAKE) library )
|
||||
( cd UMFPACK && $(MAKE) library )
|
||||
( cd CSparse && $(MAKE) library )
|
||||
- ( cd CXSparse && $(MAKE) library )
|
||||
- ( cd RBio && $(MAKE) library )
|
||||
+# ( cd CXSparse && $(MAKE) library )
|
||||
+# ( cd RBio && $(MAKE) library )
|
||||
ifneq (,$(GPU_CONFIG))
|
||||
( cd SuiteSparse_GPURuntime && $(MAKE) library )
|
||||
( cd GPUQREngine && $(MAKE) library )
|
||||
endif
|
||||
- ( cd SPQR && $(MAKE) library )
|
||||
- ( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library )
|
||||
- ( cd SLIP_LU && $(MAKE) library )
|
||||
+# ( cd SPQR && $(MAKE) library )
|
||||
+# ( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library )
|
||||
+# ( cd SLIP_LU && $(MAKE) library )
|
||||
# ( cd PIRO_BAND && $(MAKE) library )
|
||||
# ( cd SKYLINE_SVD && $(MAKE) library )
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
endif
|
||||
( cd SPQR && $(MAKE) static )
|
||||
( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' static )
|
||||
- ( cd SLIP_LU && $(MAKE) static )
|
||||
+# ( cd SLIP_LU && $(MAKE) static )
|
||||
# ( cd PIRO_BAND && $(MAKE) static )
|
||||
# ( cd SKYLINE_SVD && $(MAKE) static )
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
- ( cd SuiteSparse_GPURuntime && $(MAKE) purge )
|
||||
- ( cd GPUQREngine && $(MAKE) purge )
|
||||
- ( cd SPQR && $(MAKE) purge )
|
||||
- - ( cd SLIP_LU && $(MAKE) purge )
|
||||
+# - ( cd SLIP_LU && $(MAKE) purge )
|
||||
# - ( cd PIRO_BAND && $(MAKE) purge )
|
||||
# - ( cd SKYLINE_SVD && $(MAKE) purge )
|
||||
- $(RM) MATLAB_Tools/*/*.mex* MATLAB_Tools/spok/private/*.mex*
|
||||
@@ -227,7 +227,7 @@
|
||||
- ( cd SuiteSparse_GPURuntime && $(MAKE) clean )
|
||||
- ( cd GPUQREngine && $(MAKE) clean )
|
||||
- ( cd SPQR && $(MAKE) clean )
|
||||
- - ( cd SLIP_LU && $(MAKE) clean )
|
||||
+# - ( cd SLIP_LU && $(MAKE) clean )
|
||||
# - ( cd PIRO_BAND && $(MAKE) clean )
|
||||
# - ( cd SKYLINE_SVD && $(MAKE) clean )
|
||||
|
13
build/flatpak/remove-future-appdata-release.xslt
Normal file
13
build/flatpak/remove-future-appdata-release.xslt
Normal file
@ -0,0 +1,13 @@
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8"/>
|
||||
|
||||
<xsl:template match="node()|@*">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="node()|@*"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="//release[@date='TODO']"/>
|
||||
|
||||
</xsl:stylesheet>
|
846
build/flatpak/technology.heckin.PIKA-nightly.json
Normal file
846
build/flatpak/technology.heckin.PIKA-nightly.json
Normal file
@ -0,0 +1,846 @@
|
||||
{
|
||||
"app-id": "technology.heckin.PIKA",
|
||||
"branch": "master",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "master",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"command": "pika-2.99",
|
||||
"separate-locales": false,
|
||||
"rename-desktop-file": "pika.desktop",
|
||||
"rename-icon": "pika",
|
||||
"copy-icon": true,
|
||||
"finish-args": [
|
||||
"--share=ipc",
|
||||
"--share=network",
|
||||
"--socket=fallback-x11",
|
||||
"--socket=wayland",
|
||||
"--device=dri",
|
||||
"--filesystem=host",
|
||||
"--filesystem=xdg-config/PIKA",
|
||||
"--filesystem=xdg-config/gtk-3.0",
|
||||
"--filesystem=/tmp",
|
||||
"--filesystem=xdg-run/gvfs",
|
||||
"--filesystem=xdg-run/gvfsd",
|
||||
"--talk-name=org.gtk.vfs",
|
||||
"--talk-name=org.gtk.vfs.*",
|
||||
"--talk-name=org.freedesktop.FileManager1",
|
||||
"--talk-name=org.gnome.Shell.Screenshot",
|
||||
"--talk-name=org.kde.kwin.Screenshot"
|
||||
],
|
||||
"tags": [
|
||||
"GTK+3",
|
||||
"nightly"
|
||||
],
|
||||
"desktop-file-name-prefix": "(Nightly) ",
|
||||
"cleanup": [
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share/pkgconfig",
|
||||
"/share/aclocal",
|
||||
"/man",
|
||||
"/share/man",
|
||||
"/share/gtk-doc",
|
||||
"/share/vala",
|
||||
"*.la",
|
||||
"*.a"
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "appstream-glib",
|
||||
"buildsystem": "meson",
|
||||
"config-opts": [
|
||||
"-Dstemmer=false",
|
||||
"-Drpm=false",
|
||||
"-Dfonts=false",
|
||||
"-Ddep11=false"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.8.2.tar.xz",
|
||||
"sha256": "71256500add5048d6f08878904708b3d0c3875f402e0adcd358e91d47dcd8b96",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 14018,
|
||||
"stable-only": true,
|
||||
"url-template": "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gexiv2",
|
||||
"modules": [
|
||||
{
|
||||
"name": "exiv2",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"config-opts": [
|
||||
"-DEXIV2_ENABLE_BMFF=ON",
|
||||
"-DEXIV2_ENABLE_INIH=OFF"
|
||||
],
|
||||
"builddir": true,
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/share"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/Exiv2/exiv2/releases/download/v0.28.0/exiv2-0.28.0-Source.tar.gz",
|
||||
"sha256": "89af3b5ef7277753ef7a7b5374ae017c6b9e304db3b688f1948e73e103491f3d",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 769,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/Exiv2/exiv2/releases/download/v$version/exiv2-$version-Source.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"buildsystem": "meson",
|
||||
"config-opts": [
|
||||
"-Dintrospection=false",
|
||||
"-Dpython3=false",
|
||||
"-Dvapi=false"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://download.gnome.org/sources/gexiv2/0.14/gexiv2-0.14.2.tar.xz",
|
||||
"sha256": "2a0c9cf48fbe8b3435008866ffd40b8eddb0667d2212b42396fdf688e93ce0be",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 1626,
|
||||
"stable-only": true,
|
||||
"url-template": "https://download.gnome.org/sources/gexiv2/$major.$minor/gexiv2-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "openexr",
|
||||
"config-opts": [
|
||||
"-DBUILD_SHARED_LIBS=ON",
|
||||
"-DOPENEXR_INSTALL_EXAMPLES=OFF",
|
||||
"-DBUILD_TESTING=OFF",
|
||||
"-DOPENEXR_INSTALL_PKG_CONFIG=ON"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/share/doc",
|
||||
"/lib/libIlmImfUtil*"
|
||||
],
|
||||
"builddir" : true,
|
||||
"buildsystem" : "cmake-ninja",
|
||||
"sources" : [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.1.10.tar.gz",
|
||||
"sha256": "6e0fd3f0eb1cb907bd3593830ea2b3431b85f22a6f18f99f8cfa099fec70067d",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 13289,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v$version.tar.gz"
|
||||
}
|
||||
}
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name" : "imath",
|
||||
"config-opts": [
|
||||
"-DBUILD_SHARED_LIBS=ON",
|
||||
"-DBUILD_TESTING=OFF",
|
||||
"-DIMATH_INSTALL_PKG_CONFIG=ON"
|
||||
],
|
||||
|
||||
"builddir" : true,
|
||||
"buildsystem" : "cmake-ninja",
|
||||
"sources" : [
|
||||
{
|
||||
"type": "archive",
|
||||
"url" : "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.9.tar.gz",
|
||||
"sha256": "f1d8aacd46afed958babfced3190d2d3c8209b66da451f556abd6da94c165cf3",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 223366,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "poppler",
|
||||
"modules": [
|
||||
{
|
||||
"name": "popplerdata",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz",
|
||||
"sha256": "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 3687,
|
||||
"stable-only": true,
|
||||
"url-template": "https://poppler.freedesktop.org/poppler-data-$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"config-opts": [
|
||||
"-DENABLE_GOBJECT_INTROSPECTION=OFF",
|
||||
"-DENABLE_CPP=OFF",
|
||||
"-DOpenJPEG_DIR=/usr/lib64/openjpeg-2.3",
|
||||
"-DENABLE_BOOST=OFF",
|
||||
"-DWITH_NSS3:BOOL=OFF",
|
||||
"-DENABLE_QT5:BOOL=OFF"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/share"
|
||||
],
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://poppler.freedesktop.org/poppler-23.08.0.tar.xz",
|
||||
"sha256": "4a4bf7fc903b9f1a2ab7d04b7c5d8220db9bc6261cc73fdb9a826dc272f49aa8",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 3686,
|
||||
"stable-only": true,
|
||||
"url-template": "https://poppler.freedesktop.org/poppler-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "aalib",
|
||||
"config-opts": [
|
||||
"--disable-static",
|
||||
"--with-slang-driver=no"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/info",
|
||||
"/man"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://src.fedoraproject.org/repo/pkgs/rpms/aalib/aalib-1.4rc5.tar.gz/9801095c42bba12edebd1902bcf0a990/aalib-1.4rc5.tar.gz",
|
||||
"sha256": "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} ."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libmng",
|
||||
"config-opts": [
|
||||
"--disable-static"
|
||||
],
|
||||
"cleanup": [
|
||||
"/share"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://src.fedoraproject.org/repo/pkgs/rpms/libmng/libmng-2.0.3.tar.gz/7e9a12ba2a99dff7e736902ea07383d4/libmng-2.0.3.tar.gz",
|
||||
"sha256": "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libwmf",
|
||||
"config-opts": [
|
||||
"--disable-static",
|
||||
"--disable-dependency-tracking"
|
||||
],
|
||||
"cleanup": [
|
||||
"/share/doc",
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/caolanm/libwmf/archive/refs/tags/v0.2.13.tar.gz",
|
||||
"sha512": "f45a936c9bc98fc1a5f2b0808b497119e4dcd3c132615fdddb7583e5719c7d1d7f85c16ebf313cad453e5b7ae3508bf6b80c4ed2b42322b7dec295d8f4eb86ce",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 230209,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/caolanm/libwmf/archive/refs/tags/v$version.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} .",
|
||||
"autoreconf -vfi"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ghostscript",
|
||||
"config-opts": [
|
||||
"--disable-cups"
|
||||
],
|
||||
"make-args": [
|
||||
"so"
|
||||
],
|
||||
"make-install-args": [
|
||||
"soinstall"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/share/man",
|
||||
"/share/doc"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10012/ghostscript-10.01.2.tar.gz",
|
||||
"sha512": "11887850d440b8bbd8b83b8b58df8c743cf94be8fdbcfbda1a5fce55ce7c6a963d94b41a4ebcf1ba48f64f8af01e76dec789e2711212b1f7a32f98c42d75e0ff",
|
||||
"x-checker-data": {
|
||||
"//": "Bypass broken url-template with anitya checker - See https://github.com/flathub/flatpak-external-data-checker/issues/360",
|
||||
"type": "json",
|
||||
"url": "https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest",
|
||||
"version-query": ".name | split(\" \") | .[1]",
|
||||
"url-query": ".assets[] | select(.name|test(\"^ghostscript-(.*).tar.gz$\")) | .browser_download_url"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} freetype/builds/unix/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} ijs/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} jpeg/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} libpng/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} lcms2mt/",
|
||||
"cp -p /usr/share/automake-*/config.{sub,guess} tiff/config/",
|
||||
"rm -rf libpng/pngread.c"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libmypaint",
|
||||
"config-opts": [
|
||||
"--disable-gegl",
|
||||
"--disable-introspection"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/mypaint/libmypaint/releases/download/v1.6.1/libmypaint-1.6.1.tar.xz",
|
||||
"sha256": "741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 12974,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/mypaint/libmypaint/releases/download/v$version/libmypaint-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "json-c",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/json-c/json-c.git",
|
||||
"tag": "json-c-0.16-20220414",
|
||||
"commit": "2f2ddc1f2dbca56c874e8f9c31b5b963202d80e7",
|
||||
"x-checker-data": {
|
||||
"type": "git",
|
||||
"tag-pattern": "^json-c-([\\d.]+)-[\\d]+$"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"//": "Copy from shared-modules to avoid submodules on dev repo.",
|
||||
"name": "intltool",
|
||||
"cleanup": [
|
||||
"*"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
|
||||
"sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 1385,
|
||||
"stable-only": true,
|
||||
"url-template": "https://launchpad.net/intltool/trunk/$version/+download/intltool-$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mypaint-brushes",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/mypaint/mypaint-brushes/releases/download/v1.3.1/mypaint-brushes-1.3.1.tar.xz",
|
||||
"sha256": "fef66ffc241b7c5cd29e9c518e933c739618cb51c4ed4d745bf648a1afc3fe70",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 17096,
|
||||
"stable-only": true,
|
||||
"versions": {
|
||||
"<": "2.0.0"
|
||||
},
|
||||
"url-template": "https://github.com/mypaint/mypaint-brushes/releases/download/v$version/mypaint-brushes-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"//": "Shamelessly taken from org.octave.Octave manifest!",
|
||||
"name": "SuiteSparse",
|
||||
"no-autogen": true,
|
||||
"make-args": [
|
||||
"BLAS=-lopenblas",
|
||||
"LAPACK=",
|
||||
"library"
|
||||
],
|
||||
"make-install-args": [
|
||||
"BLAS=-lopenblas",
|
||||
"LAPACK=",
|
||||
"INSTALL_LIB=/app/lib",
|
||||
"INSTALL_INCLUDE=/app/include/suitesparse",
|
||||
"library"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.13.0.tar.gz",
|
||||
"sha256": "59c6ca2959623f0c69226cf9afb9a018d12a37fab3a8869db5f6d7f83b6b147d",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 4908,
|
||||
"stable-only": true,
|
||||
"//": "patches don't apply. Avoiding flathubbot to spam us with broken updates",
|
||||
"versions": {
|
||||
"<": "6.0.0"
|
||||
},
|
||||
"url-template": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$version.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "patches/suitesparse-reduce-build.patch"
|
||||
}
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "openblas",
|
||||
"no-autogen": true,
|
||||
"make-args": [
|
||||
"DYNAMIC_ARCH=1",
|
||||
"FC=gfortran",
|
||||
"NO_CBLAS=1",
|
||||
"NO_LAPACKE=1",
|
||||
"USE_OPENMP=0"
|
||||
],
|
||||
"make-install-args": [
|
||||
"PREFIX=/app"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.23.tar.gz",
|
||||
"sha256": "5d9491d07168a5d00116cdc068a40022c3455bf9293c7cb86a65b1054d7e5114",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 2540,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libheif",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DWITH_GDK_PIXBUF=OFF"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/share/thumbnailers"
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "libde265",
|
||||
"config-opts": [
|
||||
"--disable-dec265",
|
||||
"--disable-encoder",
|
||||
"--disable-sherlock265"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/strukturag/libde265/releases/download/v1.0.12/libde265-1.0.12.tar.gz",
|
||||
"sha256": "62185ea2182e68cf68bba20cc6eb4c287407b509cf0a827d7ddb75614db77b5c",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 11239,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/strukturag/libde265/releases/download/v$version/libde265-$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libx265",
|
||||
"buildsystem": "cmake",
|
||||
"subdir": "source",
|
||||
"config-opts": [
|
||||
"-DEXTRA_LIB='libx265-10.a;libx265-12.a'",
|
||||
"-DEXTRA_LINK_FLAGS=-L.",
|
||||
"-DLINKED_10BIT=ON",
|
||||
"-DLINKED_12BIT=ON"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz",
|
||||
"sha256": "e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 7275,
|
||||
"stable-only": true,
|
||||
"url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"ln -s ${FLATPAK_DEST}/lib/libx265-10.a",
|
||||
"ln -s ${FLATPAK_DEST}/lib/libx265-12.a",
|
||||
"rm -fr ${FLATPAK_DEST}/lib/libx265.so*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "libx265-10bpc",
|
||||
"buildsystem": "cmake",
|
||||
"subdir": "source",
|
||||
"config-opts": [
|
||||
"-DHIGH_BIT_DEPTH=ON",
|
||||
"-DEXPORT_C_API=OFF",
|
||||
"-DENABLE_SHARED=OFF",
|
||||
"-DENABLE_CLI=OFF",
|
||||
"-DENABLE_ASSEMBLY=OFF"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz",
|
||||
"sha256": "e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 7275,
|
||||
"stable-only": true,
|
||||
"url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
|
||||
}
|
||||
}
|
||||
],
|
||||
"post-install": [
|
||||
"mv ${FLATPAK_DEST}/lib/libx265.a ${FLATPAK_DEST}/lib/libx265-10.a"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libx265-12bpc",
|
||||
"buildsystem": "cmake",
|
||||
"subdir": "source",
|
||||
"config-opts": [
|
||||
"-DHIGH_BIT_DEPTH=ON",
|
||||
"-DEXPORT_C_API=OFF",
|
||||
"-DENABLE_SHARED=OFF",
|
||||
"-DENABLE_CLI=OFF",
|
||||
"-DENABLE_ASSEMBLY=OFF",
|
||||
"-DMAIN12=ON"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz",
|
||||
"sha256": "e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 7275,
|
||||
"stable-only": true,
|
||||
"url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
|
||||
}
|
||||
}
|
||||
],
|
||||
"post-install": [
|
||||
"mv ${FLATPAK_DEST}/lib/libx265.a ${FLATPAK_DEST}/lib/libx265-12.a"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/strukturag/libheif/releases/download/v1.16.2/libheif-1.16.2.tar.gz",
|
||||
"sha256": "7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 64439,
|
||||
"stable-only": true,
|
||||
"url-template": "https://github.com/strukturag/libheif/releases/download/v$version/libheif-$version.tar.gz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "luajit",
|
||||
"no-autogen": true,
|
||||
"cleanup": [
|
||||
"/lib/*.a",
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share/man"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz",
|
||||
"sha256": "1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 6444,
|
||||
"stable-only": false,
|
||||
"url-template": "https://luajit.org/download/LuaJIT-$version.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed -i 's|/usr/local|/app|' ./Makefile"
|
||||
]
|
||||
}
|
||||
],
|
||||
"post-install": [
|
||||
"ln -s /app/bin/luajit-2.1.0-beta3 /app/bin/luajit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "lua-lgi",
|
||||
"buildsystem": "meson",
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/pavouk/lgi.git",
|
||||
"commit": "c21f35fccae87fd4e3625d4c878f584b7255d6f6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "xmu",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-1.1.3.tar.bz2",
|
||||
"sha256": "9c343225e7c3dc0904f2122b562278da5fed639b1b5e880d25111561bac5b731"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cairo",
|
||||
"buildsystem": "meson",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://cairographics.org/snapshots/cairo-1.17.8.tar.xz",
|
||||
"sha256": "5b10c8892d1b58d70d3f0ba5b47863a061262fa56b9dc7944161f8c8b783bc64",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 247,
|
||||
"stable-only": true,
|
||||
"url-template": "https://cairographics.org/snapshots/cairo-$version.tar.xz"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "qoi",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"install -D qoi.h /app/include/qoi.h"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/phoboslab/qoi.git",
|
||||
"commit": "f6dffaf1e8170cdd79945a4fb60f6403e447e020"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cfitsio",
|
||||
"config-opts": [
|
||||
"--enable-reentrant"
|
||||
],
|
||||
"make-args": ["shared"],
|
||||
"cleanup": [
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/pkgconfig"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.2.0.tar.gz",
|
||||
"sha256": "eba53d1b3f6e345632bb09a7b752ec7ced3d63ec5153a848380f3880c5d61889"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "babl",
|
||||
"buildsystem": "meson",
|
||||
"config-opts": [
|
||||
"-Dwith-docs=false"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://gitlab.gnome.org/GNOME/babl.git",
|
||||
"branch": "master"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gegl",
|
||||
"buildsystem": "meson",
|
||||
"config-opts": [
|
||||
"-Ddocs=false",
|
||||
"-Dworkshop=true"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://gitlab.gnome.org/GNOME/gegl.git",
|
||||
"branch": "master"
|
||||
}
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "maxflow",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"cleanup": [
|
||||
"/bin"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/gerddie/maxflow.git",
|
||||
"commit": "6ac148f164b9567ac81fbb4ebb36112f850c902b"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "graphviz",
|
||||
"buildsystem": "autotools",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://gitlab.com/graphviz/graphviz/-/archive/8.0.5/graphviz-8.0.5.tar.gz",
|
||||
"sha256": "dd06f45f5bbcb1c7cbc67adab5359da2cd4b40533dc7c7424b3fc0e998bbd6c9",
|
||||
"x-checker-data": {
|
||||
"type": "anitya",
|
||||
"project-id": 1249,
|
||||
"stable-only": true,
|
||||
"url-template": "https://gitlab.com/graphviz/graphviz/-/archive/$version/graphviz-$version.tar.gz"
|
||||
}
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin/??",
|
||||
"/bin/????*",
|
||||
"/bin/fdp",
|
||||
"/bin/nop",
|
||||
"/lib/libgvpr*",
|
||||
"/lib/liblab*",
|
||||
"*.la",
|
||||
"/lib/graphviz/libgvplugin_core*",
|
||||
"/lib/graphviz/libgvplugin_g*",
|
||||
"/lib/graphviz/libgvplugin_neato_layout*",
|
||||
"/lib/graphviz/libgvplugin_poppler*",
|
||||
"/lib/graphviz/libgvplugin_rsvg*",
|
||||
"/lib/graphviz/libgvplugin_visio*",
|
||||
"/lib/graphviz/libgvplugin_webp*",
|
||||
"/lib/graphviz/libgvplugin_xlib*",
|
||||
"/share"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pika",
|
||||
"buildsystem": "meson",
|
||||
"config-opts": [
|
||||
"-Dg-ir-doc=false",
|
||||
"-Dgi-docgen=disabled",
|
||||
"-Dicc-directory=/run/host/usr/share/color/icc/",
|
||||
"-Dbuild-id=technology.heckin.PIKA.flatpak.nightly",
|
||||
"-Dcheck-update=no"
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin/pikatool-2.99",
|
||||
"/bin/pika-console-2.99"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://gitlab.gnome.org/GNOME/pika.git",
|
||||
"branch": "master"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"xsltproc -o desktop/technology.heckin.PIKA.appdata.xml.in.in build/flatpak/remove-future-appdata-release.xslt desktop/technology.heckin.PIKA.appdata.xml.in.in"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user