-
Notifications
You must be signed in to change notification settings - Fork 1
/
io.seamly.seamly2d.yml
62 lines (61 loc) · 2.26 KB
/
io.seamly.seamly2d.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
app-id: io.seamly.seamly2d
runtime: org.kde.Platform
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
command: seamly2d
finish-args:
- --share=ipc
- --socket=x11
- --socket=cups
- --filesystem=home
- --device=dri
- --socket=pulseaudio
rename-desktop-file: seamly2d.desktop
separate-locales: false
modules:
- name: poppler
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DENABLE_BOOST=OFF
- -DENABLE_QT6=OFF
sources:
- type: archive
url: https://poppler.freedesktop.org/poppler-24.12.0.tar.xz
sha256: 1cf374c3146f3f685d9257701bf0c2866c61d6c202c14d1f5c01a1f3a089028a
x-checker-data:
type: anitya
project-id: 3686
url-template: https://poppler.freedesktop.org/poppler-$version.tar.xz
- name: seamly2d
buildsystem: qmake
config-opts:
- -config
- release
- CONFIG+=noDebugSymbols
- CONFIG+=noTests
post-install:
- desktop-file-edit --set-icon ${FLATPAK_ID} --set-key Exec --set-value 'seamly2d
%F' /app/share/applications/seamly2d.desktop
- install -Dm644 share/img/Seamly2D_logo_512x512.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
- install -Dm644 io.seamly.seamly2d.metainfo.xml -t /app/share/metainfo
- install -Dm644 dist/debian/seamly2d.sharedmimeinfo /app/share/mime/packages/${FLATPAK_ID}.xml
- mv /app/share/applications/seamlyme.desktop /app/share/applications/${FLATPAK_ID}.seamlyme.desktop
- desktop-file-edit --set-icon ${FLATPAK_ID}.seamlyme --set-key Exec --set-value
'seamlyme %F' /app/share/applications/${FLATPAK_ID}.seamlyme.desktop
- install -Dm644 dist/seamlyme.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.seamlyme.png
sources:
- type: git
url: https://github.com/FashionFreedom/Seamly2D.git
tag: v2024.12.2.209
commit: 410a4bf83227904905f77f994273e248b61860fc
x-checker-data:
type: json
url: https://api.github.com/repos/FashionFreedom/Seamly2D/releases/latest
tag-query: .tag_name
version-query: $tag
timestamp-query: .published_at
- type: patch
path: 0001-flatpak.patch
- type: file
path: io.seamly.seamly2d.metainfo.xml