847 lines
33 KiB
JSON
847 lines
33 KiB
JSON
|
{
|
||
|
"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"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|