Skip to content

Commit 5de904c

Browse files
committed
Updated (for real)
2 parents 6e3e5b9 + 720b9c5 commit 5de904c

File tree

4 files changed

+16
-82
lines changed

4 files changed

+16
-82
lines changed

appdata.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
</provides>
2626
<launchable type="desktop-id">io.github.shiiion.primehack.desktop</launchable>
2727
<releases>
28+
<release date="2024-11-04" version="1.0.7a"/>
2829
<release date="2023-12-20" version="1.0.7"/>
2930
</releases>
3031
<url type="homepage">https://github.com/shiiion/dolphin</url>

detectflatpak.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

io.github.shiiion.primehack.yml

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app-id: io.github.shiiion.primehack
22
runtime: org.kde.Platform
3-
runtime-version: "6.8"
3+
runtime-version: '6.8'
44
sdk: org.kde.Sdk
55
command: primehack-wrapper
66
rename-desktop-file: primehack.desktop
@@ -33,8 +33,8 @@ modules:
3333
- /lib/pkgconfig
3434
sources:
3535
- type: archive
36-
url: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
37-
sha256: ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
36+
url: https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.tar.bz2
37+
sha256: 966bb0d231f94a474eaae2e67da5ec844d3527a1f386456394ff432580634b29
3838
x-checker-data:
3939
type: anitya
4040
project-id: 1749
@@ -50,8 +50,8 @@ modules:
5050
- -Ddocumentation=disabled
5151
sources:
5252
- type: archive
53-
url: https://www.freedesktop.org/software/libevdev/libevdev-1.13.2.tar.xz
54-
sha256: 3eca86a6ce55b81d5bce910637fc451c8bbe373b1f9698f375c7f1ad0de3ac48
53+
url: https://www.freedesktop.org/software/libevdev/libevdev-1.13.4.tar.xz
54+
sha256: f00ab8d42ad8b905296fab67e13b871f1a424839331516642100f82ad88127cd
5555
x-checker-data:
5656
type: anitya
5757
project-id: 20540
@@ -66,17 +66,6 @@ modules:
6666
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
6767
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
6868

69-
- name: stuff
70-
buildsystem: simple
71-
build-commands:
72-
- mkdir -p /app/share/icons/hicolor/scalable/apps/
73-
- cp icon.svg /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
74-
- mkdir -p /app/bin
75-
- echo 'echo hello' > /app/bin/primehack-wrapper
76-
sources:
77-
- type: file
78-
path: icon.svg
79-
8069
- name: dolphin-emu
8170
buildsystem: cmake-ninja
8271
config-opts:
@@ -89,31 +78,21 @@ modules:
8978
- /share/man
9079
post-install:
9180
- install -D primehack-wrapper /app/bin/primehack-wrapper
92-
# # - install -Dm644 appdata.xml /app/share/appdata/primehack.appdata.xml
93-
# # - rm /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
94-
# # - mv /app/share/applications/dolphin-emu.desktop /app/share/applications/primehack.desktop
95-
# - cp retrodeck.png /app/share/icons/hicolor/scalable/apps/io.github.shiiion.primehack.png
96-
# - desktop-file-edit --set-key=Exec --set-value='primehack-wrapper' /app/share/applications/primehack.desktop
97-
# - desktop-file-edit --set-key=Name --set-value='PrimeHack' /app/share/applications/primehack.desktop
98-
# - desktop-file-edit --set-key=Icon --set-value='io.github.shiiion.primehack' /app/share/applications/primehack.desktop
81+
- install -Dm644 appdata.xml /app/share/appdata/primehack.appdata.xml
82+
- rm /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
83+
- mv /app/share/applications/dolphin-emu.desktop /app/share/applications/primehack.desktop
84+
- desktop-file-edit --set-key=Exec --set-value='primehack-wrapper' /app/share/applications/primehack.desktop
85+
- desktop-file-edit --set-key=Name --set-value='PrimeHack' /app/share/applications/primehack.desktop
9986
sources:
10087
- type: git
10188
url: https://github.com/shiiion/dolphin.git
102-
commit: 81bfb9686afd2d190134b44dd72d3cee876fe2ab # This commit refers to the PR 166: https://github.com/shiiion/dolphin/pull/166, but has been reworked in PR 118, https://github.com/shiiion/dolphin/pull/118 please change it when it's approved
103-
# detects whether dolphin is running in a flatpak sandbox
104-
# and makes it use xdg directories if it is.
105-
# prevents dolphin from attempting to write conf files
106-
# in non-writable paths, typically happens when a user
107-
# has leftover files from a previous non-flatpak install
108-
- type: patch
109-
path: detectflatpak.patch
110-
# version strings must match exactly for online multiplayer
111-
- type: patch
112-
path: nodirtyversion.patch
89+
commit: 1863d37c969764ed5d29d986ecea0d9f78245b52
90+
- type: file
91+
path: appdata.xml
11392
- type: script
11493
commands:
11594
- for i in {0..9}; do
11695
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
11796
- done
118-
- primehack "$@"
119-
dest-filename: primehack-wrapper
97+
- dolphin-emu "$@"
98+
dest-filename: primehack-wrapper

nodirtyversion.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)