This repository has been archived by the owner on Aug 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnet.seamly.seamly2d.yml
62 lines (61 loc) · 2.26 KB
/
net.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: net.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.08.0.tar.xz
sha256: 97453fbddf0c9a9eafa0ea45ac710d3d49bcf23a62e864585385d3c0b4403174
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 net.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.7.29.155
commit: e27901ade7ac11fe052fe951ae704f38b8c938f0
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: net.seamly.seamly2d.metainfo.xml