makedeb


xivlauncher-git 1.0.8.0.r1.072480e-1


Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)

Click here to go back to the commit logs for xivlauncher-git.

Commit:


Hash: 7d4ccd9c5c5c5e095280da64d4549324e0f049ef

Message: update PKGBUILD

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3ed9dfd..cc836f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = xivlauncher-git
 pkgbase = xivlauncher-git
 pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
 pkgrel = 1
-pkgver = 1.0.0.0
+pkgver = 1.0.0.9.fca2ac2
 url = https://github.com/goatcorp/FFXIVQuickLauncher/
 arch = amd64
 conflicts = xivlauncher
@@ -27,16 +27,19 @@ depends = libpcap0.8
 depends = libfaudio0
 depends = desktop-file-utils
 depends = libjxr0
+depends = xdg-utils
 license = GPL
-makedepends = dotnet-sdk-6.0>=6
 optdepends = steam
 options = !strip
-provides = xivlauncher=1.0.0.0
+provides = xivlauncher=1.0.0.9.fca2ac2
 source = FFXIVQuickLauncher::git+https://github.com/goatcorp/FFXIVQuickLauncher.git
 source = https://raw.githubusercontent.com/goatcorp/FFXIVQuickLauncher/master/src/XIVLauncher.Core/Resources/logo.png
 source = XIVLauncher.desktop
+source = openssl_fix.cnf
 sha512sums = SKIP
 sha512sums = 4f16ba269ecd60c16a125db5e986d0bdabd69ac51d03ccb01a7203ddd04dea9d40147ee412bbfc37921ca83ff70a966258ae729bcada95ce1582b43160686694
-sha512sums = 5ac774f858d4015c59e6758e2a706b93e822bca9c046ed87210deabc141ac101020d2654fbcf8314f9409a4cfcf921d1e26ec0a3b0beab02d1bcd045fb6e6f14
-makedepends = dotnet-sdk-6.0>=6
+sha512sums = 55cf1a2b2ca5f26484dedbff0f57906b8ba9a963ab52e7c0fea1f242fa55023e49f4ede522d3026d6dced6c7ff73727395e58c4319fa0db6a86c44430bd3d889
+sha512sums = c702d45b607a54716ae3f1c9b0aa548b3226da76b0ae4b8a88e49d16e5117a7ff5164e7dd5b6a2799a16a18d53b2de55a26a87888054c25152df5c4824b38fe0
+makedepends_x86_64 = dotnet-sdk-6.0>=6
 optdepends = steam
+makedepends_x86_64 = dotnet-sdk-6.0>=6
diff --git a/PKGBUILD b/PKGBUILD
index afccb69..d344da2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
+# Maintainer: XIVLauncher Linux Maintainers <franz@goat.place>
 pkgname=xivlauncher-git
-pkgver=1.0.0.0
+pkgver=1.0.0.9.fca2ac2
 pkgrel=1
 pkgdesc="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
 arch=('amd64')
@@ -26,8 +27,9 @@ depends=(
     'libfaudio0'
     'desktop-file-utils'
     'libjxr0'
+    'xdg-utils'
 )
-makedepends=('dotnet-sdk-6.0>=6')
+makedepends_x86_64=('dotnet-sdk-6.0>=6')
 optdepends=('steam')
 options=('!strip')
 provides=("xivlauncher=${pkgver}")
@@ -36,17 +38,19 @@ source=(
     "FFXIVQuickLauncher::git+https://github.com/goatcorp/FFXIVQuickLauncher.git"
     "https://raw.githubusercontent.com/goatcorp/FFXIVQuickLauncher/master/src/XIVLauncher.Core/Resources/logo.png"
     "XIVLauncher.desktop"
+    "openssl_fix.cnf"
 )
 sha512sums=(
     'SKIP'
     '4f16ba269ecd60c16a125db5e986d0bdabd69ac51d03ccb01a7203ddd04dea9d40147ee412bbfc37921ca83ff70a966258ae729bcada95ce1582b43160686694'
-    '5ac774f858d4015c59e6758e2a706b93e822bca9c046ed87210deabc141ac101020d2654fbcf8314f9409a4cfcf921d1e26ec0a3b0beab02d1bcd045fb6e6f14'
+    '55cf1a2b2ca5f26484dedbff0f57906b8ba9a963ab52e7c0fea1f242fa55023e49f4ede522d3026d6dced6c7ff73727395e58c4319fa0db6a86c44430bd3d889'
+    'c702d45b607a54716ae3f1c9b0aa548b3226da76b0ae4b8a88e49d16e5117a7ff5164e7dd5b6a2799a16a18d53b2de55a26a87888054c25152df5c4824b38fe0'
 )
 
-#pkgver() {
-#    cd "${srcdir}/FFXIVQuickLauncher"
-#    git describe --long --always| sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-#}
+pkgver() {
+    cd "${srcdir}/FFXIVQuickLauncher"
+    printf "%s.%s" "$(curl https://raw.githubusercontent.com/goatcorp/xlcore-distrib/main/version.txt)" "$(git rev-parse --short HEAD)"
+}
 
 build() {
     mkdir -p "${srcdir}/build"
@@ -59,6 +63,7 @@ package() {
     install -d "${pkgdir}/opt/XIVLauncher/"
     install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop"
     install -D -m644 "${srcdir}/logo.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
+    install -D -m644 "${srcdir}/openssl_fix.cnf" "${pkgdir}/opt/XIVLauncher/openssl_fix.cnf"
     cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
     ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core"
 }
diff --git a/openssl_fix.cnf b/openssl_fix.cnf
new file mode 100644
index 0000000..c2c6d82
--- /dev/null
+++ b/openssl_fix.cnf
@@ -0,0 +1,11 @@
+openssl_conf = openssl_init
+
+[openssl_init]
+ssl_conf = ssl_module
+
+[ ssl_module ]
+system_default = crypto_policy
+
+[ crypto_policy ]
+MinProtocol = TLSv1.2
+CipherString = DEFAULT:@SECLEVEL=1