Warning, /office/calligraplan/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 
0002 # SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
0003 #
0004 # SPDX-License-Identifier: CC0-1.0
0005 ---
0006 name: calligraplan
0007 confinement: strict
0008 grade: stable
0009 base: core22
0010 adopt-info: calligraplan
0011 apps:
0012     calligraplan:
0013         # extensions:
0014         # - kde-neon
0015         common-id: org.kde.calligraplan.desktop
0016         desktop: usr/share/applications/org.kde.calligraplan.desktop
0017         command: usr/bin/calligraplan
0018         plugs:
0019         - home
0020         - desktop
0021         - desktop-legacy
0022         - opengl
0023         - wayland
0024         - x11
0025         - audio-playback
0026         - unity7
0027         - removable-media
0028         - network
0029         - network-bind
0030         - cups
0031         command-chain:
0032         - snap/command-chain/desktop-launch
0033 assumes:
0034 - snapd2.58.3
0035 compression: lzo
0036 plugs:
0037     desktop:
0038         mount-host-font-cache: false
0039     icon-themes:
0040         interface: content
0041         target: $SNAP/data-dir/icons
0042         default-provider: gtk-common-themes
0043     sound-themes:
0044         interface: content
0045         target: $SNAP/data-dir/sounds
0046         default-provider: gtk-common-themes
0047     kf5-5-110-qt-5-15-11-core22:
0048         content: kf5-5-110-qt-5-15-11-core22-all
0049         interface: content
0050         default-provider: kf5-5-110-qt-5-15-11-core22
0051         target: $SNAP/kf5
0052     foo-install-cups:
0053         interface: content
0054         content: foo
0055         default-provider: cups
0056         target: $SNAP_DATA/foo
0057 environment:
0058     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0059 hooks:
0060     configure:
0061         plugs:
0062         - desktop
0063         command-chain:
0064         - snap/command-chain/hooks-configure-desktop
0065 layout:
0066     /usr/share/X11:
0067         symlink: $SNAP/kf5/usr/share/X11
0068 slots:
0069     session-dbus-interface:
0070         interface: dbus
0071         name: org.kde.calligraplan
0072         bus: session
0073 package-repositories:
0074 -   type: apt
0075     components:
0076     - main
0077     suites:
0078     - jammy
0079     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0080     url: http://origin.archive.neon.kde.org/user
0081     key-server: keyserver.ubuntu.com
0082 parts:
0083     kde-neon:
0084         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0085         source-type: local
0086         plugin: make
0087         make-parameters:
0088         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0089         build-snaps:
0090         - kf5-5-110-qt-5-15-11-core22-sdk
0091         build-environment:
0092         - &id001
0093             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0094         - &id002
0095             XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
0096         - &id003
0097             XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
0098         - &id004
0099             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0100     calligraplan:
0101         after:
0102         - kde-neon
0103         parse-info:
0104         - usr/share/metainfo/org.kde.calligraplan.appdata.xml
0105         plugin: cmake
0106         build-packages:
0107         - libkchart-dev
0108         - libkf5holidays-dev
0109         - libkf5calendarcore-dev
0110         - libkf5activities-dev
0111         - libkf5akonadicontact-dev
0112         - libkf5contacts-dev
0113         - libkgantt-dev
0114         - libqca-qt5-2-dev
0115         stage-packages:
0116         - libc6
0117         - libgcc-s1
0118         - libkchart2
0119         - libkf5holidays5
0120         - libkgantt2
0121         - libqca-qt5-2
0122         - libstdc++6
0123         source: .
0124         source-type: local
0125         cmake-parameters:
0126         - "-DCMAKE_INSTALL_PREFIX=/usr"
0127         - "-DCMAKE_BUILD_TYPE=Release"
0128         - "-DENABLE_TESTING=OFF"
0129         - "-DBUILD_TESTING=OFF"
0130         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0131         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0132         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0133         prime:
0134         - "-usr/lib/*/cmake/*"
0135         - "-usr/include/*"
0136         - "-usr/share/ECM/*"
0137         - "-usr/share/doc/*"
0138         - "-usr/share/man/*"
0139         - "-usr/share/icons/breeze-dark*"
0140         - "-usr/bin/X11"
0141         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0142         - "-usr/lib/aspell/*"
0143         - "-usr/share/lintian"
0144         build-environment: &id005
0145         - *id001
0146         - *id002
0147         - *id003
0148         - *id004
0149     cleanup:
0150         after:
0151         - kde-neon
0152         - calligraplan
0153         plugin: nil
0154         override-prime:  |
0155             set -eux
0156             # # Unused libraries found by linter