-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.lwbt.CropGuiNeu.yml
70 lines (70 loc) · 2.17 KB
/
io.github.lwbt.CropGuiNeu.yml
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
---
# cspell:ignore wayland buildsystem
app-id: io.github.lwbt.CropGuiNeu
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: crop_gui_neu
finish-args:
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --filesystem=home
- --env=PATH=/app/bin:$PATH
cleanup:
# cspell:disable
- /bin/cjpeg
- /bin/djpeg
- /bin/rdjpgcom
- /bin/tjbench
- /bin/wrjpgcom
- /include
# - /lib/debug
- /lib/python*/site-packages/*/*/*/__pycache__
- /lib/python*/site-packages/*/*/__pycache__
- /lib/python*/site-packages/*/__pycache__
- /lib/python*/site-packages/__pycache__
- /lib/python*/site-packages/meson_python-*.dist-info
- /lib/python*/site-packages/mesonpy
- /lib/python*/site-packages/numpy/*/tests
- /lib/python*/site-packages/poetry
- /lib/python*/site-packages/poetry_core-*.dist-info
- /lib/python*/site-packages/scikit_build-*.dist-info
- /lib/python*/site-packages/skbuild
- /lib64/cmake
- /share/doc
- /share/man
# cspell:disable
modules:
# Choose to install dependencies with pip or poetry file.
# Pip
- python3-requirements.json
# Poetry
#- generated-poetry-sources.json
# Module for JPEG Tools
- name: jpeg-tools
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/libjpeg-turbo/libjpeg-turbo.git
tag: 3.0.4
commit: f29eda648547b36aa594c4116c7764a6c8a079b9
# Main application module
- name: crop-gui-neu
buildsystem: simple
build-commands:
- install -D $FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -D $FLATPAK_ID.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg
- install -D $FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
- pip3 install --prefix=/app --no-deps --no-build-isolation .
#- poetry install --prefix=/app --no-deps --no-build-isolation .
sources:
- type: file
path: io.github.lwbt.CropGuiNeu.metainfo.xml
- type: dir
path: .
- type: file
path: assets/io.github.lwbt.CropGuiNeu.desktop
- type: file
path: assets/io.github.lwbt.CropGuiNeu.svg