intltool has long been dead upstream. Let's not poke the dead corpse, please. This commit is quite large, but that's mostly since trying to support a hybrid of both gettext and intltool with both Meson and Autotools was really hard, so I stopped trying. Due to gettext relying on quite some things being at the exactly right place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we really needed to cleanup the `autogen.sh` to only call `aclocal` and `autoreconf`. No more strange magic; I tried to do it without changing too much in the file, and things just broke. If people want to do something more custom, they can just change the script directly. This change also uncovered some problems in our `configure.ac`, like using deprecated macros. The following major changes happened: * meson: Changed `custom_target()` to `i18n.merge_file()` for all supported file types * Added `.its` and `.loc` files for the GIMP-specific XML formats, so that gettext understands them * For the `.isl` (Window installer stuff) file, there's no easy way to do this in gettext, so instead we start from an XML file (again with its own ITS rules etc), translate that with gettext, and then use `xsltproc` with a bit of magic to output the .isl file for each language * the `po*/Makefile.in.in` files are migrated to `Makevars` files, which gettext natively understands. Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
820 lines
32 KiB
JSON
820 lines
32 KiB
JSON
{
|
|
"app-id": "org.gimp.GIMP",
|
|
"branch": "master",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "gimp-2.99",
|
|
"separate-locales": false,
|
|
"rename-desktop-file": "gimp.desktop",
|
|
"rename-icon": "gimp",
|
|
"copy-icon": true,
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--filesystem=host",
|
|
"--filesystem=xdg-config/GIMP",
|
|
"--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": "gexiv2",
|
|
"modules": [
|
|
{
|
|
"name": "exiv2",
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"cleanup": [
|
|
"/bin",
|
|
"/share"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/Exiv2/exiv2/releases/download/v0.27.5/exiv2-0.27.5-Source.tar.gz",
|
|
"sha256": "35a58618ab236a901ca4928b0ad8b31007ebdc0386d904409d825024e45ea6e2",
|
|
"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.0.tar.xz",
|
|
"sha256": "e58279a6ff20b6f64fa499615da5e9b57cf65ba7850b72fafdf17221a9d6d69e",
|
|
"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": "lcms2",
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/share"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/mm2/Little-CMS/releases/download/lcms2.13.1/lcms2-2.13.1.tar.gz",
|
|
"sha256": "d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 9815,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/mm2/Little-CMS/releases/download/lcms$version/lcms2-$version.tar.gz"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "openexr",
|
|
"modules": [
|
|
{
|
|
"name": "ilmbase",
|
|
"subdir": "IlmBase",
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"build-options": {
|
|
"cxxflags": "-std=c++14",
|
|
"env": {
|
|
"LDFLAGS": "-lpthread"
|
|
}
|
|
},
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v2.5.8.tar.gz",
|
|
"sha256": "db261a7fcc046ec6634e4c5696a2fc2ce8b55f50aac6abe034308f54c8495f55",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 13289,
|
|
"stable-only": true,
|
|
"versions": {
|
|
"<": "3.0.0"
|
|
},
|
|
"url-template": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v$version.tar.gz"
|
|
}
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"cp -p /usr/share/automake-*/config.{sub,guess} ."
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"subdir": "OpenEXR",
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-ilmbasetest"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/share/doc",
|
|
"/lib/libIlmImfUtil*"
|
|
],
|
|
"build-options": {
|
|
"cxxflags": "-std=c++14"
|
|
},
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v2.5.8.tar.gz",
|
|
"sha256": "db261a7fcc046ec6634e4c5696a2fc2ce8b55f50aac6abe034308f54c8495f55",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 13289,
|
|
"stable-only": true,
|
|
"versions": {
|
|
"<": "3.0.0"
|
|
},
|
|
"url-template": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v$version.tar.gz"
|
|
}
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "patches/openexr-no-docs.patch"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"cp -p /usr/share/automake-*/config.{sub,guess} ."
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "poppler",
|
|
"modules": [
|
|
{
|
|
"name": "popplerdata",
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://poppler.freedesktop.org/poppler-data-0.4.11.tar.gz",
|
|
"sha256": "2cec05cd1bb03af98a8b06a1e22f6e6e1a65b1e2f3816cb3069bb0874825f08c",
|
|
"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"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/share"
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://poppler.freedesktop.org/poppler-22.03.0.tar.xz",
|
|
"sha256": "728c78ba94d75a55f6b6355d4fbdaa6f49934d9616be58e5e679a9cfd0980e1e",
|
|
"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"
|
|
],
|
|
"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://src.fedoraproject.org/repo/pkgs/rpms/libwmf/v0.2.12.tar.gz/sha512/9280851e560becc91546906b911e0c59a1abd690e10680f6d94a335d66aeaec5eb12ccf2214ee7af2a15729a7b5f8b906022822399b4e2bc12c75a2d75748cab/v0.2.12.tar.gz",
|
|
"sha512": "9280851e560becc91546906b911e0c59a1abd690e10680f6d94a335d66aeaec5eb12ccf2214ee7af2a15729a7b5f8b906022822399b4e2bc12c75a2d75748cab"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "patches/libwmf-no-freetype-config.patch"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"cp -p /usr/share/automake-*/config.{sub,guess} .",
|
|
"aclocal",
|
|
"automake --add-missing",
|
|
"autoconf"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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/gs9550/ghostscript-9.55.0.tar.gz",
|
|
"sha256": "31e2064be67e15b478a8da007d96d6cd4d2bee253e5be220703a225f7f79a70b",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 1157,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$major$minor$patch/ghostscript-$version.tar.gz"
|
|
}
|
|
},
|
|
{
|
|
"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": "archive",
|
|
"url": "https://github.com/json-c/json-c/archive/json-c-0.15-20200726.tar.gz",
|
|
"sha256": "4ba9a090a42cf1e12b84c64e4464bb6fb893666841d5843cc5bef90774028882"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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.11.0.tar.gz",
|
|
"sha256": "fdd957ed06019465f7de73ce931afaf5d40e96e14ae57d91f60868b8c123c4c8",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 4908,
|
|
"stable-only": true,
|
|
"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.20.tar.gz",
|
|
"sha256": "8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c",
|
|
"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",
|
|
"config-opts": [
|
|
"--disable-gdk-pixbuf"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/share/thumbnailers"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libde265",
|
|
"config-opts": [
|
|
"--disable-sherlock265"
|
|
],
|
|
"cleanup": [
|
|
"/bin"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/strukturag/libde265/releases/download/v1.0.8/libde265-1.0.8.tar.gz",
|
|
"sha256": "24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905",
|
|
"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": [
|
|
{
|
|
"url": "https://github.com/strukturag/libheif/releases/download/v1.12.0/libheif-1.12.0.tar.gz",
|
|
"sha256": "e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718",
|
|
"type": "archive",
|
|
"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": "libjxl",
|
|
"config-opts": [
|
|
"-DJPEGXL_ENABLE_PLUGINS=OFF",
|
|
"-DBUILD_TESTING=OFF",
|
|
"-DJPEGXL_WARNINGS_AS_ERRORS=OFF",
|
|
"-DJPEGXL_ENABLE_SJPEG=OFF",
|
|
"-DJPEGXL_ENABLE_BENCHMARK=OFF",
|
|
"-DJPEGXL_ENABLE_EXAMPLES=OFF",
|
|
"-DJPEGXL_ENABLE_MANPAGES=OFF",
|
|
"-DJPEGXL_ENABLE_SKCMS=ON",
|
|
"-DJPEGXL_ENABLE_JNI=OFF",
|
|
"-DJPEGXL_ENABLE_TCMALLOC=OFF",
|
|
"-DJPEGXL_ENABLE_TOOLS=OFF"
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/libjxl/libjxl.git",
|
|
"tag": "v0.6.1",
|
|
"commit": "a205468bc5d3a353fb15dae2398a101dff52f2d3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "autotools",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://gitlab.freedesktop.org/cairo/cairo/-/archive/1.17.6/cairo-1.17.6.tar.gz",
|
|
"sha256": "a2227afc15e616657341c42af9830c937c3a6bfa63661074eabef13600e8936f",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 247,
|
|
"stable-only": true,
|
|
"url-template": "https://gitlab.freedesktop.org/cairo/cairo/-/archive/$version/cairo-$version.tar.gz"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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/3.0.0/graphviz-3.0.0.tar.gz",
|
|
"sha256": "59931082a3638139e06c296b96e860a9d338432af06f7f57a6ad8da5cbf465c7",
|
|
"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": "gimp",
|
|
"config-opts": [
|
|
"-Dgi-docgen=disabled",
|
|
"-Dicc-directory=/run/host/usr/share/color/icc/",
|
|
"-Dbuild-id=org.gimp.GIMP.flatpak.nightly",
|
|
"-Dcheck-update=no"
|
|
],
|
|
"cleanup": [
|
|
"/bin/gimptool-2.99",
|
|
"/bin/gimp-console-2.99"
|
|
],
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/gimp.git",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"xsltproc -o desktop/org.gimp.GIMP.appdata.xml.in.in build/flatpak/remove-future-appdata-release.xslt desktop/org.gimp.GIMP.appdata.xml.in.in"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|