Skip to content
Open
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
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ xfce4-dynamic-workspaces-rs-bin
xfce4-hotcorner-plugin-git
xfce4-settings-pine-git
xgifwallpaper-git
xivlauncher
xivlauncher-bin
xmind-vana-deb
xonotic
Expand Down
41 changes: 41 additions & 0 deletions packages/xivlauncher/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
pkgbase = xivlauncher
pkgver = 1.3.1
pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
url = https://github.com/goatcorp/XIVLauncher.Core/
arch = amd64
depends = build-essential
depends = aria2
depends = libsdl2-2.0-0
depends = libsecret-1-0
depends = attr
depends = fontconfig
depends = liblcms2-2
depends = libxml2
depends = libxcursor1
depends = libxrandr2
depends = libxdamage1
depends = gettext
depends = libfreetype6
depends = libglu1-mesa
depends = libsm6
depends = libpcap0.8
depends = libfaudio0
depends = desktop-file-utils
depends = libjxr0
depends = xdg-utils
makedepends = git
optdepends = steam: If you have a Steam Service Account
conflicts = xivlauncher-bin
conflicts = xivlauncher-git
provides = xivlauncher
license = GPL-3.0
maintainer = XIVLauncher Linux Maintainers <franz@goat.place>
repology = project: xivauncher.core
source = XIVLauncher.Core::git+https://github.com/goatcorp/XIVLauncher.Core.git#tag=1.3.1
source = XIVLauncher.desktop
source = xivlauncher-core
sha512sums = SKIP
sha512sums = c06130b67efff8aa53760cb9c8bd764d4307624ec42c52d58cce388863e64788821f6f836857f200452e75de3b5311466074c70b81ad6d70ab60b286ddfda2e8
sha512sums = 1b4584216828fac294d9955924a89bba716bcb6f1ec582e50f3169e1501eb3d637cb89f921d887d8aba20eb4a4166915e9812aad634bcfd10ab97324164aaec5

pkgname = xivlauncher
9 changes: 9 additions & 0 deletions packages/xivlauncher/XIVLauncher.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=XIVLauncher
Comment=Custom launcher for the most critically acclaimed MMO
Exec=xivlauncher-core
Icon=xivlauncher
Terminal=false
Type=Application
Categories=Game;
StartupWMClass=XIVLauncher.Core
2 changes: 2 additions & 0 deletions packages/xivlauncher/xivlauncher-core
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec /opt/XIVLauncher/XIVLauncher.Core
91 changes: 91 additions & 0 deletions packages/xivlauncher/xivlauncher.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
pkgname="xivlauncher"
repology=("project: xivauncher.core")
pkgver="1.3.1"
pkgdesc="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
arch=('amd64')
url='https://github.com/goatcorp/XIVLauncher.Core/'
license=('GPL-3.0')
depends=(
'build-essential'
'aria2'
'libsdl2-2.0-0'
'libsecret-1-0'
'attr'
'fontconfig'
'liblcms2-2'
'libxml2'
'libxcursor1'
'libxrandr2'
'libxdamage1'
'gettext'
'libfreetype6'
'libglu1-mesa'
'libsm6'
'libpcap0.8'
'libfaudio0'
'desktop-file-utils'
'libjxr0'
'xdg-utils'
)
makedepends=("git")
optdepends=(
'steam: If you have a Steam Service Account'
)
provides=("xivlauncher")
maintainer=("XIVLauncher Linux Maintainers <franz@goat.place>")
conflicts=(
"xivlauncher-bin"
"xivlauncher-git"
)
source=(
"XIVLauncher.Core::git+https://github.com/goatcorp/XIVLauncher.Core.git#tag=${pkgver}"
"XIVLauncher.desktop"
"xivlauncher-core"
)
sha512sums=(
'SKIP'
'c06130b67efff8aa53760cb9c8bd764d4307624ec42c52d58cce388863e64788821f6f836857f200452e75de3b5311466074c70b81ad6d70ab60b286ddfda2e8'
'1b4584216828fac294d9955924a89bba716bcb6f1ec582e50f3169e1501eb3d637cb89f921d887d8aba20eb4a4166915e9812aad634bcfd10ab97324164aaec5'
)

prepare() {
# Set up a temporary dotnet environment because we can't trust various distros to havw the APT repo for it

echo "Setting up dotnet 10 locally"
cd "${srcdir}"
DOTNET_VER="10.0.101"
DOTNET_FILE="dotnet-sdk-${DOTNET_VER}-linux-x64.tar.gz"
export DOTNET_ROOT="${srcdir}/dotnet"

echo "Downloading dotnet"
curl -o "${srcdir}/${DOTNET_FILE}" "https://builds.dotnet.microsoft.com/dotnet/Sdk/${DOTNET_VER}/${DOTNET_FILE}"
mkdir -p "${DOTNET_ROOT}" && tar zxf "${srcdir}/${DOTNET_FILE}" -C "${DOTNET_ROOT}"

export PATH=${PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools

cd "${srcdir}/XIVLauncher.Core"
git submodule update --init --recursive
dotnet restore "${srcdir}/XIVLauncher.Core/src"
}

build() {
# set up dotnet vars again because they get unset
export DOTNET_ROOT="${srcdir}/dotnet"
export PATH=${PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools

# Now we can build the launcher
mkdir -p "${srcdir}/build"
cd "${srcdir}/XIVLauncher.Core/src/XIVLauncher.Core/"
echo "dotnet publish -r linux-x64 --sc -o \"${srcdir}/build\" --configuration Release -p:BuildHash=$(git rev-parse --short HEAD)"
dotnet publish -r linux-x64 --sc -o "${srcdir}/build" --configuration Release -p:BuildHash="$(git rev-parse --short HEAD)"
}

package() {
install -d "${pkgdir}/usr/bin/"
install -d "${pkgdir}/opt/XIVLauncher/"
install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop"
install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core"
install -D -m755 "${srcdir}/xivlauncher-core" "${pkgdir}/usr/bin/xivlauncher-core"
}
42 changes: 42 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -17060,6 +17060,48 @@ pkgbase = xivlauncher-bin

pkgname = xivlauncher-bin
---
pkgbase = xivlauncher
pkgver = 1.3.1
pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
url = https://github.com/goatcorp/XIVLauncher.Core/
arch = amd64
depends = build-essential
depends = aria2
depends = libsdl2-2.0-0
depends = libsecret-1-0
depends = attr
depends = fontconfig
depends = liblcms2-2
depends = libxml2
depends = libxcursor1
depends = libxrandr2
depends = libxdamage1
depends = gettext
depends = libfreetype6
depends = libglu1-mesa
depends = libsm6
depends = libpcap0.8
depends = libfaudio0
depends = desktop-file-utils
depends = libjxr0
depends = xdg-utils
makedepends = git
optdepends = steam: If you have a Steam Service Account
conflicts = xivlauncher-bin
conflicts = xivlauncher-git
provides = xivlauncher
license = GPL-3.0
maintainer = XIVLauncher Linux Maintainers <franz@goat.place>
repology = project: xivauncher.core
source = XIVLauncher.Core::git+https://github.com/goatcorp/XIVLauncher.Core.git#tag=1.3.1
source = XIVLauncher.desktop
source = xivlauncher-core
sha512sums = SKIP
sha512sums = c06130b67efff8aa53760cb9c8bd764d4307624ec42c52d58cce388863e64788821f6f836857f200452e75de3b5311466074c70b81ad6d70ab60b286ddfda2e8
sha512sums = 1b4584216828fac294d9955924a89bba716bcb6f1ec582e50f3169e1501eb3d637cb89f921d887d8aba20eb4a4166915e9812aad634bcfd10ab97324164aaec5

pkgname = xivlauncher
---
pkgbase = xmind-vana-deb
gives = xmind-vana
pkgver = 23.05.1745
Expand Down
Loading