Warning, /office/calligra/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: calligra 0007 confinement: strict 0008 grade: stable 0009 base: core22 0010 adopt-info: calligra 0011 apps: 0012 calligra: 0013 # extensions: 0014 # - kde-neon 0015 command: usr/bin/calligra 0016 plugs: 0017 - home 0018 - desktop 0019 - desktop-legacy 0020 - opengl 0021 - wayland 0022 - x11 0023 - audio-playback 0024 - unity7 0025 - network 0026 - network-bind 0027 - removable-media 0028 calligrawords: 0029 # extensions: 0030 # - kde-neon 0031 common-id: org.kde.calligrawords.desktop 0032 desktop: usr/share/applications/org.kde.calligrawords.desktop 0033 command: usr/bin/calligrawords 0034 plugs: 0035 - home 0036 - desktop 0037 - desktop-legacy 0038 - opengl 0039 - wayland 0040 - x11 0041 - audio-playback 0042 - unity7 0043 - network 0044 - network-bind 0045 - removable-media 0046 - cups 0047 calligrastage: 0048 # extensions: 0049 # - kde-neon 0050 common-id: org.kde.calligrastage.desktop 0051 desktop: usr/share/applications/org.kde.calligrastage.desktop 0052 command: usr/bin/calligrastage 0053 plugs: 0054 - home 0055 - desktop 0056 - desktop-legacy 0057 - opengl 0058 - wayland 0059 - x11 0060 - audio-playback 0061 - unity7 0062 - network 0063 - network-bind 0064 - removable-media 0065 - cups 0066 calligrasheets: 0067 # extensions: 0068 # - kde-neon 0069 common-id: org.kde.calligrasheets.desktop 0070 desktop: usr/share/applications/org.kde.calligrasheets.desktop 0071 command: usr/bin/calligrasheets 0072 plugs: 0073 - home 0074 - desktop 0075 - desktop-legacy 0076 - opengl 0077 - wayland 0078 - x11 0079 - audio-playback 0080 - unity7 0081 - network 0082 - network-bind 0083 - removable-media 0084 - cups 0085 karbon: 0086 # extensions: 0087 # - kde-neon 0088 common-id: org.kde.karbon.desktop 0089 desktop: usr/share/applications/org.kde.karbon.desktop 0090 command: usr/bin/karbon 0091 plugs: 0092 - home 0093 - desktop 0094 - desktop-legacy 0095 - opengl 0096 - wayland 0097 - x11 0098 - audio-playback 0099 - unity7 0100 - network 0101 - network-bind 0102 - cups 0103 command-chain: 0104 - snap/command-chain/desktop-launch 0105 calligragemini: 0106 # extensions: 0107 # - kde-neon 0108 common-id: org.kde.calligragemini.desktop 0109 desktop: usr/share/applications/org.kde.calligragemini.desktop 0110 command: usr/bin/calligragemini 0111 plugs: 0112 - home 0113 - desktop 0114 - desktop-legacy 0115 - opengl 0116 - wayland 0117 - x11 0118 - audio-playback 0119 - unity7 0120 - network 0121 - network-bind 0122 - cups 0123 command-chain: 0124 - snap/command-chain/desktop-launch 0125 assumes: 0126 - snapd2.58.3 0127 compression: lzo 0128 plugs: 0129 desktop: 0130 mount-host-font-cache: false 0131 icon-themes: 0132 interface: content 0133 target: $SNAP/data-dir/icons 0134 default-provider: gtk-common-themes 0135 sound-themes: 0136 interface: content 0137 target: $SNAP/data-dir/sounds 0138 default-provider: gtk-common-themes 0139 kf5-5-111-qt-5-15-11-core22: 0140 content: kf5-5-111-qt-5-15-11-core22-all 0141 interface: content 0142 default-provider: kf5-5-111-qt-5-15-11-core22 0143 target: $SNAP/kf5 0144 foo-install-cups: 0145 interface: content 0146 content: foo 0147 default-provider: cups 0148 target: $SNAP_DATA/foo 0149 environment: 0150 SNAP_DESKTOP_RUNTIME: $SNAP/kf5 0151 GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0" 0152 GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0" 0153 GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" 0154 hooks: 0155 configure: 0156 plugs: 0157 - desktop 0158 command-chain: 0159 - snap/command-chain/hooks-configure-desktop 0160 layout: 0161 "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib": 0162 symlink: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib" 0163 "/usr/share/alsa": 0164 symlink: "$SNAP/usr/share/alsa" 0165 /usr/share/X11: 0166 symlink: $SNAP/kf5/usr/share/X11 0167 slots: 0168 session-dbus-interface: 0169 interface: dbus 0170 name: org.kde.calligra 0171 bus: session 0172 package-repositories: 0173 - type: apt 0174 components: 0175 - main 0176 suites: 0177 - jammy 0178 key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D 0179 url: http://origin.archive.neon.kde.org/user 0180 key-server: keyserver.ubuntu.com 0181 parts: 0182 kde-neon: 0183 source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon 0184 source-type: local 0185 plugin: make 0186 make-parameters: 0187 - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22 0188 build-snaps: 0189 - kf5-5-111-qt-5-15-11-core22-sdk 0190 build-environment: 0191 - &id001 0192 PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH} 0193 - &id002 0194 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} 0195 - &id003 0196 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} 0197 - &id004 0198 CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS} 0199 patches: 0200 plugin: dump 0201 source: . 0202 source-type: local 0203 prime: 0204 - "snap/local/patches" 0205 calligra: 0206 after: 0207 - patches 0208 - kde-neon 0209 plugin: cmake 0210 build-packages: 0211 - cauchy-dev 0212 - cmake 0213 - kross-dev 0214 - libboost-dev 0215 - libboost-system-dev 0216 - libeigen3-dev 0217 - libetonyek-dev 0218 - libfontconfig1-dev 0219 - libfreetype6-dev 0220 - libgit2-dev 0221 - libgsl-dev 0222 - libicu-dev 0223 - libjpeg-dev 0224 - libkchart-dev 0225 - libkf5akonadi-dev 0226 - libkf5akonadicontact-dev 0227 - libkf5calendarcore-dev 0228 - libkf5contacts-dev 0229 - libkf5doctools-dev 0230 - libkf5holidays-dev 0231 - libkgantt-dev 0232 - libkproperty3-dev 0233 - libkreport3-dev 0234 - liblcms2-dev 0235 - libmarble-dev 0236 - libodfgen-dev 0237 - libopenexr-dev 0238 - libopenjp2-7-dev 0239 - libphonon4qt5-dev 0240 - libphonon4qt5experimental-dev 0241 - libpoppler-qt5-dev 0242 - libpoppler-dev 0243 - libpoppler-cpp-dev 0244 - libpoppler-glib-dev 0245 - libpoppler-private-dev 0246 - libpoppler-cil-dev 0247 - libpopplerkit-dev 0248 - libpng-dev 0249 - libqca-qt5-2-dev 0250 - qtdeclarative5-dev 0251 - qtquickcontrols2-5-dev 0252 - libspnav-dev 0253 - libvisio-dev 0254 - libwpd-dev 0255 - libwpg-dev 0256 - libwps-dev 0257 - libxbase64-dev 0258 - libxml2-dev 0259 - okular-dev 0260 - pkg-config 0261 - pstoedit 0262 - shared-mime-info 0263 - vc-dev 0264 - zlib1g-dev 0265 stage-packages: 0266 - libgsl27 0267 - zlib1g 0268 - libfontconfig1 0269 - libfreetype6 0270 - libimath-3-1-29 0271 - libkchart2 0272 - libkf5krosscore5 0273 - libkf5krossui5 0274 - liblcms2-2 0275 - libm2mml0.0v5 0276 - libqca-qt5-2 0277 - libspnav0 0278 - libphonon4qt5-4 0279 - libetonyek-0.1-1 0280 - libodfgen-0.1-1 0281 - librevenge-0.0-0 0282 - libwpd-0.10-10 0283 - libwpg-0.3-3 0284 - libpoppler132 0285 - libpoppler-qt5-1 0286 - libvisio-0.1-1 0287 - libwps-0.4-4 0288 - okular-backends 0289 parse-info: 0290 - usr/share/metainfo/org.kde.calligrawords.appdata.xml 0291 - usr/share/metainfo/org.kde.calligrasheets.appdata.xml 0292 - usr/share/metainfo/org.kde.calligrastage.appdata.xml 0293 - usr/share/metainfo/org.kde.karbon.appdata.xml 0294 - usr/share/metainfo/org.kde.calligragemini.appdata.xml 0295 source: . 0296 source-type: local 0297 # override-pull: | 0298 # craftctl default 0299 # patch -p1 < ../../patches/src/snap/local/patches/text.diff 0300 build-environment: 0301 - *id001 0302 - *id002 0303 - *id003 0304 - *id004 0305 - CXXFLAGS: -std=c++17 0306 cmake-parameters: 0307 - "-DCMAKE_INSTALL_PREFIX=/usr" 0308 - "-DCMAKE_BUILD_TYPE=Release" 0309 - "-DENABLE_TESTING=OFF" 0310 - "-DBUILD_TESTING=OFF" 0311 - "-DKDE_SKIP_TEST_SETTINGS=ON" 0312 - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current" 0313 prime: 0314 - "-usr/lib/*/cmake/*" 0315 - "-usr/include/*" 0316 - "-usr/share/ECM/*" 0317 - "-usr/share/doc/*" 0318 - "-usr/share/man/*" 0319 - "-usr/share/icons/breeze-dark*" 0320 - "-usr/bin/X11" 0321 - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0" 0322 - "-usr/lib/aspell/*" 0323 - "-etc/alsa/conf.d/99-pulse.conf" 0324 cleanup: 0325 after: 0326 - calligra 0327 plugin: nil 0328 override-prime: | 0329 set -eux 0330 # unused libs found in linters