git » bluedevil.git » commit 942707d

Add bluez-obex optional dependency

author Antonio Rojas
2024-01-30 21:23:57 UTC
committer Antonio Rojas
2024-01-30 21:23:57 UTC
parent 710cb5896f9beed40605b5cdef78e4103cf22184

Add bluez-obex optional dependency

Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/bluedevil/-/issues/1

.SRCINFO +2 -1
PKGBUILD +3 -2

diff --git a/.SRCINFO b/.SRCINFO
index c6e6529..d499af8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = bluedevil
 	pkgdesc = Integrate the Bluetooth technology within KDE workspace and applications
 	pkgver = 5.27.10
-	pkgrel = 1
+	pkgrel = 2
 	epoch = 1
 	url = https://kde.org/plasma-desktop/
 	arch = x86_64
@@ -13,6 +13,7 @@ pkgbase = bluedevil
 	makedepends = kcmutils5
 	depends = bluez-qt5
 	depends = kdeclarative5
+	optdepends = bluez-obexd: file transfer
 	optdepends = pulseaudio-bluetooth: to connect to A2DP profile
 	source = https://download.kde.org/stable/plasma/5.27.10/bluedevil-5.27.10.tar.xz
 	source = https://download.kde.org/stable/plasma/5.27.10/bluedevil-5.27.10.tar.xz.sig
diff --git a/PKGBUILD b/PKGBUILD
index 55db9af..cd2cf12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=bluedevil
 pkgver=5.27.10
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='Integrate the Bluetooth technology within KDE workspace and applications'
 arch=(x86_64)
@@ -13,7 +13,8 @@ url='https://kde.org/plasma-desktop/'
 license=(GPL2)
 depends=(bluez-qt5 kdeclarative5)
 makedepends=(extra-cmake-modules plasma-framework5 kdoctools5 kcmutils5)
-optdepends=('pulseaudio-bluetooth: to connect to A2DP profile')
+optdepends=('bluez-obexd: file transfer'
+            'pulseaudio-bluetooth: to connect to A2DP profile')
 groups=(plasma)
 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
 sha256sums=('771fd58c2e1945e9f375598a5d1120671d9142d95580f08ec22494dd4d7fa180'