mirror of
https://github.com/KDE/kasts.git
synced 2024-12-26 08:25:16 +01:00
441ef6d265
This also changes the url-template to match the tarball URL for 0.14.1 which has changed compared to previous versions.
169 lines
5.7 KiB
JSON
169 lines
5.7 KiB
JSON
{
|
|
"id": "org.kde.kasts",
|
|
"branch": "master",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.15-22.08",
|
|
"sdk": "org.kde.Sdk",
|
|
"command": "kasts",
|
|
"tags": ["nightly"],
|
|
"desktop-file-name-suffix": " (Nightly)",
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--socket=pulseaudio",
|
|
"--own-name=org.mpris.MediaPlayer2.kasts",
|
|
"--talk-name=org.freedesktop.secrets",
|
|
"--talk-name=org.kde.StatusNotifierWatcher"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/lib/cmake",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"cleanup-commands": [
|
|
"rm -f /app/lib/vlc/plugins/plugins.dat",
|
|
"/app/lib/vlc/vlc-cache-gen /app/lib/vlc/plugins"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libvlc",
|
|
"config-opts": [
|
|
"BUILDCC=gcc",
|
|
"--disable-lua",
|
|
"--disable-a52",
|
|
"--disable-qt",
|
|
"--disable-ncurses",
|
|
"--disable-udev"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://get.videolan.org/vlc/3.0.18/vlc-3.0.18.tar.xz",
|
|
"sha256": "57094439c365d8aa8b9b41fa3080cc0eef2befe6025bb5cef722accc625aedec",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 6504,
|
|
"stable-only": true,
|
|
"url-template": "https://get.videolan.org/vlc/$version/vlc-$version.tar.xz"
|
|
}
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "src/kmediasession/.patches/vlc-ignore-time-for-cache.patch"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "taglib",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://taglib.github.io/releases/taglib-1.13.tar.gz",
|
|
"sha256": "58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 1982,
|
|
"stable-only": true,
|
|
"url-template": "https://taglib.github.io/releases/taglib-$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
]
|
|
},
|
|
{
|
|
"name": "libsecret",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dmanpage=false",
|
|
"-Dvapi=false",
|
|
"-Dgtk_doc=false",
|
|
"-Dintrospection=false",
|
|
"-Dgcrypt=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz",
|
|
"sha256": "3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d",
|
|
"x-checker-data": {
|
|
"type": "gnome",
|
|
"name": "libsecret",
|
|
"stable-only": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "qtkeychain",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/frankosterfeld/qtkeychain/archive/0.14.1.tar.gz",
|
|
"sha256": "afb2d120722141aca85f8144c4ef017bd74977ed45b80e5d9e9614015dadd60c",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 4138,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/frankosterfeld/qtkeychain/archive/$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
|
|
"-DLIB_INSTALL_DIR=/app/lib",
|
|
"-DBUILD_TRANSLATIONS=NO"
|
|
]
|
|
},
|
|
{
|
|
"name": "kirigami-addons",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.kde.org/stable/kirigami-addons/kirigami-addons-0.8.0.tar.xz",
|
|
"sha256": "3741a940fa688f53c7d9bdf607b1c6991f6d690e9ce826e8c76794336c594bcf",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 242933,
|
|
"stable-only": true,
|
|
"url-template": "https://download.kde.org/stable/kirigami-addons/kirigami-addons-$version.tar.xz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DBUILD_TESTING=OFF"
|
|
]
|
|
},
|
|
{
|
|
"name": "kasts",
|
|
"buildsystem": "cmake-ninja",
|
|
"post-install": [
|
|
"mv /app/bin/{kasts,kasts-bin}",
|
|
"install .patches/run_kasts.sh /app/bin/kasts"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "."
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": ".patches/run_kasts.sh"
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DKASTS_FLATPAK=ON"
|
|
]
|
|
}
|
|
]
|
|
}
|