File: appimage-amd64.yaml

package info (click to toggle)
haruna 0.6.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 3,104 kB
  • sloc: cpp: 2,939; xml: 188; makefile: 5
file content (144 lines) | stat: -rw-r--r-- 4,000 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#
# SPDX-FileCopyrightText: 2021 Alexis Lopez Zubieta <contact@azubieta.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# appimage-builder recipe file https://appimage-builder.readthedocs.io/en/latest/

version: 1
script:
  - apt-get update && apt-get install -y python3.8

AppDir:
  path: ./AppDir

  app_info:
    id: org.kde.haruna
    name: Haruna
    icon: org.kde.haruna
    version: !ENV ${HARUNA_VERSION}
    exec: usr/bin/haruna

  apt:
    arch: amd64
    sources:
      - sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse'
        key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
      - sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse'
      - sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse'
      - sourceline: 'deb http://archive.neon.kde.org/user focal main'
        key_url: 'https://archive.neon.kde.org/public.key'
        

    include:
      - coreutils
      - qml-module-org-kde-kirigami2
      - qml-module-qtquick-layouts
      - qml-module-qt-labs-platform
      - qml-module-qtquick-shapes
      - libkf5configcore5
      - libkf5configgui5
      - libkf5configwidgets5
      - libkf5coreaddons5
      - libkf5filemetadata3
      - libkf5i18n5
      - libkf5kiocore5
      - libkf5filemetadata-bin
      - libkf5kiowidgets5
      - libkf5xmlgui5
      - libmpv1
      - libqt5core5a
      - libqt5dbus5
      - libqt5gui5
      - libqt5qml5
      - libqt5quick5
      - libqt5quickcontrols2-5
      - libqt5widgets5
      - libkf5i18n5
      - python3
      - breeze
      - breeze-icon-theme 
      - qml-module-org-kde-qqc2desktopstyle
 
    exclude:
      - libkf5service-bin
      - perl
      - perl-base
      - perl-modules
      - libpam-runtime
      - dpkg
      - gpgv
      - gpg
      - gnupg
      - sound-theme-freedesktop
      - systemd
      - systemd-timesyncd
      - gpg-wks-server
      - sensible-utils
      - mime-support
      - libpam-modules

  files:
    exclude:
      - usr/lib/x86_64-linux-gnu/gconv
      - usr/share/man
      - usr/share/doc/*/README.*
      - usr/share/doc/*/changelog.*
      - usr/share/doc/*/NEWS.*
      - usr/share/doc/*/TODO.*
  after_bundle:
    # workaround libcrypt.so.2 binary still name as libcrypt.so.1 in debian systems
    - ln -fs /usr/lib/libcrypt.so.2 $APPDIR/usr/lib/libcrypt.so.1
    # deploy the latest youtube-dl
    - python3.8 -m pip install --ignore-installed --prefix=/usr --root=$APPDIR install youtube-dl certifi

  runtime:
    env:
      # Set python home
      # See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
      PYTHONHOME: '${APPDIR}/usr'
      # Path to the site-packages dir or other modules dirs
      # See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
      PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'
      # SSL Certificates are placed in a different location for every system therefore we ship our own copy
      SSL_CERT_FILE: '${APPDIR}/usr/lib/python3.8/site-packages/certifi/cacert.pem'

  test:
    debian:
      image: appimagecrafters/tests-env:debian-stable
      command: "./AppRun"
      use_host_x: True
      env:
        QT_DEBUG_PLUGINS: 1
    centos:
      image: appimagecrafters/tests-env:centos-7
      command: "./AppRun"
      use_host_x: True
      env:
        QT_DEBUG_PLUGINS: 1
    arch:
      image: appimagecrafters/tests-env:archlinux-latest
      command: "./AppRun"
      use_host_x: True
      env:
        QT_DEBUG_PLUGINS: 1
    fedora:
      image: appimagecrafters/tests-env:fedora-30
      command: "./AppRun"
      use_host_x: True
      env:
        QT_DEBUG_PLUGINS: 1
    ubuntu:
      image: appimagecrafters/tests-env:ubuntu-xenial
      command: "./AppRun"
      use_host_x: True


AppImage:
  update-information: None
  sign-key: None
  arch: x86_64