2023-11-09 12:29:29 +01:00
|
|
|
# SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
2023-10-13 12:55:18 +02:00
|
|
|
---
|
|
|
|
name: falkon
|
|
|
|
confinement: strict
|
|
|
|
grade: stable
|
|
|
|
base: core22
|
|
|
|
adopt-info: falkon
|
|
|
|
apps:
|
|
|
|
falkon:
|
|
|
|
# extensions:
|
|
|
|
# - kde-neon
|
|
|
|
common-id: org.kde.falkon.desktop
|
|
|
|
desktop: usr/share/applications/org.kde.falkon.desktop
|
|
|
|
command: usr/bin/falkon
|
|
|
|
plugs:
|
|
|
|
- desktop
|
|
|
|
- desktop-legacy
|
|
|
|
- opengl
|
|
|
|
- wayland
|
|
|
|
- x11
|
|
|
|
- home
|
|
|
|
- network
|
|
|
|
- network-bind
|
|
|
|
- audio-playback
|
|
|
|
- browser-support
|
|
|
|
- removable-media
|
|
|
|
- camera
|
|
|
|
- audio-record
|
|
|
|
- cups
|
|
|
|
command-chain:
|
|
|
|
- snap/command-chain/desktop-launch
|
|
|
|
assumes:
|
|
|
|
- snapd2.55.3
|
|
|
|
compression: lzo
|
|
|
|
plugs:
|
|
|
|
desktop:
|
|
|
|
mount-host-font-cache: false
|
|
|
|
icon-themes:
|
|
|
|
interface: content
|
|
|
|
target: $SNAP/data-dir/icons
|
|
|
|
default-provider: gtk-common-themes
|
|
|
|
sound-themes:
|
|
|
|
interface: content
|
|
|
|
target: $SNAP/data-dir/sounds
|
|
|
|
default-provider: gtk-common-themes
|
2023-11-05 12:37:16 +01:00
|
|
|
kf5-5-111-qt-5-15-11-core22:
|
|
|
|
content: kf5-5-111-qt-5-15-11-core22-all
|
2023-10-13 12:55:18 +02:00
|
|
|
interface: content
|
2023-11-05 12:37:16 +01:00
|
|
|
default-provider: kf5-5-111-qt-5-15-11-core22
|
2023-10-13 12:55:18 +02:00
|
|
|
target: $SNAP/kf5
|
|
|
|
foo-install-cups:
|
|
|
|
interface: content
|
|
|
|
content: foo
|
|
|
|
default-provider: cups
|
|
|
|
target: $SNAP_DATA/cups
|
|
|
|
hooks:
|
|
|
|
configure:
|
|
|
|
plugs:
|
|
|
|
- desktop
|
|
|
|
command-chain:
|
|
|
|
- snap/command-chain/hooks-configure-desktop
|
|
|
|
layout:
|
|
|
|
/usr/share/qt5:
|
|
|
|
symlink: $SNAP/kf5/usr/share/qt5
|
|
|
|
/usr/share/X11:
|
|
|
|
symlink: $SNAP/kf5/usr/share/X11
|
|
|
|
environment:
|
|
|
|
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/kf5"
|
|
|
|
SNAP_DESKTOP_RUNTIME: $SNAP/kf5
|
2023-11-05 12:37:16 +01:00
|
|
|
QTWEBENGINEPROCESS_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/libexec/QtWebEngineProcess"
|
2023-10-13 12:55:18 +02:00
|
|
|
slots:
|
|
|
|
session-dbus-interface:
|
|
|
|
interface: dbus
|
|
|
|
name: org.kde.Falkon
|
|
|
|
bus: session
|
|
|
|
package-repositories:
|
|
|
|
- type: apt
|
|
|
|
components:
|
|
|
|
- main
|
|
|
|
suites:
|
|
|
|
- jammy
|
|
|
|
key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
|
|
|
|
url: http://origin.archive.neon.kde.org/user
|
|
|
|
key-server: keyserver.ubuntu.com
|
|
|
|
parts:
|
|
|
|
kde-neon:
|
|
|
|
source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
|
|
|
|
source-type: local
|
|
|
|
plugin: make
|
|
|
|
make-parameters:
|
2023-11-05 12:37:16 +01:00
|
|
|
- PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
|
2023-10-13 12:55:18 +02:00
|
|
|
build-snaps:
|
2023-11-05 12:37:16 +01:00
|
|
|
- kf5-5-111-qt-5-15-11-core22-sdk
|
2023-10-13 12:55:18 +02:00
|
|
|
build-environment:
|
|
|
|
- &id001
|
2023-11-05 12:37:16 +01:00
|
|
|
PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
|
2023-10-13 12:55:18 +02:00
|
|
|
- &id002
|
2023-11-05 12:37:16 +01:00
|
|
|
XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
|
2023-10-13 12:55:18 +02:00
|
|
|
- &id003
|
2023-11-05 12:37:16 +01:00
|
|
|
XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
|
2023-10-13 12:55:18 +02:00
|
|
|
- &id004
|
2023-11-05 12:37:16 +01:00
|
|
|
CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
|
2023-10-13 12:55:18 +02:00
|
|
|
falkon:
|
|
|
|
after:
|
|
|
|
- kde-neon
|
|
|
|
parse-info:
|
|
|
|
- usr/share/metainfo/org.kde.falkon.appdata.xml
|
|
|
|
source: .
|
|
|
|
source-type: local
|
|
|
|
plugin: cmake
|
|
|
|
build-packages:
|
|
|
|
- libkf5doctools-dev
|
|
|
|
- libxcb-util-dev
|
|
|
|
- libxcb1-dev
|
|
|
|
- libssl-dev
|
|
|
|
- python3
|
|
|
|
- libpyside2-dev
|
|
|
|
stage-packages:
|
|
|
|
- cups-client
|
2023-11-09 12:29:29 +01:00
|
|
|
stage-snaps:
|
|
|
|
- khelpcenter
|
2023-10-13 12:55:18 +02:00
|
|
|
cmake-parameters:
|
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DENABLE_TESTING=OFF
|
|
|
|
- -DBUILD_TESTING=OFF
|
|
|
|
- -DKDE_SKIP_TEST_SETTINGS=ON
|
2023-11-05 12:37:16 +01:00
|
|
|
- -DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current
|
2023-10-13 12:55:18 +02:00
|
|
|
build-environment: &id005
|
|
|
|
- *id001
|
|
|
|
- *id002
|
|
|
|
- *id003
|
|
|
|
- *id004
|
|
|
|
prime:
|
|
|
|
- "-usr/lib/*/cmake/*"
|
|
|
|
- "-usr/include/*"
|
|
|
|
- "-usr/share/ECM/*"
|
|
|
|
- "-usr/share/man/*"
|
|
|
|
- "-usr/share/icons/breeze-dark*"
|
|
|
|
- "-usr/bin/X11"
|
|
|
|
- "-usr/lib/gcc/$SNAPCRAFT_ARCH_TRIPLET/6.0.0"
|
|
|
|
- "-usr/lib/aspell/*"
|
|
|
|
cleanup:
|
|
|
|
after:
|
|
|
|
- falkon
|
|
|
|
plugin: nil
|
|
|
|
override-prime: |
|
|
|
|
set -eux
|
|
|
|
#unused libs found in linter
|