mirror of https://github.com/GNOME/gimp.git
952 lines
38 KiB
JSON
952 lines
38 KiB
JSON
{
|
|
"app-id": "org.gimp.GIMP",
|
|
"branch": "master",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.llvm18"
|
|
],
|
|
"command": "gimp",
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/llvm18/bin",
|
|
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
|
|
"env": {
|
|
"CC": "ccache clang",
|
|
"CXX": "ccache clang++",
|
|
"CC_LD": "lld",
|
|
"CXX_LD": "lld",
|
|
"CLICOLOR_FORCE": "1"
|
|
},
|
|
"cflags": "-fcolor-diagnostics",
|
|
"cxxflags": "-fcolor-diagnostics"
|
|
},
|
|
"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:create",
|
|
"--filesystem=xdg-config/gtk-3.0",
|
|
"--filesystem=/tmp",
|
|
"--filesystem=xdg-run/gvfs",
|
|
"--filesystem=xdg-run/gvfsd",
|
|
"--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": [
|
|
"/lib/cmake",
|
|
"/man",
|
|
"/share/aclocal",
|
|
"/share/doc",
|
|
"/share/gir-1.0",
|
|
"/share/gtk-doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"/share/vala",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"add-extensions": {
|
|
"org.gimp.GIMP.HEIC": {
|
|
"directory": "lib/libheif",
|
|
"add-ld-path": "lib",
|
|
"bundle": false,
|
|
"autodelete": true
|
|
}
|
|
},
|
|
"modules": [
|
|
{
|
|
"name": "appstream-glib",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.8.3.tar.xz",
|
|
"sha256": "84754064c560fca6e1ab151dc64354fc235a5798f016b91b38c9617253a8cf11",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Drpm=false",
|
|
"-Dfonts=false",
|
|
"-Ddep11=false",
|
|
"-Dbuilder=false",
|
|
"-Dman=false",
|
|
"-Dintrospection=false"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share"
|
|
]
|
|
},
|
|
{
|
|
"name": "gexiv2",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.gnome.org/sources/gexiv2/0.14/gexiv2-0.14.3.tar.xz",
|
|
"sha256": "21e64d2c56e9b333d44fef3f2a4b25653d922c419acd972fa96fab695217e2c8",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dintrospection=false",
|
|
"-Dpython3=false",
|
|
"-Dtools=false",
|
|
"-Dvapi=false"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "exiv2",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.3.tar.gz",
|
|
"sha256": "1315e17d454bf4da3cc0edb857b1d2c143670f3485b537d0f946d9ed31d87b70",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 769,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/Exiv2/exiv2/archive/refs/tags/v$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-DEXIV2_BUILD_EXIV2_COMMAND=OFF",
|
|
"-DEXIV2_ENABLE_INIH=OFF",
|
|
"-DEXIV2_ENABLE_VIDEO=OFF"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "openexr",
|
|
"sources" : [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.3.1.tar.gz",
|
|
"sha256": "58aad2b32c047070a52f1205b309bdae007442e0f983120e4ff57551eb6f10f1",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem" : "cmake-ninja",
|
|
"builddir" : true,
|
|
"config-opts": [
|
|
"-DOPENEXR_BUILD_TOOLS=OFF",
|
|
"-DOPENEXR_BUILD_EXAMPLES=OFF",
|
|
"-DBUILD_TESTING=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name" : "imath",
|
|
"sources" : [
|
|
{
|
|
"type": "archive",
|
|
"url" : "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.12.tar.gz",
|
|
"sha256": "8a1bc258f3149b5729c2f4f8ffd337c0e57f09096e4ba9784329f40c4a9035da",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem" : "cmake-ninja",
|
|
"builddir" : true,
|
|
"config-opts": [
|
|
"-DBUILD_TESTING=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name" : "libdeflate",
|
|
"sources" : [
|
|
{
|
|
"type": "archive",
|
|
"url" : "https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.22.zip",
|
|
"sha256": "da384a2d96e112c25aca295aea5de5a1e4a6d9fd230bd36f506ffd1a772667a4",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 242778,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/ebiggers/libdeflate/archive/refs/tags/v$version.zip"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem" : "cmake-ninja",
|
|
"builddir" : true,
|
|
"config-opts": [
|
|
"-DLIBDEFLATE_BUILD_STATIC_LIB=OFF",
|
|
"-DLIBDEFLATE_GZIP_SUPPORT=OFF",
|
|
"-DLIBDEFLATE_BUILD_GZIP=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "poppler",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://poppler.freedesktop.org/poppler-24.10.0.tar.xz",
|
|
"sha256": "58ed1849810f04a10b37c7ff6f3e411845c8a57d731d599d0045acc7a7fff09d",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 3686,
|
|
"stable-only": true,
|
|
"url-template": "https://poppler.freedesktop.org/poppler-$version.tar.xz"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-DBUILD_GTK_TEST=OFF",
|
|
"-DBUILD_QT5_TESTS=OFF",
|
|
"-DBUILD_QT6_TESTS=OFF",
|
|
"-DBUILD_CPP_TESTS=OFF",
|
|
"-DBUILD_MANUAL_TESTS=OFF",
|
|
"-DENABLE_GOBJECT_INTROSPECTION=OFF",
|
|
"-DENABLE_UTILS=OFF",
|
|
"-DENABLE_CPP=OFF",
|
|
"-DENABLE_LIBOPENJPEG=openjpeg2",
|
|
"-DENABLE_BOOST=OFF",
|
|
"-DENABLE_NSS3=OFF",
|
|
"-DENABLE_QT5=OFF",
|
|
"-DENABLE_QT6=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "popplerdata",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libmng",
|
|
"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"
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "libwmf",
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-dependency-tracking"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/gdk-pixbuf-*",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "ghostscript",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/ghostscript-10.04.0.tar.gz",
|
|
"sha512": "75e49a1778b7cc4fdfb5d871355cbd653458250cddc9075d70df8e4200ccd0a49de22f101450c1d0790a7ee3475b94835265ff295498495eb0dcfd04efee2e8d",
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"--disable-cups",
|
|
"--disable-gtk",
|
|
"--without-tesseract",
|
|
"--without-libpaper",
|
|
"--without-pdftoraster"
|
|
],
|
|
"make-args": [
|
|
"so"
|
|
],
|
|
"make-install-args": [
|
|
"soinstall"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share"
|
|
]
|
|
},
|
|
{
|
|
"name": "libmypaint",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"--disable-gegl",
|
|
"--disable-introspection"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "json-c",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/json-c/json-c.git",
|
|
"tag": "json-c-0.18-20240915",
|
|
"commit": "41a55cfcedb54d9c1874f2f0eb07b504091d7e37",
|
|
"x-checker-data": {
|
|
"type": "git",
|
|
"tag-pattern": "^json-c-([\\d.]+)-[\\d]+$"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DDISABLE_WERROR=ON",
|
|
"-DBUILD_TESTING=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"//": "Copy from shared-modules to avoid submodules on dev repo.",
|
|
"name": "intltool",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"cleanup": [
|
|
"*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libheif",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/strukturag/libheif/releases/download/v1.18.2/libheif-1.18.2.tar.gz",
|
|
"sha256": "c4002a622bec9f519f29d84bfdc6024e33fd67953a5fb4dc2c2f11f67d5e45bf",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-DWITH_GDK_PIXBUF=OFF",
|
|
"-DWITH_EXAMPLES=OFF",
|
|
"-DENABLE_PLUGIN_LOADING=ON",
|
|
"-DWITH_LIBDE265_PLUGIN=ON",
|
|
"-DWITH_X265_PLUGIN=ON",
|
|
"-DWITH_DAV1D=ON",
|
|
"-DWITH_DAV1D_PLUGIN=OFF",
|
|
"-DWITH_AOM_DECODER=ON",
|
|
"-DWITH_AOM_ENCODER=ON",
|
|
"-DWITH_JPEG_DECODER=ON",
|
|
"-DWITH_OpenJPEG_DECODER=ON",
|
|
"-DWITH_OpenJPEG_DECODER_PLUGIN=OFF"
|
|
],
|
|
"build-options": {
|
|
"append-pkg-config-path": "/app/lib/libheif/lib/pkgconfig"
|
|
},
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include/libheif",
|
|
"/lib/pkgconfig",
|
|
"/share/thumbnailers"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libde265",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz",
|
|
"sha256": "00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d",
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_PREFIX=/app/lib/libheif",
|
|
"-DENABLE_SDL=OFF",
|
|
"-DENABLE_DECODER=OFF",
|
|
"-DENABLE_ENCODER=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/lib/libheif/bin",
|
|
"/lib/libheif/include"
|
|
]
|
|
},
|
|
{
|
|
"name": "libx265",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz",
|
|
"sha256": "663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807",
|
|
"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/libheif/lib/libx265-10.a",
|
|
"ln -s ${FLATPAK_DEST}/lib/libheif/lib/libx265-12.a",
|
|
"rm -fr ${FLATPAK_DEST}/lib/libheif/lib/libx265.so*"
|
|
]
|
|
}
|
|
],
|
|
"subdir": "source",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
|
|
"-DCMAKE_CXX_COMPILER=clang++",
|
|
"-DCMAKE_CXX_FLAGS=-fuse-ld=lld",
|
|
"-DCMAKE_INSTALL_PREFIX=/app/lib/libheif",
|
|
"-DEXTRA_LIB='libx265-10.a;libx265-12.a'",
|
|
"-DEXTRA_LINK_FLAGS=-L/app/lib/libheif/lib",
|
|
"-DLINKED_10BIT=ON",
|
|
"-DLINKED_12BIT=ON",
|
|
"-DENABLE_CLI=OFF",
|
|
"-DENABLE_ASSEMBLY=OFF"
|
|
],
|
|
"cleanup": [
|
|
"/lib/libheif/bin",
|
|
"/lib/libheif/include"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libx265-10bpc",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz",
|
|
"sha256": "663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 7275,
|
|
"stable-only": true,
|
|
"url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"subdir": "source",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_PREFIX=/app/lib/libheif",
|
|
"-DHIGH_BIT_DEPTH=ON",
|
|
"-DEXPORT_C_API=OFF",
|
|
"-DENABLE_SHARED=OFF",
|
|
"-DENABLE_CLI=OFF",
|
|
"-DENABLE_ASSEMBLY=OFF"
|
|
],
|
|
"post-install": [
|
|
"mv ${FLATPAK_DEST}/lib/libheif/lib/libx265.a ${FLATPAK_DEST}/lib/libheif/lib/libx265-10.a"
|
|
]
|
|
},
|
|
{
|
|
"name": "libx265-12bpc",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz",
|
|
"sha256": "663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 7275,
|
|
"stable-only": true,
|
|
"url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"subdir": "source",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_PREFIX=/app/lib/libheif",
|
|
"-DHIGH_BIT_DEPTH=ON",
|
|
"-DEXPORT_C_API=OFF",
|
|
"-DENABLE_SHARED=OFF",
|
|
"-DENABLE_CLI=OFF",
|
|
"-DENABLE_ASSEMBLY=OFF",
|
|
"-DMAIN12=ON"
|
|
],
|
|
"post-install": [
|
|
"mv ${FLATPAK_DEST}/lib/libheif/lib/libx265.a ${FLATPAK_DEST}/lib/libheif/lib/libx265-12.a"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libilbm",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/svanderburg/libilbm.git",
|
|
"commit": "586f5822275ef5780509a851cb90c7407b2633d9"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"./bootstrap"
|
|
]
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"paths": [
|
|
"patches/libilbm-no-ilbmpack-ilbmpp-acbm2ilbm-ilbm2acbm.patch"
|
|
]
|
|
}
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libiff",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/svanderburg/libiff.git",
|
|
"commit": "b5f542a83c824f26e0816770c9a17c22bd388606"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"./bootstrap"
|
|
]
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"paths": [
|
|
"patches/libiff-no-iffjoin-and-iffp.patch"
|
|
]
|
|
}
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "xmu",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-1.2.1.tar.xz",
|
|
"sha256": "fcb27793248a39e5fcc5b9c4aec40cc0734b3ca76aac3d7d1c264e7f7e14e8b2",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 1785,
|
|
"stable-only": true,
|
|
"url-template": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.xz"
|
|
}
|
|
}
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "qoi",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/phoboslab/qoi.git",
|
|
"commit": "30d15d79b7726b977cd889151cc5cd6b17742f8f"
|
|
}
|
|
],
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"install -D qoi.h /app/include/qoi.h"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "cfitsio",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://src.fedoraproject.org/repo/pkgs/cfitsio/cfitsio-4.4.0.tar.gz/sha512/9358b1ed94fdc456cf8c0ddcb346c08f6bc97ee862c31366f3fae2d1be8d5278ffc79da01e41ceebf67ebc831f58bce3551e087c883bbf6b396133110d74b076/cfitsio-4.4.0.tar.gz",
|
|
"sha256": "95900cf95ae760839e7cb9678a7b2fad0858d6ac12234f934bd1cb6bfc246ba9"
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"--enable-reentrant"
|
|
],
|
|
"make-args": [
|
|
"shared"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "babl",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/babl.git",
|
|
"branch": "master"
|
|
}
|
|
],
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dwith-docs=false",
|
|
"-Dgi-docgen=disabled"
|
|
],
|
|
"cleanup": [
|
|
"/bin"
|
|
]
|
|
},
|
|
{
|
|
"name": "gegl",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/gegl.git",
|
|
"branch": "master"
|
|
}
|
|
],
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Ddocs=false",
|
|
"-Dgi-docgen=disabled",
|
|
"-Dworkshop=true"
|
|
],
|
|
"cleanup": [
|
|
"/share/gegl*"
|
|
],
|
|
"modules": [
|
|
{
|
|
"//": "Originally taken from org.octave.Octave manifest",
|
|
"name": "SuiteSparse",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v7.8.3.tar.gz",
|
|
"sha256": "ce39b28d4038a09c14f21e02c664401be73c0cb96a9198418d6a98a7db73a259",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 4908,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-DBLA_VENDOR=OpenBLAS",
|
|
"-DGRAPHBLAS_COMPACT=ON",
|
|
"-DSUITESPARSE_USE_OPENMP=OFF",
|
|
"-DSUITESPARSE_USE_PYTHON=OFF",
|
|
"-DSUITESPARSE_DEMOS=OFF",
|
|
"-DBUILD_TESTING=OFF",
|
|
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
|
|
"-DCMAKE_INSTALL_INCLUDEDIR=/app/include"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "openblas",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.28.tar.gz",
|
|
"sha256": "f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 2540,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"no-autogen": true,
|
|
"make-args": [
|
|
"DYNAMIC_ARCH=0",
|
|
"USE_OPENMP=0",
|
|
"NO_CBLAS=1",
|
|
"NO_LAPACKE=1"
|
|
],
|
|
"make-install-args": [
|
|
"PREFIX=/app"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "maxflow",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/gerddie/maxflow.git",
|
|
"commit": "6ac148f164b9567ac81fbb4ebb36112f850c902b"
|
|
}
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "graphviz",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://gitlab.com/graphviz/graphviz/-/archive/12.1.1/graphviz-12.1.2.tar.gz",
|
|
"sha256": "4190c51c434c13f718101fbba9e83702d668e20d4eb123c5f4fe059db10d6444",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 1249,
|
|
"stable-only": true,
|
|
"url-template": "https://gitlab.com/graphviz/graphviz/-/archive/$version/graphviz-$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"buildsystem": "autotools",
|
|
"config-opts": [
|
|
"--with-gdk=no",
|
|
"--with-gtk=no",
|
|
"--with-poppler=no",
|
|
"--with-rsvg=no",
|
|
"--with-webp=no",
|
|
"--with-x=no",
|
|
"--with-xlib=no"
|
|
],
|
|
"cleanup": [
|
|
"/bin/??",
|
|
"/bin/????*",
|
|
"/bin/fdp",
|
|
"/bin/nop",
|
|
"/include",
|
|
"/lib/libgvpr*",
|
|
"/lib/graphviz/libgvplugin_core*",
|
|
"/lib/graphviz/libgvplugin_kitty*",
|
|
"/lib/graphviz/libgvplugin_neato_layout*",
|
|
"/lib/graphviz/libgvplugin_vt*",
|
|
"/lib/pkgconfig",
|
|
"/share"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gimp",
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../../.."
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"xsltproc -o desktop/org.gimp.GIMP.appdata.xml.in.in build/linux/flatpak/remove-future-appdata-release.xslt desktop/org.gimp.GIMP.appdata.xml.in.in"
|
|
]
|
|
}
|
|
],
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dg-ir-doc=false",
|
|
"-Dgi-docgen=disabled",
|
|
"-Dicc-directory=/run/host/usr/share/color/icc/",
|
|
"-Dcheck-update=no",
|
|
"-Dbuild-id=org.gimp.GIMP.flatpak.nightly",
|
|
"-Denable-default-bin=enabled"
|
|
],
|
|
"cleanup": [
|
|
"/bin/gimp-console-*",
|
|
"/bin/gimptool-*"
|
|
]
|
|
}
|
|
]
|
|
}
|