-
Notifications
You must be signed in to change notification settings - Fork 2
/
org.gnome.Loupe.yml
140 lines (135 loc) · 3.88 KB
/
org.gnome.Loupe.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
id: org.gnome.Loupe
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.llvm18
command: loupe
finish-args:
# Graphics
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --device=dri
# Browse through photos
- --filesystem=host
# Enable access to GVfs
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfs
- --filesystem=xdg-run/gvfsd
build-options:
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin
cleanup:
- /include
- /lib/pkgconfig
- /man
- /share/doc
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- '*.la'
- '*.a'
add-extensions:
# Exile HEIC (x265) codec into extension
org.gnome.Loupe.HEIC:
# Relative to app dir
directory: lib/libheif-heic
# Relative to directory above
add-ld-path: lib
# Remove extension data from main flatpak package
bundle: true
# Remove this extension when Loupe is deinstalled
autodelete: true
modules:
# HEIC (x265) decoder
- name: libde265
buildsystem: cmake-ninja
config-opts:
# Install into folder for extension
- -DCMAKE_INSTALL_PREFIX=/app/lib/libheif-heic
- -DENABLE_SDL=Off
sources:
- type: git
url: https://github.com/strukturag/libde265.git
commit: 17bb8d9fcea62db8cdeb0fc7ef8d15dbd19a22e4
tag: v1.0.15
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: libheif
buildsystem: cmake-ninja
config-opts:
# Build HEIC (x265) as plugin
- -DWITH_LIBDE265_PLUGIN=On
- -DPLUGIN_DIRECTORY=/app/lib/libheif-heic/lib
- -DLIBDE265_INCLUDE_DIR=/app/lib/libheif-heic/include
- -DLIBDE265_PKGCONF_LIBRARY_DIRS=/app/lib/libheif-heic/lib
- -DWITH_X265=Off
- -DWITH_SvtEnc=Off
- -DWITH_SvtEnc_PLUGIN=Off
- -DWITH_AOM_ENCODER=Off
# Turn off plugins for AV1
- -DWITH_RAV1E_PLUGIN=Off
# Turn off unused AV1 decoders
- -DWITH_RAV1E=Off
- -DWITH_EXAMPLES=Off
sources:
- type: git
url: https://github.com/strukturag/libheif.git
commit: bf35e9eb25af8f2b7917996ad9ba849d922f8d15
tag: v1.18.2
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: geocode-glib
buildsystem: meson
config-opts:
- -Denable-installed-tests=false
- -Denable-introspection=false
- -Denable-gtk-doc=false
- -Dsoup2=false
sources:
- type: archive
url: https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz
sha256: 2d9a6826d158470449a173871221596da0f83ebdcff98b90c7049089056a37aa
x-checker-data:
type: gnome
name: geocode-glib
- name: libgweather
buildsystem: meson
config-opts:
- -Denable_vala=false
- -Dgtk_doc=false
- -Dintrospection=false
- -Dtests=false
sources:
- type: archive
url: https://download.gnome.org/sources/libgweather/4.4/libgweather-4.4.4.tar.xz
sha256: 7017677753cdf7d1fdc355e4bfcdb1eba8369793a8df24d241427a939cbf4283
x-checker-data:
type: gnome
name: libgweather
versions:
<: '40.0'
- name: glycin-loaders
buildsystem: meson
config-opts:
- -Dlibglycin=false
- -Dtests=false
sources:
- type: archive
url: https://download.gnome.org/sources/glycin/1.1/glycin-1.1.2.tar.xz
sha256: 41c72be1ec9ba55da90c82fc18573b742dff582b09afc37b4565c47e99cc8ff4
x-checker-data:
type: gnome
name: glycin
- name: loupe
buildsystem: meson
sources:
- type: archive
url: https://download.gnome.org/sources/loupe/47/loupe-47.2.tar.xz
sha256: 6e046efe4f7ae57ee2748d52d1d07356c7449d204a3d31d0b42367a801974a15
x-checker-data:
type: gnome
name: loupe