Warning, /network/alligator/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
0002 #
0003 # SPDX-License-Identifier: CC0-1.0
0004 ---
0005 name: alligator
0006 confinement: strict
0007 grade: stable
0008 base: core22
0009 adopt-info: alligator
0010 icon: $CRAFT_PROJECT_DIR/logo.png
0011 apps:
0012     alligator:
0013         # extensions:
0014         # - kde-neon
0015         common-id: org.kde.alligator
0016         desktop: usr/share/applications/org.kde.alligator.desktop
0017         command: usr/bin/alligator
0018         plugs:
0019         - home
0020         - desktop
0021         - desktop-legacy
0022         - opengl
0023         - wayland
0024         - x11
0025         - unity7
0026         - network
0027         - network-bind
0028         - cups
0029         - network-manager-observe
0030         command-chain:
0031         - snap/command-chain/desktop-launch
0032 assumes:
0033 - snapd2.58.3
0034 compression: lzo
0035 plugs:
0036     desktop:
0037         mount-host-font-cache: false
0038     icon-themes:
0039         interface: content
0040         target: $SNAP/data-dir/icons
0041         default-provider: gtk-common-themes
0042     sound-themes:
0043         interface: content
0044         target: $SNAP/data-dir/sounds
0045         default-provider: gtk-common-themes
0046     kf5-5-111-qt-5-15-11-core22:
0047         content: kf5-5-111-qt-5-15-11-core22-all
0048         interface: content
0049         default-provider: kf5-5-111-qt-5-15-11-core22
0050         target: $SNAP/kf5
0051     foo-install-cups:
0052         interface: content
0053         content: foo
0054         default-provider: cups
0055         target: $SNAP_DATA/foo
0056 environment:
0057     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0058     QT_QUICK_CONTROLS_STYLE: org.kde.desktop
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 package-repositories:
0069 -   type: apt
0070     components:
0071     - main
0072     suites:
0073     - jammy
0074     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0075     url: https://origin.archive.neon.kde.org/user
0076     key-server: keyserver.ubuntu.com
0077 parts:
0078     kde-neon:
0079         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0080         source-type: local
0081         plugin: make
0082         make-parameters:
0083         - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
0084         build-snaps:
0085         - kf5-5-111-qt-5-15-11-core22-sdk
0086         build-environment:
0087         - &id001
0088             PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0089         - &id002
0090             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}
0091         - &id003
0092             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}
0093         - &id004
0094             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0095     alligator:
0096         after:
0097         - kde-neon
0098         parse-info:
0099         - usr/share/metainfo/org.kde.alligator.appdata.xml
0100         plugin: cmake
0101         build-packages:
0102         - libkf5doctools-dev
0103         - kirigami-addons-dev
0104         - libkf5syndication-dev
0105         stage-packages:
0106         - qml-module-org-kde-kirigami2
0107         - kirigami-addons-data
0108         - qml-module-org-kde-kirigami-addons-datetime
0109         - qml-module-org-kde-kirigami-addons-labs-components
0110         - qml-module-org-kde-kirigami-addons-labs-mobileform
0111         - qml-module-org-kde-kirigami-addons-sounds
0112         - qml-module-org-kde-kirigami-addons-treeview
0113         - qml-module-qt-labs-platform
0114         - qml-module-qtquick-controls2
0115         - qml-module-org-kde-qqc2desktopstyle
0116         - libkf5syndication5
0117         source: .
0118         source-type: local
0119         cmake-parameters:
0120         - "-DCMAKE_INSTALL_PREFIX=/usr"
0121         - "-DCMAKE_BUILD_TYPE=Release"
0122         - "-DENABLE_TESTING=OFF"
0123         - "-DBUILD_TESTING=OFF"
0124         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0125         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current"
0126         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0127         prime:
0128         - "-usr/lib/*/cmake/*"
0129         - "-usr/include/*"
0130         - "-usr/share/ECM/*"
0131         - "-usr/share/docs/*"
0132         - "-usr/share/man/*"
0133         - "-usr/share/icons/breeze-dark*"
0134         - "-usr/bin/X11"
0135         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0136         - "-usr/lib/aspell/*"
0137         - "-usr/share/lintian"
0138         - "-usr/bin/corelist"
0139         - "-usr/bin/cpan"
0140         - "-usr/bin/cpan5.34-*"
0141         - "-usr/bin/enc2xs"
0142         - "-usr/bin/cguess"
0143         - "-usr/bin/fc-*"
0144         - "-usr/bin/h2ph"
0145         - "-usr/bin/h2xs"
0146         - "-usr/bin/instmodsh"
0147         - "-usr/bin/json_pp"
0148         - "-usr/bin/libnetcfg"
0149         - "-usr/bin/perl*"
0150         - "-usr/bin/piconv"
0151         - "-usr/bin/pl2pm"
0152         - "-usr/bin/pod2*"
0153         - "-usr/bin/preparetips5"
0154         - "-usr/bin/prove"
0155         - "-usr/bin/ptar*"
0156         - "-usr/bin/session-migration"
0157         - "-usr/bin/shasum"
0158         - "-usr/bin/splain"
0159         - "-usr/bin/streamzip"
0160         - "-usr/bin/xsubpp"
0161         - "-usr/bin/zipdetails"
0162         build-environment: &id005
0163         - *id001
0164         - *id002
0165         - *id003
0166         - *id004
0167     cleanup:
0168         after:
0169         - kde-neon
0170         - alligator
0171         plugin: nil
0172         override-prime:  |
0173             set -eux
0174             # # Unused libraries found by linter
0175