← recipes

Commit 4daab73e

3
files
+189
added
-0
deleted
@@ -0,0 +1,106 @@
1 +pkgname: heroic-games-launcher
2 +pkgver: '2.22.4'
3 +pkgrel: '2'
4 +pkgdesc: 'Heroic Games Launcher – launcher dla Epic Games, GOG i Amazon Games'
5 +url: 'https://heroicgameslauncher.com/'
6 +arch: x86_64
7 +license:
8 +- GPL-3.0-or-later
9 +
10 +# Aplikacja Electron (Chromium) – zależności runtime jak dla Chrome/Electron.
11 +depends:
12 +- ca-certificates
13 +- desktop-file-utils
14 +- gtk-update-icon-cache
15 +- hicolor-icon-theme
16 +- shared-mime-info
17 +- xdg-utils
18 +- wget
19 +- curl
20 +- nss
21 +- nspr
22 +- at-spi2-core
23 +- alsa-lib
24 +- cairo
25 +- cups
26 +- dbus
27 +- expat
28 +- freetype
29 +- xorg-fontconfig
30 +- gcc
31 +- glib
32 +- gtk3
33 +- libxcb
34 +- libxkbcommon
35 +- mesa
36 +- pango
37 +- systemd
38 +- xorg-libx11
39 +- xorg-libxcomposite
40 +- xorg-libxdamage
41 +- xorg-libxext
42 +- xorg-libxfixes
43 +- xorg-libxrandr
44 +- xorg-libxscrnsaver
45 +- xorg-libxshmfence
46 +- xorg-libdrm
47 +- zlib
48 +
49 +makedepends: []
50 +
51 +source:
52 +- 'https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${pkgver}/Heroic-${pkgver}-linux-x64.tar.xz'
53 +sha256sums:
54 +- 81497c4e67d42905da5839a32be053c011eae35fb1fd5ec9441249b238d8f99b
55 +
56 +build: |
57 + cd Heroic-${pkgver}-linux-x64
58 +
59 + install -d "${PKGDIR}/opt/heroic"
60 + cp -a . "${PKGDIR}/opt/heroic/"
61 +
62 + # Chromium/Electron SUID sandbox – bit ustawiamy też w hooku post-install,
63 + # bo instalator `pag` czyści SUID z plików spoza listy uprzywilejowanej.
64 + chown root:root "${PKGDIR}/opt/heroic/chrome-sandbox" || true
65 + chmod 4755 "${PKGDIR}/opt/heroic/chrome-sandbox" || true
66 +
67 + install -d "${PKGDIR}/usr/bin"
68 + printf '%s\n' '#!/bin/sh' 'exec /opt/heroic/heroic "$@"' \
69 + > "${PKGDIR}/usr/bin/heroic"
70 + chmod 755 "${PKGDIR}/usr/bin/heroic"
71 +
72 + install -d "${PKGDIR}/usr/share/applications" \
73 + "${PKGDIR}/usr/share/icons/hicolor/256x256/apps"
74 + printf '%s\n' \
75 + '[Desktop Entry]' \
76 + 'Name=Heroic Games Launcher' \
77 + 'Comment=Open source game launcher (Epic, GOG, Amazon)' \
78 + 'Exec=heroic %U' \
79 + 'Icon=heroic' \
80 + 'Terminal=false' \
81 + 'Type=Application' \
82 + 'Categories=Game;' \
83 + 'StartupWMClass=heroic' \
84 + > "${PKGDIR}/usr/share/applications/heroic.desktop"
85 +
86 + install -Dm644 resources/app.asar.unpacked/build/icon.png \
87 + "${PKGDIR}/usr/share/icons/hicolor/256x256/apps/heroic.png"
88 +
89 +hooks:
90 + post-install: |
91 + if [ -f /opt/heroic/chrome-sandbox ]; then
92 + chown root:root /opt/heroic/chrome-sandbox || true
93 + chmod 4755 /opt/heroic/chrome-sandbox || true
94 + fi
95 + if command -v update-desktop-database >/dev/null 2>&1; then
96 + update-desktop-database -q /usr/share/applications || true
97 + fi
98 + if command -v gtk-update-icon-cache >/dev/null 2>&1; then
99 + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true
100 + fi
101 + if command -v update-mime-database >/dev/null 2>&1; then
102 + update-mime-database /usr/share/mime || true
103 + fi
104 +
105 +package: |
106 + true
0 107 new file mode 100644
@@ -0,0 +1,49 @@
1 +pkgname: mangohud
2 +pkgver: '0.8.4'
3 +pkgrel: '1'
4 +pkgdesc: 'Vulkan/OpenGL FPS overlay (MangoHud) z wykresami i statystykami GPU/CPU'
5 +url: 'https://github.com/flightlessmango/MangoHud'
6 +arch: x86_64
7 +license:
8 +- MIT
9 +
10 +depends:
11 +- xorg-libx11
12 +- libxkbcommon
13 +- wayland
14 +- dbus
15 +- gcc
16 +
17 +makedepends:
18 +- meson
19 +- ninja
20 +- xorg-libx11
21 +- libxkbcommon
22 +- wayland
23 +- dbus
24 +- python
25 +- pkgconf
26 +- gcc
27 +
28 +source:
29 +- 'https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${pkgver}.tar.gz'
30 +sha256sums:
31 +- 0f79671dbc825f33d7014088cb7750c166934ade26bbd6007a171aa2d960cd2f
32 +
33 +build: |
34 + cd MangoHud-${pkgver}
35 +
36 + # Uwaga: generator pagbuild zamienia literalne "=disabled" na "=false",
37 + # a te opcje są typu feature/combo (nie bool). Przekazujemy przez zmienną,
38 + # żeby ominąć tę zamianę.
39 + OFF=disabled
40 + meson setup build --prefix=/usr --buildtype=release \
41 + -Dwith_xnvctrl=$OFF \
42 + -Dwith_nvml=$OFF \
43 + -Dmangoplot=$OFF
44 +
45 + meson compile -C build
46 + DESTDIR=${PKGDIR} meson install -C build
47 +
48 +package: |
49 + true
0 50 new file mode 100644
@@ -0,0 +1,34 @@
1 +pkgname: vkbasalt
2 +pkgver: '0.3.2.10'
3 +pkgrel: '1'
4 +pkgdesc: 'Vulkan post-processing layer (CAS, FXAA, SMAA, ReShade effects)'
5 +url: 'https://github.com/DadSchoorse/vkBasalt'
6 +arch: x86_64
7 +license:
8 +- Zlib
9 +
10 +depends:
11 +- xorg-libx11
12 +- gcc
13 +
14 +makedepends:
15 +- meson
16 +- ninja
17 +- xorg-libx11
18 +- vulkan-headers
19 +- gcc
20 +
21 +source:
22 +- 'https://github.com/DadSchoorse/vkBasalt/archive/refs/tags/v${pkgver}.tar.gz'
23 +sha256sums:
24 +- 22f0d44518361b12cf51f30fc9931423977af32a396e746ebf6d726c05788de6
25 +
26 +build: |
27 + cd vkBasalt-${pkgver}
28 +
29 + meson setup build --prefix=/usr --buildtype=release
30 + meson compile -C build
31 + DESTDIR=${PKGDIR} meson install -C build
32 +
33 +package: |
34 + true