makedeb


element-desktop-bin 1.11.86-1


A feature-rich client for Matrix.org

Click here to go back to the commit logs for element-desktop-bin.

Commit:


Hash: 662a212cc770b879e5b9c41bb4f01707aa995b7e

Message: Fix dependencies for newer distros

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 2bd50d2..f89ce7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = element-desktop-bin
 pkgbase = element-desktop-bin
 pkgdesc = A feature-rich client for Matrix.org
 pkgrel = 1
-pkgver = 1.11.74
+pkgver = 1.11.86
 url = https://element.io/
 arch = amd64
 conflicts = riot-desktop<1.7.0
@@ -17,11 +17,11 @@ depends = xdg-utils
 depends = libatspi2.0-0
 depends = libuuid1
 depends = libsecret-1-0
-depends = libsqlcipher0
+depends = libsqlcipher1
 license = Apache-2.0
 optdepends = libappindicator3-1
 replaces = riot-desktop<1.7.0
 replaces = riot-web<1.7.0
-source = https://packages.element.io/debian/pool/main/e/element-desktop/element-desktop_1.11.74_amd64.deb
+source = https://packages.element.io/debian/pool/main/e/element-desktop/element-desktop_1.11.86_amd64.deb
 sha256sums = SKIP
 optdepends = libappindicator3-1
diff --git a/PKGBUILD b/PKGBUILD
index 8732244..de6ec2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,22 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
 pkgname=element-desktop-bin
-pkgver=1.11.74
+pkgver=1.11.86
 pkgrel=1
 pkgdesc="A feature-rich client for Matrix.org"
 arch=('amd64')
 url="https://element.io/"
 license=('Apache-2.0')
-depends=('libgtk-3-0' 'libnotify4' 'libnss3' 'libxss1' 'libxtst6' 'xdg-utils' 'libatspi2.0-0' 'libuuid1' 'libsecret-1-0' 'libsqlcipher0')
+depends=('libgtk-3-0' 'libnotify4' 'libnss3' 'libxss1' 'libxtst6' 'xdg-utils' 'libatspi2.0-0' 'libuuid1' 'libsecret-1-0')
 optdepends=('libappindicator3-1')
 conflicts=('riot-desktop<1.7.0' 'riot-web<1.7.0')
 replaces=('riot-desktop<1.7.0' 'riot-web<1.7.0')
 
+if [[ "${MAKEDEB_DISTRO_CODENAME}" == 'oracular' || "${MAKEDEB_DISTRO_CODENAME}" == 'noble' ]]; then
+	depends+=('libsqlcipher1')
+else
+	depends+=('libsqlcipher0')
+fi
+
 source=("https://packages.element.io/debian/pool/main/e/element-desktop/element-desktop_${pkgver}_amd64.deb")
 sha256sums=('SKIP')