summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD24
2 files changed, 23 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d9e1a7153a..c08025c0008 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = airtame-application
pkgdesc = Airtame official screen streaming application.
- pkgver = 4.1.0
+ pkgver = 4.1.1
pkgrel = 1
url = https://airtame.com
arch = x86_64
license = custom
+ makedepends = patchelf
depends = gtk3
depends = libnotify
depends = nss
@@ -14,8 +15,10 @@ pkgbase = airtame-application
depends = libutil-linux
depends = libappindicator-gtk3
depends = libsecret
- source = https://downloads.airtame.com/app/latest/linux/Airtame-4.1.0.deb
- sha1sums = a57a0e5f1d45746bb4455f6632470feb2c52cffe
+ depends = libpulse
+ depends = opus
+ source = https://downloads.airtame.com/app/latest/linux/Airtame-4.1.1.deb
+ sha1sums = ee8b8b0da48744ecc96ae98ea24ce4d57ac47c58
pkgname = airtame-application
diff --git a/PKGBUILD b/PKGBUILD
index 375ac8a0bcf..c73f8ffef64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,34 @@
# Contributor: mod24 <bruenker(at)sintro(dot)de>
pkgname=airtame-application
-pkgver=4.1.0
+pkgver=4.1.1
pkgrel=1
pkgdesc="Airtame official screen streaming application."
arch=('x86_64')
url="https://airtame.com"
license=('custom')
-depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libutil-linux' 'libappindicator-gtk3' 'libsecret')
+depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libutil-linux' 'libappindicator-gtk3' 'libsecret' 'libpulse' 'opus')
+makedepends=('patchelf')
source=("https://downloads.airtame.com/app/latest/linux/Airtame-${pkgver}.deb")
-sha1sums=('a57a0e5f1d45746bb4455f6632470feb2c52cffe')
+sha1sums=('ee8b8b0da48744ecc96ae98ea24ce4d57ac47c58')
package() {
# Extract package data
tar xf data.tar.xz -C "${pkgdir}"
+ # Move airtame to correct folder
+ mv "${pkgdir}/opt/Airtame/" "${pkgdir}/opt/${pkgname}"
+
+ # Fix path for desktop file
+ sed -i "s|/opt/Airtame|/opt/${pkgname}|g" "${pkgdir}/usr/share/applications/airtame-application.desktop"
+
+ # Fix insecure rpath
+ patchelf --force-rpath --set-rpath "\$ORIGIN" "${pkgdir}/opt/${pkgname}/resources/build/native/out/lib/libAirtameEncryption.so"
+
# Install licenses
- install -m 644 -D ${pkgdir}/opt/Airtame/LICENSE.electron.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt
- install -m 644 -D ${pkgdir}/opt/Airtame/LICENSES.chromium.html ${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html
+ install -m 644 -D "${pkgdir}/opt/${pkgname}/LICENSE.electron.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
+ install -m 644 -D "${pkgdir}/opt/${pkgname}/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
# Make airtame-application available in /usr/bin/
- mkdir ${pkgdir}/usr/bin
- ln -s /opt/Airtame/airtame-application ${pkgdir}/usr/bin/airtame-application
+ mkdir "${pkgdir}/usr/bin"
+ ln -s "/opt/${pkgname}/airtame-application" "${pkgdir}/usr/bin/airtame-application"
}