1.1.1386
This commit is contained in:
parent
ddbdaa9c02
commit
dd2d321902
3 changed files with 44 additions and 5 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,19 +1,19 @@
|
||||||
pkgbase = ryujinx
|
pkgbase = ryujinx
|
||||||
pkgdesc = Experimental Nintendo Switch Emulator written in C#
|
pkgdesc = Experimental Nintendo Switch Emulator written in C#
|
||||||
pkgver = 1.1.1385
|
pkgver = 1.1.1386
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Ryujinx/Ryujinx
|
url = https://github.com/Ryujinx/Ryujinx
|
||||||
install = ryujinx.install
|
install = ryujinx.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = desktop-file-utils
|
makedepends = desktop-file-utils
|
||||||
makedepends = dotnet-sdk>=8.0.7.sdk303
|
makedepends = dotnet-sdk-bin
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = zlib
|
depends = zlib
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !debug
|
options = !debug
|
||||||
options = emptydirs
|
options = emptydirs
|
||||||
source = ryujinx-1.1.1385.tar.gz::https://github.com/Ryujinx/Ryujinx/archive/1.1.1385.tar.gz
|
source = ryujinx-1.1.1386.tar.gz::https://github.com/Ryujinx/Ryujinx/archive/1.1.1386.tar.gz
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = ryujinx
|
pkgname = ryujinx
|
||||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -9,7 +9,7 @@ fi
|
||||||
## basic info
|
## basic info
|
||||||
_pkgname="ryujinx"
|
_pkgname="ryujinx"
|
||||||
pkgname="$_pkgname"
|
pkgname="$_pkgname"
|
||||||
pkgver=1.1.1385
|
pkgver=1.1.1386
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Experimental Nintendo Switch Emulator written in C#"
|
pkgdesc="Experimental Nintendo Switch Emulator written in C#"
|
||||||
url="https://github.com/Ryujinx/Ryujinx"
|
url="https://github.com/Ryujinx/Ryujinx"
|
||||||
|
@ -22,7 +22,7 @@ depends=(
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'desktop-file-utils'
|
'desktop-file-utils'
|
||||||
'dotnet-sdk>=8.0.7.sdk303' # aur/dotnet-core-bin
|
'dotnet-sdk-bin' # aur/dotnet-core-bin
|
||||||
)
|
)
|
||||||
|
|
||||||
options=('!strip' '!debug' 'emptydirs')
|
options=('!strip' '!debug' 'emptydirs')
|
||||||
|
@ -57,9 +57,17 @@ build() {
|
||||||
-p:Version=${pkgver%%.r*}
|
-p:Version=${pkgver%%.r*}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo "Building AVA Interface..."
|
||||||
dotnet publish "${_args[@]}" -o publish_ava src/Ryujinx
|
dotnet publish "${_args[@]}" -o publish_ava src/Ryujinx
|
||||||
|
|
||||||
|
echo "Building GTK3 Interface..."
|
||||||
dotnet publish "${_args[@]}" -o publish_gtk src/Ryujinx.Gtk3
|
dotnet publish "${_args[@]}" -o publish_gtk src/Ryujinx.Gtk3
|
||||||
|
|
||||||
|
echo "Building SDL2 Headless..."
|
||||||
dotnet publish "${_args[@]}" -o publish_sdl src/Ryujinx.Headless.SDL2
|
dotnet publish "${_args[@]}" -o publish_sdl src/Ryujinx.Headless.SDL2
|
||||||
|
|
||||||
|
echo "Shutting down dotnet build server in background."
|
||||||
|
(timeout -k 45 30 dotnet build-server shutdown) > /dev/null 2>&1 &
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -1,3 +1,34 @@
|
||||||
|
note() {
|
||||||
|
printf "${BLUE}==>${YELLOW} $1 ${WHITE}$2${ALL_OFF}\n"
|
||||||
|
}
|
||||||
|
|
||||||
|
msg1() {
|
||||||
|
printf "${BLUE}==>${WHITE} $1${ALL_OFF}\n"
|
||||||
|
}
|
||||||
|
|
||||||
|
msg2() {
|
||||||
|
printf " ${WHITE} $1${ALL_OFF}\n"
|
||||||
|
}
|
||||||
|
|
||||||
|
ALL_OFF="$(tput sgr0)"
|
||||||
|
BOLD="${ALL_OFF}$(tput bold)"
|
||||||
|
BLACK="${BOLD}$(tput setaf 0)"
|
||||||
|
RED="${BOLD}$(tput setaf 1)"
|
||||||
|
GREEN="${BOLD}$(tput setaf 2)"
|
||||||
|
YELLOW="${BOLD}$(tput setaf 3)"
|
||||||
|
BLUE="${BOLD}$(tput setaf 4)"
|
||||||
|
MAGENTA="${BOLD}$(tput setaf 5)"
|
||||||
|
CYAN="${BOLD}$(tput setaf 6)"
|
||||||
|
WHITE="${BOLD}$(tput setaf 7)"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
note 'Warning:' "Contents of '/opt/ryujinx/Logs' will be deleted on uninstall."
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
pre_remove() {
|
pre_remove() {
|
||||||
if [ -d "/opt/ryujinx/Logs" ]; then
|
if [ -d "/opt/ryujinx/Logs" ]; then
|
||||||
rm -rf /opt/ryujinx/Logs/*
|
rm -rf /opt/ryujinx/Logs/*
|
||||||
|
|
Loading…
Reference in a new issue