This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
barkshark-web/appimage.yaml
2022-10-05 13:30:39 -04:00

121 lines
3.5 KiB
YAML

version: 1
script:
- rm -rf ${APPDIR} | true
- mkdir -p ${APPDIR}/usr/src
- mkdir -p ${APPDIR}/usr/share/icons/hicolor/128x128/apps
- cp -R barkshark_web ${APPDIR}/usr/src/
- cp appimage-requirements.txt ${APPDIR}/usr/src/requirements.txt
- cp appimage-main.py ${APPDIR}/usr/src/main.py
- cp barkshark_web/resources/icon-128.png ${APPDIR}/usr/share/icons/hicolor/128x128/apps/barkshark-web.png
AppDir:
path: ./AppDir
app_info:
id: xyz.barkshark.Web
name: barkshark-web
icon: barkshark-web
version: 0.4.0
exec: usr/bin/python3
exec_args: "${APPDIR}/usr/src/main.py $@"
after_bundle:
- ${APPDIR}/usr/bin/python3 -m pip install --ignore-installed --prefix=/usr --root=${APPDIR} -r appimage-requirements.txt
apt:
arch: amd64
allow_unauthenticated: true
sources:
- sourceline: 'deb [arch=amd64] https://deb.debian.org/debian bookworm main'
#key_url: 'https://deb.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1.dsc'
- sourceline: 'deb [arch=amd64] https://deb.debian.org/debian bookworm-updates main'
#key_url: 'https://deb.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1.dsc'
- sourceline: 'deb [arch=amd64] https://security.debian.org/debian-security bookworm-security main'
#key_url: 'https://security.debian.org/debian-security/pool/main/d/debian-archive-keyring/debian-archive-keyring_2017.5+deb9u2.dsc'
include:
- appmenu-gtk3-module
- gir1.2-glib-2.0
- gir1.2-gst-plugins-bad-1.0
- gir1.2-gst-plugins-base-1.0
- gir1.2-gtk-3.0
- gir1.2-webkit2-4.0
- gir1.2-notify-0.7
- git
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- libcairo-gobject2
- librsvg2-common
- openssl
- python3
- python3-bs4
- python3-click
- python3-dasbus
- python3-dnspython
- python3-gi
- python3-gi-cairo
- python3-lxml
- python3-mastodon
- python3-pip
- python3-pkg-resources
- python3-psutil
- python3-secretstorage
- python3-wheel
- xapp
exclude:
- emacsen-common
- fdisk
- libapparmor1
- libasound2
- libasound2-data
- libmount
- libsystemd0
- libudev1
- mount
- systemd
- systemd-sysv
files:
exclude:
- usr/share/man
- usr/share/doc
#- usr/share/doc/*/README.*
#- usr/share/doc/*/changelog.*
#- usr/share/doc/*/NEWS.*
#- usr/share/doc/*/TODO.*
runtime:
env:
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.10/site-packages'
test:
fedora:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
use_host_x: true
debian:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
use_host_x: true
arch:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
use_host_x: true
centos:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
use_host_x: true
ubuntu:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
use_host_x: true
AppImage:
update-information: 'zsync|https://static.barkshark.xyz/appimage-updates/{{APP_NAME}}-{{APP_VERSION}}-{{ARCH}}.AppImage.zsync'
sign-key: A12ACFEC461B90EAA89A43FD7519E7A4AD70227D
arch: x86_64