1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-06-08 15:07:45 +00:00

Update Flatpak manifest, add required manifests for KF6

This commit is contained in:
Joshua Goins 2023-12-19 20:44:32 -05:00
parent 019ae08283
commit 81020b31a2
5 changed files with 699 additions and 13 deletions

615
flatpak/kf6.json Normal file
View file

@ -0,0 +1,615 @@
{
"name" : "kf6",
"cleanup": [
"/include",
"*.a",
"/share/wallpapers",
"/bin"
],
"modules" : [
{
"buildsystem" : "cmake-ninja",
"name" : "extra-cmake-modules",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/extra-cmake-modules.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kirigami",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kirigami.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "ki18n",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/ki18n.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcoreaddons",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcoreaddons.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "karchive",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/karchive.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcodecs",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcodecs.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcrash",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcrash.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "plasma-wayland-protocols",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/libraries/plasma-wayland-protocols.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kwindowsystem",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kwindowsystem.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kguiaddons",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kguiaddons.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kconfig",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kconfig.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kwidgetsaddons",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kwidgetsaddons.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcolorscheme",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcolorscheme.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kconfigwidgets",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kconfigwidgets.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kiconthemes",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kiconthemes.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "breeze-icons",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/breeze-icons.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kdecoration",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/plasma/kdecoration.git"
}
]
},
{
"build-commands" : [
"./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=headers",
"./b2 -j ${FLATPAK_BUILDER_N_JOBS} headers",
"./b2 -j ${FLATPAK_BUILDER_N_JOBS} install --layout=system"
],
"buildsystem" : "simple",
"name" : "boost",
"sources" : [
{
"sha256" : "0c6049764e80aa32754acd7d4f179fd5551d8172a83b71532ae093e7384e98da",
"type" : "archive",
"url" : "https://github.com/boostorg/boost/releases/download/boost-1.83.0/boost-1.83.0.tar.gz",
"x-checker-data" : {
"project-id" : 6845,
"stable-only" : true,
"type" : "anitya",
"url-template" : "https://github.com/boostorg/boost/releases/download/boost-$version/boost-$version.tar.gz"
}
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kactivities",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kactivities.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kservice",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kservice.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "solid",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/solid.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kdbusaddons",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kdbusaddons.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kbookmarks",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kbookmarks.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcompletion",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcompletion.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kitemviews",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kitemviews.git"
}
]
},
{
"name" : "canberra",
"sources" : [
{
"tag" : "master",
"type" : "git",
"url" : "git://git.0pointer.net/libcanberra.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "knotifications",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/knotifications.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kjobwidgets",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kjobwidgets.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kauth",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kauth.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kio",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kio.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kglobalaccel",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kglobalaccel.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kxmlgui",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kxmlgui.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kcmutils",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kcmutils.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "kitemmodels",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kitemmodels.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF",
"-DBUILD_QT6=ON",
"-DBUILD_QT5=OFF"
],
"name" : "breeze",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/plasma/breeze.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF"
],
"name" : "purpose",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/purpose.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF",
"-DBUILD_QT5=OFF"
],
"name" : "kstatusnotifieritem",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/kstatusnotifieritem.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF",
"-DBUILD_QT5=OFF"
],
"name" : "sonnet",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/sonnet.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF",
"-DBUILD_QT5=OFF"
],
"name" : "qqc2-desktop-style",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/frameworks/qqc2-desktop-style.git"
}
]
},
{
"builddir" : true,
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DBUILD_TESTING=OFF",
"-DBUILD_QT5=OFF"
],
"name" : "plasma-integration",
"sources" : [
{
"branch" : "master",
"type" : "git",
"url" : "https://invent.kde.org/plasma/plasma-integration.git"
}
]
}
]
}

3
flatpak/kf6.json.license Normal file
View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Jonah Brüchert <jbb@kaidan.im>
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,12 @@
{
"name": "kirigami-addons",
"config-opts": [
"-DBUILD_TESTING=OFF",
"-DCMAKE_BUILD_TYPE=Release",
"-DQT_MAJOR_VERSION=6"
],
"buildsystem": "cmake-ninja",
"sources": [
{ "type": "git", "url": "https://invent.kde.org/libraries/kirigami-addons.git", "branch": "master" }
]
}

View file

@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2022 Jonah Brüchert <jbb@kaidan.im>
SPDX-License-Identifier: CC0-1.0

View file

@ -1,6 +1,6 @@
app-id: zone.xiv.astra app-id: zone.xiv.astra
runtime: org.kde.Platform runtime: org.kde.Platform
runtime-version: '5.15-22.08' runtime-version: '6.6'
sdk: org.kde.Sdk sdk: org.kde.Sdk
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable - org.freedesktop.Sdk.Extension.rust-stable
@ -18,16 +18,37 @@ finish-args:
- --share=network - --share=network
- --socket=pulseaudio - --socket=pulseaudio
modules: modules:
- flatpak/kf6.json
- flatpak/kirigami-addons.json
- name: unshield - name: unshield
buildsystem: cmake-ninja buildsystem: cmake-ninja
sources: sources:
- type: git - type: git
url: https://github.com/twogood/unshield.git url: https://github.com/twogood/unshield.git
branch: main branch: main
- name: unshield
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 - name: qtkeychain
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- -DLIBSECRET_SUPPORT=OFF - -DBUILD_WITH_QT6=ON
- -DCMAKE_INSTALL_LIBDIR=/app/lib
- -DLIB_INSTALL_DIR=/app/lib
- -DBUILD_TRANSLATIONS=NO
sources: sources:
- type: git - type: git
url: https://github.com/frankosterfeld/qtkeychain.git url: https://github.com/frankosterfeld/qtkeychain.git
@ -37,20 +58,51 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/stachenov/quazip.git url: https://github.com/stachenov/quazip.git
- name: kirigami-addons #- name: icon
config-opts: # buildsystem: simple
- -DBUILD_TESTING=OFF # build-commands:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo # - mkdir -p /app/share/icons/hicolor/32x32/apps/
# - install -D /usr/share/icons/breeze/mimetypes/64/none.svg /app/share/icons/hicolor/32x32/apps/zone.xiv.astra.svg
- name: qcoro
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-optios:
- -DQCORO_BUILD_EXAMPLES=OFF
- -DBUILD_TESTING=OFF
sources: sources:
- type: archive - type: archive
url: https://download.kde.org/stable/kirigami-addons/kirigami-addons-0.10.0.tar.xz url: https://github.com/danvratil/qcoro/archive/refs/tags/v0.7.0.tar.gz
sha256: 9897e70bf167f579cec06d09d49a9a27aba184cbd1b2fce2c3ae757a87b01216 sha256: 23ef0217926e67c8d2eb861cf91617da2f7d8d5a9ae6c62321b21448b1669210
- name: icon x-checker-data:
buildsystem: simple - type: anitya
build-commands: project-id: 236236
- mkdir -p /app/share/icons/hicolor/32x32/apps/ stable-only: true
- install -D /usr/share/icons/breeze/mimetypes/64/none.svg /app/share/icons/hicolor/32x32/apps/zone.xiv.astra.svg url-template: https://github.com/danvratil/qcoro/archive/refs/tags/v$version.tar.gz
- name: qt6-qtwebview
buildsystem: cmake-ninja
cleanup-platform:
- /bin
sources:
- type: archive
url: https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qtwebview-everywhere-src-6.6.1.tar.xz
sha256: d6de1ba33be93ae464147c9c069e115c7a24e3e475640016bc2f07c93c4a256c
x-checker-data:
- type: anitya
project-id: 7927
stable-only: true
url-template: https://download.qt.io/official_releases/qt/6.6/$version/submodules/qtwebview-everywhere-src-$version.tar.xz
- name: corrosion
buildsystem: cmake-ninja
config-opts:
- DCORROSION_BUILD_TESTS=OFF
build-options:
- env:
- CARGO_HOME: /run/build/corrosion/cargo
cleanup:
- /app
sources:
- type: "git"
url: https://github.com/AndrewGaspar/corrosion
commit: v0.4.5
- name: astra - name: astra
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts: