-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathnet.puddletag.puddletag.yaml
93 lines (93 loc) · 3.6 KB
/
net.puddletag.puddletag.yaml
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
app-id: net.puddletag.puddletag
runtime: org.kde.Platform
runtime-version: 5.15-21.08
sdk: org.kde.Sdk
base: com.riverbankcomputing.PyQt.BaseApp
base-version: 5.15-21.08
command: puddletag
rename-desktop-file: puddletag.desktop
rename-icon: puddletag
finish-args:
- --device=dri
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --share=ipc
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
build-options:
env:
- BASEAPP_REMOVE_WEBENGINE=1
cleanup-commands:
- /app/cleanup-BaseApp.sh
modules:
- name: puddletag
buildsystem: simple
build-commands:
- python setup.py build
- python setup.py install --skip-build --prefix=/app --root=/ --optimize=1
- install -Dm644 /app/share/{pixmaps,icons/hicolor/256x256/apps}/puddletag.png
- rm -r /app/share/pixmaps
sources:
- type: archive
url: https://github.com/puddletag/puddletag/archive/2.1.1/puddletag-2.1.1.tar.gz
sha256: 4ce85a78c49c8cf6b15f2c52c93374ae875b9aa83b529ede68547b68e9b85066
x-checker-data:
type: anitya
project-id: 3727
stable-only: true
url-template: https://github.com/puddletag/puddletag/archive/$version/puddletag-$version.tar.gz
modules:
- name: chromaprint
buildsystem: cmake
config-opts:
- -DBUILD_TOOLS=ON
sources:
- type: archive
url: https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz
sha256: a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c
x-checker-data:
type: anitya
project-id: 286
stable-only: true
url-template: https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz
- name: python-configobj
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "configobj" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz
sha256: a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902
x-checker-data:
type: pypi
name: configobj
- name: python-mutagen
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "mutagen" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/f3/d9/2232a4cb9a98e2d2501f7e58d193bc49c956ef23756d7423ba1bd87e386d/mutagen-1.45.1.tar.gz
sha256: 6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
x-checker-data:
type: pypi
name: mutagen
- name: python-pillow
# TODO: possible depends
# - libimagequant (improved color quantization)?
# - libraqm (complex text layout support), most likely won't be used by puddletag
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "pillow" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/43/6e/59853546226ee6200f9ba6e574d11604b60ad0754d2cbd1c8f3246b70418/Pillow-9.1.1.tar.gz
sha256: 7502539939b53d7565f3d11d87c78e7ec900d3c72945d4ee0e2f250d598309a0
x-checker-data:
type: pypi
name: pillow