-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcom.opera.Opera.yaml
More file actions
132 lines (128 loc) · 4.52 KB
/
Copy pathcom.opera.Opera.yaml
File metadata and controls
132 lines (128 loc) · 4.52 KB
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
app-id: com.opera.Opera
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
base: org.chromium.Chromium.BaseApp
base-version: '25.08'
command: opera
separate-locales: false
finish-args:
- --require-version=1.8.2
- --device=all
- --env=GTK_PATH=/app/lib/gtkmodules
- --share=ipc
- --share=network
- --socket=cups
- --socket=pcsc # FIDO2
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --system-talk-name=org.freedesktop.UPower
- --talk-name=com.canonical.AppMenu.Registrar
- --talk-name=org.freedesktop.FileManager1
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.kwalletd5
- --talk-name=org.kde.kwalletd6
- --talk-name=org.gnome.SessionManager
- --system-talk-name=org.freedesktop.Avahi
- --own-name=org.mpris.MediaPlayer2.chromium.*
- --filesystem=xdg-download
- --filesystem=/run/.heim_org.h5l.kcm-socket
- --persist=.pki
# For GNOME proxy resolution
- --filesystem=xdg-run/dconf
- --filesystem=~/.config/dconf:ro
- --talk-name=ca.desrt.dconf
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
- --env=GIO_EXTRA_MODULES=/app/lib/gio/modules
- --env=GSETTINGS_BACKEND=dconf
# For KDE proxy resolution (KDE5 only)
- --filesystem=~/.config/kioslaverc
# Enables PWAs
- --filesystem=~/.local/share/applications:create
- --filesystem=~/.local/share/icons:create
modules:
- name: dconf
buildsystem: meson
config-opts:
- -Dbash_completion=false
- -Dman=false
- -Dvapi=false
cleanup:
- /etc
- /include
- ca.desrt.dconf.service
- dconf.service
- dconf-service
- '*.pc'
sources:
- type: archive
url: https://download.gnome.org/sources/dconf/0.49/dconf-0.49.0.tar.xz
sha256: 16a47e49a58156dbb96578e1708325299e4c19eea9be128d5bd12fd0963d6c36
x-checker-data:
type: gnome
name: dconf
stable-only: true
# From: https://src.fedoraproject.org/rpms/dconf
- type: patch
path: dconf-override.patch
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
tag: v2025.09
commit: 693a71c5ffa80ec9c9ce2ae03b1ccc493c698e53
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: opera
buildsystem: simple
build-commands:
# Unpack Opera from deb archive
- bsdtar --to-stdout -xf opera.deb 'data.tar*' | bsdtar -xf - --strip-components=4
--include='./usr/lib/x86_64-linux-gnu/opera-stable'
- mv opera-stable ${FLATPAK_DEST}/opera
- install -Dm 644 cobalt.ini ${FLATPAK_DEST}/etc
- install -Dm 644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm 644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm 644 Opera_2015_icon.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm 755 opera.sh ${FLATPAK_DEST}/bin/opera
sources:
- type: file
dest-filename: opera.deb
only-arches:
- x86_64
url: https://get.geo.opera.com/pub/opera/desktop/133.0.5932.60/linux/opera-stable_133.0.5932.60_amd64.deb
sha256: 8da792bd27a70d9e91b463fe314a427a22ebdda1bfe98463bdce2807a492752b
x-checker-data:
is-main-source: true
type: anitya
project-id: 7242
stable-only: true
url-template: https://get.geo.opera.com/pub/opera/desktop/$version/linux/opera-stable_${version}_amd64.deb
- type: file
path: cobalt.ini
- type: file
path: com.opera.Opera.metainfo.xml
- type: file
path: Opera_2015_icon.svg
- type: file
path: com.opera.Opera.desktop
- type: file
path: opera.sh
- name: opera-codecs
buildsystem: simple
build-commands:
- mkdir /app/opera/lib_extra
- install -Dm 644 -t /app/opera/lib_extra libffmpeg.so
sources:
- type: archive
url: https://github.com/Ld-Hagen/nwjs-ffmpeg-prebuilt/releases/download/nwjs-ffmpeg-0.113.0/0.113.0-linux-x64.zip
sha256: f0fe7242cf91e7b38024375886812bca91a060626757b55c1f44aa5a13586c9a
x-checker-data:
type: json
url: https://api.github.com/repos/Ld-Hagen/nwjs-ffmpeg-prebuilt/releases/latest
version-query: .tag_name | sub("^nwjs-ffmpeg-"; "")
url-query: .assets[] | select(.name==$version + "-linux-x64.zip") | .browser_download_url