-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-util/steam: new package, add 0.0.1
Signed-off-by: James Calligeros <[email protected]>
- Loading branch information
Showing
4 changed files
with
392 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST steam-aarch64.tar.gz 4756 BLAKE2B b6dddcdb31759bb6be86749a48657ab2f14a3c4417410de7dcedabb497b1e09db2d2d098606b32e36d1d1192b23f8ed9a7fec9d1700df8ace4bf2ae490fedd88 SHA512 aa5ab04633f41edfa5f0f6e72fab163bfcdfadb6619623e43aa17dd88dbabdfb9cebd7ade4c3daeb45d13d19626bf654a23df3e760fff580e2b15e804efa2f8f | ||
DIST steam_1.0.0.81.tar.gz 4034361 BLAKE2B 3bd5deaa2aab8988bb071af3b2400699440af23795bad55f2040581431e2fe1aa02221bb4e4455677207689e9c7383cdf09290fd9b50334ce1ffabcd6c439f4b SHA512 adbb89f3af069d9ff417ca7789a3d275e6485212ec8e08a4b2d110a2f370fc6d1a564895ba58b0548ea1521ee90029a4bb397ef86f29e093907abd562f65d07f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>James Calligeros</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">chadmed/steam-aarch64</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit desktop xdg-utils | ||
|
||
STEAMVER="1.0.0.81" | ||
ARM64_WRAPPER_COMMIT="fb3e8aeaffe5bb374b34f2eacc91130a05b17b21" | ||
|
||
DESCRIPTION="Steam launcher bundled with AArch64/ARM64 wrapper for Asahi Linux systems" | ||
HOMEPAGE=" | ||
https://steampowered.com/ | ||
https://github.com/chadmed/steam-aarch64 | ||
" | ||
|
||
SRC_URI=" | ||
https://repo.steampowered.com/steam/archive/stable/steam_${STEAMVER}.tar.gz | ||
https://github.com/chadmed/steam-aarch64/archive/${ARM64_WRAPPER_COMMIT}.tar.gz -> ${PN}-aarch64.tar.gz | ||
" | ||
|
||
S="${WORKDIR}" | ||
|
||
LICENSE="GPL-2+ ValveSteamLicense MIT" | ||
SLOT="0" | ||
|
||
KEYWORDS="-* ~arm64" | ||
|
||
RDEPEND=" | ||
app-emulation/FEX | ||
app-emulation/muvm | ||
gnome-extra/zenity | ||
" | ||
|
||
src_unpack() { | ||
default | ||
} | ||
|
||
src_configure() { | ||
true | ||
} | ||
src_compile() { | ||
true | ||
} | ||
|
||
src_install() { | ||
cd "${WORKDIR}/steam-launcher" || die | ||
emake DESTDIR="${D}" \ | ||
install-bin \ | ||
install-docs \ | ||
install-icons \ | ||
install-bootstrap \ | ||
install-desktop \ | ||
install-appdata | ||
|
||
# Install the wrapper manually | ||
cd "${WORKDIR}/steam-aarch64-${ARM64_WRAPPER_COMMIT}" || die | ||
dobin {steam-aarch64,steam-muvm} | ||
newmenu steam-aarch64.desktop steam.desktop | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_desktop_database_update | ||
xdg_icon_cache_update | ||
einfo "Steam has been installed. To launch steam, use the desktop entry or" | ||
einfo "run /usr/bin/steam-aarch64 from a tty." | ||
} |
Oops, something went wrong.