Skip to content

Commit d463ace

Browse files
authored
Sync Flathub manifest changes with repo template (#5254)
1 parent 18d4178 commit d463ace

File tree

1 file changed

+24
-69
lines changed

1 file changed

+24
-69
lines changed

flatpak/templates/com.heroicgameslauncher.hgl.yml.template

Lines changed: 24 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
id: com.heroicgameslauncher.hgl
22
sdk: org.freedesktop.Sdk
33
runtime: org.freedesktop.Platform
4-
runtime-version: '23.08'
4+
runtime-version: '25.08'
55
base: org.electronjs.Electron2.BaseApp
6-
base-version: '23.08'
6+
base-version: '25.08'
77
command: heroic-run
88
separate-locales: false
99

@@ -94,24 +94,25 @@ finish-args:
9494
add-extensions:
9595
org.freedesktop.Platform.Compat.i386:
9696
directory: lib/i386-linux-gnu
97-
version: '23.08'
97+
version: '25.08'
9898

9999
org.freedesktop.Platform.Compat.i386.Debug:
100100
directory: lib/debug/lib/i386-linux-gnu
101-
version: '23.08'
101+
version: '25.08'
102102
no-autodownload: true
103103

104104
org.freedesktop.Platform.GL32:
105105
directory: lib/i386-linux-gnu/GL
106106
version: '1.4'
107-
versions: 23.08;1.4
107+
versions: 25.08;1.4
108108
subdirectories: true
109109
no-autodownload: true
110110
autodelete: false
111111
add-ld-path: lib
112112
merge-dirs: vulkan/icd.d;glvnd/egl_vendor.d;OpenCL/vendors;lib/dri;lib/d3d;vulkan/explicit_layer.d;vulkan/implicit_layer.d
113113
download-if: active-gl-driver
114114
enable-if: active-gl-driver
115+
autoprune-unless: active-gl-driver
115116

116117
x-compat-i386-opts: &compat_i386_opts
117118
prepend-pkg-config-path: /app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig
@@ -124,8 +125,8 @@ add-extensions:
124125

125126
org.freedesktop.Platform.VAAPI.Intel.i386:
126127
directory: lib/i386-linux-gnu/dri/intel-vaapi-driver
127-
version: '23.08'
128-
versions: '23.08'
128+
version: '25.08'
129+
versions: '25.08'
129130
autodelete: false
130131
no-autodownload: true
131132
add-ld-path: lib
@@ -266,45 +267,22 @@ modules:
266267
path: com.heroicgameslauncher.hgl.desktop
267268

268269
#START --- Winetricks Deps ---
269-
- name: p7zip
270-
no-autogen: true
271-
build-options:
272-
strip: true
273-
make-args:
274-
- all2
275-
- OPTFLAGS=-O2 -g -std=gnu++14
276-
- DEST_HOME=$(FLATPAK_DEST)
277-
- DEST_BIN=$(FLATPAK_DEST)/bin
278-
- DEST_SHARE=$(FLATPAK_DEST)/lib/p7zip
279-
- DEST_MAN=$(FLATPAK_DEST)/share/man
280-
make-install-args:
281-
- DEST_HOME=$(FLATPAK_DEST)
282-
- DEST_BIN=$(FLATPAK_DEST)/bin
283-
- DEST_SHARE=$(FLATPAK_DEST)/lib/p7zip
284-
- DEST_MAN=$(FLATPAK_DEST)/share/man
270+
- name: 7zip
271+
buildsystem: simple
272+
subdir: CPP/7zip/Bundles/Alone2
273+
build-commands:
274+
- make -j $FLATPAK_BUILDER_N_JOBS -f makefile.gcc
275+
- install -Dm755 ./_o/7zz -t /app/bin
276+
- ln -s /app/bin/7zz /app/bin/7za
277+
- ln -s /app/bin/7zz /app/bin/7z
285278
sources:
286279
- type: archive
287-
url: https://github.com/p7zip-project/p7zip/archive/refs/tags/v17.05.tar.gz
288-
sha256: d2788f892571058c08d27095c22154579dfefb807ebe357d145ab2ddddefb1a6
289-
- type: shell
290-
only-arches:
291-
- x86_64
292-
commands:
293-
- ln -sf makefile.linux_amd64_asm makefile.machine
294-
- type: shell
295-
only-arches:
296-
- i386
297-
commands:
298-
- ln -sf makefile.linux_x86_asm_gcc_4.X makefile.machine
299-
modules:
300-
- name: yasm
301-
buildsystem: cmake-ninja
302-
sources:
303-
- type: archive
304-
url: https://github.com/yasm/yasm/archive/v1.3.0.tar.gz
305-
sha256: f708be0b7b8c59bc1dbe7134153cd2f31faeebaa8eec48676c10f972a1f13df3
306-
cleanup:
307-
- '*'
280+
url: https://github.com/ip7z/7zip/archive/refs/tags/25.01.tar.gz
281+
sha256: 8772e4ef86540c98bf4c23a6d9e13b3a25794d4bb30986ef0b1b9f20075b34c9
282+
x-checker-data:
283+
type: anitya
284+
project-id: 372314
285+
url-template: https://github.com/ip7z/7zip/archive/refs/tags/$version.tar.gz
308286

309287
- name: cabextract
310288
build-options:
@@ -326,8 +304,8 @@ modules:
326304
- DESTDIR=$(FLATPAK_DEST)
327305
sources:
328306
- type: archive
329-
url: https://www.rarlab.com/rar/unrarsrc-6.2.12.tar.gz
330-
sha256: a008b5f949bca9bb4ffa1bebbfc8b3c14b89df10a10354809b845232d5f582e5
307+
url: https://www.rarlab.com/rar/unrarsrc-7.2.2.tar.gz
308+
sha256: 41c00c8755cf5bf6b5d7f0d2d167ee889c2c5352e17e5c9470dbc354af1e71ab
331309
x-checker-data:
332310
type: anitya
333311
project-id: 13306
@@ -380,27 +358,4 @@ modules:
380358
arch:
381359
x86_64: *compat_i386_opts
382360
sources: *libbsd_sources
383-
384-
- name: libjpeg # with libjpeg.so.8
385-
buildsystem: cmake-ninja
386-
config-opts:
387-
- -DCMAKE_SKIP_RPATH:BOOL=YES
388-
- -DENABLE_STATIC:BOOL=NO
389-
- -DWITH_JPEG8:BOOL=YES
390-
- -DCMAKE_INSTALL_LIBDIR=/app/lib # uses lib64 by default
391-
sources: &libjpeg_sources
392-
- type: archive
393-
url: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.1.3.tar.gz
394-
sha256: dbda0c685942aa3ea908496592491e5ec8160d2cf1ec9d5fd5470e50768e7859
395-
396-
- name: libjpeg-32bit # with libjpeg.so.8
397-
buildsystem: cmake-ninja
398-
build-options:
399-
arch:
400-
x86_64: *compat_i386_opts
401-
config-opts:
402-
- -DCMAKE_SKIP_RPATH:BOOL=YES
403-
- -DENABLE_STATIC:BOOL=NO
404-
- -DWITH_JPEG8:BOOL=YES
405-
sources: *libjpeg_sources
406361
#END --- Winetricks Deps ---

0 commit comments

Comments
 (0)