Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroic-games-launcher: Housekeeping #1425

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/h/heroic-games-launcher/files/heroic.desktop

This file was deleted.

14 changes: 9 additions & 5 deletions packages/h/heroic-games-launcher/package.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name : heroic-games-launcher
version : 2.12.0
release : 23
release : 24
source :
- git|https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git : v2.12.0
homepage : https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher
homepage : https://heroicgameslauncher.com/
license : GPL-3.0-or-later
component : games
networking : yes
Expand All @@ -28,12 +28,16 @@ install : |

# Copy dist files and link binaries
cp -R ./dist/linux-unpacked/* $installdir/$heroicdir/
ln -s $heroicdir/heroic $installdir/usr/bin/heroic
ln -s $heroicdir/heroic $installdir/usr/bin/heroic-run
ln -s $heroicdir/resources/app.asar.unpacked/build/bin/linux/legendary $installdir/usr/bin/legendary
ln -s $heroicdir/resources/app.asar.unpacked/build/bin/linux/gogdl $installdir/usr/bin/gogdl

# Copy icon
install -Dm00644 ./dist/linux-unpacked/resources/app.asar.unpacked/build/icon.png $installdir/usr/share/icons/hicolor/512x512/apps/heroic.png
install -Dm00644 ./dist/linux-unpacked/resources/app.asar.unpacked/build/icon.png $installdir/usr/share/icons/hicolor/512x512/apps/com.heroicgameslauncher.hgl.png

# Set up .desktop file
install -Dm00644 $pkgfiles/heroic.desktop $installdir/usr/share/applications/heroic.desktop
sed -i 's/StartupWMClass.*/StartupWMClass=heroic/' ./flatpak/com.heroicgameslauncher.hgl.desktop
install -Dm00644 ./flatpak/com.heroicgameslauncher.hgl.desktop -t $installdir/usr/share/applications

# Install appstream metadata
install -Dm00644 ./flatpak/templates/com.heroicgameslauncher.hgl.metainfo.xml.template $installdir/usr/share/metainfo/com.heroicgameslauncher.hgl.metainfo.xml
21 changes: 11 additions & 10 deletions packages/h/heroic-games-launcher/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<PISI>
<Source>
<Name>heroic-games-launcher</Name>
<Homepage>https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher</Homepage>
<Homepage>https://heroicgameslauncher.com/</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-3.0-or-later</License>
<PartOf>games</PartOf>
Expand All @@ -21,9 +21,9 @@
<PartOf>games</PartOf>
<Files>
<Path fileType="executable">/usr/bin/gogdl</Path>
<Path fileType="executable">/usr/bin/heroic</Path>
<Path fileType="executable">/usr/bin/heroic-run</Path>
<Path fileType="executable">/usr/bin/legendary</Path>
<Path fileType="data">/usr/share/applications/heroic.desktop</Path>
<Path fileType="data">/usr/share/applications/com.heroicgameslauncher.hgl.desktop</Path>
<Path fileType="data">/usr/share/heroic/LICENSE.electron.txt</Path>
<Path fileType="data">/usr/share/heroic/LICENSES.chromium.html</Path>
<Path fileType="data">/usr/share/heroic/chrome-sandbox</Path>
Expand Down Expand Up @@ -120,16 +120,17 @@
<Path fileType="data">/usr/share/heroic/snapshot_blob.bin</Path>
<Path fileType="data">/usr/share/heroic/v8_context_snapshot.bin</Path>
<Path fileType="data">/usr/share/heroic/vk_swiftshader_icd.json</Path>
<Path fileType="data">/usr/share/icons/hicolor/512x512/apps/heroic.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/512x512/apps/com.heroicgameslauncher.hgl.png</Path>
<Path fileType="data">/usr/share/metainfo/com.heroicgameslauncher.hgl.metainfo.xml</Path>
</Files>
</Package>
<History>
<Update release="23">
<Date>2024-01-13</Date>
<Update release="24">
<Date>2024-01-24</Date>
<Version>2.12.0</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>