





















Thanks for flagging this out of date.
I plan not to update the package until the pacman issue mentioned in my last comment is resolved. See the reason below:
The reason: When I upgrade the package everyone will get a notification that it has been upgraded and will most likely upgrade / build it. Then the package is unusable, because building it on a recent arch doesn't work until you downgrade pacman. I haven't tried to downgrade pacman - I am afraid is intruduces complications.
If you disagree on this, please let me know why. Maybe I am wrong here. If you can report back to the pacman issue so that it get solved.
If you want to help, try to build with this updated PKGBUILD
# Maintainer: Tobias Boesch <tobias.boesch at googlemail.com>
pkgname=('fs2-knossos-dotnet')
pkgver=v1.1.0
_extpkgname='Knossos.NET'
pkgrel=1
pkgdesc="A multi platform launcher for Freespace 2 Open using .NET 6.0 and AvaloniaUI"
arch=('x86_64')
url='https://github.com/KnossosNET/Knossos.NET'
_commit='7b201a0bdcc3c01a602ecd13ffd5f33fd1537008' # Upstream only signs commits, not tags. Using commit to be able to verify the source.
# https://github.com/KnossosNET/Knossos.NET/commit/7b201a0bdcc3c01a602ecd13ffd5f33fd1537008
license=('GPL-3.0-only')
makedepends=(
'dotnet-sdk-6.0'
'git'
)
depends=(
'gcc-libs'
'glibc'
'hicolor-icon-theme'
'dotnet-runtime-6.0'
)
conflicts=(
)
validpgpkeys=(
968479A1AFF927E37D1A566BB5690EEEBB952194 # Fingerprint from gpg
# Key from
# https://github.com/web-flow.gpg
)
source=(
"git+$url.git#commit=${_commit}?signed"
'Knossos.NET.desktop'
)
sha512sums=('SKIP'
'088987d8d0b9ee329c3602f56521e9322feb1dd53d84eccc501dfea25cc00b70f10d9cfc00971848fb41251cd124df45522fd6384fe4ad83748642a05e8a7bfa')
options=(
!strip # Stripping file Knossos.NET seems to destroy it
)
build() {
cd "$_extpkgname"
dotnet publish --framework net6.0 --arch x64 --os linux -p:PublishSingleFile=true --self-contained false $_extpkgname/$_extpkgname.csproj
}
package() {
mkdir --parents "${pkgdir}/usr/bin/$_extpkgname"
cp "${srcdir}/$_extpkgname/$_extpkgname/bin/Debug/net6.0/linux-x64/publish/$_extpkgname" "${pkgdir}/usr/bin/$_extpkgname"
install -D -m644 "${srcdir}/$_extpkgname/packaging/linux/knossos-256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/$_extpkgname.png"
install -D -m644 "${srcdir}/Knossos.NET.desktop" "${pkgdir}/usr/share/applications/Knossos.NET.desktop"
}
Thanks for the review. On my systemit works fine, but it seems no other dekstop file on my arch uses the path entry in the desktop file and it works without for me, too. I'll remove it.
Runs fine when lauched from Konsole, but in KDE/Wayland, I can only start with the .desktop launcher after I comment out the Path key.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
I currently don't use this package. Who ever wants to take over maintenance - please file a request.