Package Details: olympus-git r907.6ba95c2-1

Git Clone URL: https://aur.archlinux.org/olympus-git.git (read-only, click to copy)
Package Base: olympus-git
Description: Everest installer / mod manager for Celeste (git)
Upstream URL: https://github.com/EverestAPI/Olympus
Licenses: MIT
Conflicts: olympus, olympus-bin
Provides: olympus
Submitter: yhtez
Maintainer: yhtez
Last Packager: yhtez
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-12 22:47 (UTC)
Last Updated: 2024-12-25 21:11 (UTC)

Latest Comments

HurricanePootis commented on 2024-12-23 03:20 (UTC)

@yhtez here is an update patch to fix olympus for the newest head

diff --git a/PKGBUILD b/PKGBUILD
index 35b9dfd..6003887 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,23 @@
 # Maintainer: yhtez <yhtez@protonmail.com>
 pkgname=olympus-git
-pkgver=r828.9c1a5ea
+pkgver=r900.eb33efa
 pkgrel=1
 pkgdesc='Everest installer / mod manager for Celeste (git)'
 arch=('x86_64')
 url='https://github.com/EverestAPI/Olympus'
 license=('MIT')
-depends=('gtk3' 'love' 'lua51-lsqlite3' 'mono')
-makedepends=('git' 'lua51' 'luarocks' 'msbuild' 'nuget' 'zip')
+depends=('gtk3' 'love' 'lua51-lsqlite3')
+makedepends=('git' 'lua51' 'luarocks' 'msbuild' 'nuget' 'zip' 'dotnet-sdk')
 provides=('olympus')
 conflicts=('olympus' 'olympus-bin')
 source=("git+https://github.com/EverestAPI/Olympus.git"
         "git+https://github.com/EverestAPI/OlympUI.git"
         "git+https://github.com/vrld/moonshine.git"
-        "git+https://github.com/LPGhatguy/luajit-request.git"
-        "git+https://github.com/0x0ade/lua-subprocess.git"
-        "git+https://github.com/Vexatos/nativefiledialog.git"
-        "use-system-mono.patch")
+        "git+https://github.com/LPGhatguy/luajit-request.git")
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '1949929334222f20ae01930041d05cfefa7d48698573c2d2bbda09195d43ae0f')
+            'SKIP')

 pkgver() {
     cd "$srcdir/Olympus"
@@ -33,8 +27,6 @@ pkgver() {
 prepare() {
     cd "$srcdir/Olympus"

-    patch -p1 < "$srcdir/use-system-mono.patch"
-
     git submodule init
     git config submodule.src/ui.url "$srcdir/OlympUI"
     git config submodule.src/moonshine.url "$srcdir/moonshine"
@@ -44,16 +36,25 @@ prepare() {
     nuget restore sharp/Olympus.Sharp.sln

     printf "%s" "$pkgver" > src/version.txt
+    # Ensure dotnet 8.0
+    cat > global.json <<EOF
+{
+   "sdk": {
+       "version": "8.0.111",
+       "rollforward": "latestaFeature"
+   }
+}
+EOF
 }

 build() {
     cd "$srcdir/Olympus"
-
-    FrameworkPathOverride=/usr/lib/mono/4.5 msbuild sharp/Olympus.Sharp.sln /p:Configuration=Release
-
-    cd "$srcdir/lua-subprocess"; luarocks make --lua-version=5.1 --tree="$srcdir/Olympus/luarocks" --deps-mode=none --no-manifest subprocess-scm-1.rockspec
-    cd "$srcdir/nativefiledialog"; luarocks make --lua-version=5.1 --tree="$srcdir/Olympus/luarocks" --deps-mode=none --no-manifest lua/nfd-scm-1.rockspec \
-        LUA_LIBDIR=/usr/lib # nfd requires this env variable since it (incorrectly?) uses it for -L and it isn't set by default by luarocks
+    #Compile C# component
+    dotnet build sharp -c release --self-contained
+    # Luarocks steps
+    luarocks install --tree=luarocks --lua-version=5.1 --deps-mode=none --no-manifest https://raw.githubusercontent.com/0x0ade/lua-subprocess/master/subprocess-scm-1.rockspec
+    luarocks install --tree=luarocks --lua-version=5.1 --deps-mode=none --no-manifest https://raw.githubusercontent.com/Vexatos/nativefiledialog/master/lua/nfd-scm-1.rockspec
+    luarocks install --tree=luarocks --lua-version=5.1 --deps-mode=none --no-manifest lsqlite3complete
 }

 package() {
@@ -67,7 +68,7 @@ package() {
     bsdtar --format zip --strip-components 1 -cf "$pkgdir/usr/lib/olympus/olympus.love" src

     install -Dm755 luarocks/lib/lua/5.1/* -t "$pkgdir/usr/lib/olympus"
-    install -Dm755 sharp/bin/Release/net452/* -t "$pkgdir/usr/lib/olympus/sharp"
+    install -Dm755 sharp/bin/Release/net8.0/linux-x64/* -t "$pkgdir/usr/lib/olympus/sharp"

     install -Dm644 lib-linux/olympus.desktop "$pkgdir/usr/share/applications/olympus.desktop"
     install -Dm644 src/data/icon.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/olympus.png"
  1. Switches to dotnet-sdk for building
  2. Ensures proper dotnet version for those who have mulitple dotnet installs
  3. Updated build() from reading the instructions in a build workflow yml