core/bluedevil-kf5/PKGBUILD

51 lines
1.4 KiB
Bash
Raw Normal View History

#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/bluedevil-frameworks
2015-01-15 05:23:15 +08:00
source ../plasma.conf
pkgname=bluedevil-kf5
_pkgname=bluedevil
pkgver=${PVersion}
pkgrel=2
pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications"
2015-01-15 05:23:15 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/bluedevil'
2015-01-15 05:23:15 +08:00
license=('LGPL')
2015-05-27 06:10:00 +08:00
depends=('bluez-qt' 'bluez' 'kcoreaddons' 'kwidgetsaddons' 'kdbusaddons' 'ki18n' 'kinit' 'kio'
'kiconthemes' 'knotifications' 'plasma-framework' 'kded' 'python3')
makedepends=('extra-cmake-modules' 'kdoctools')
2015-01-15 05:23:15 +08:00
groups=('plasma')
options=("debug")
2015-02-25 05:26:37 +08:00
replaces=('bluedevil')
provides=('bluedevil')
conflicts=('bluedevil')
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz"
'bluezqt5.11.patch')
sha256sums=( $(getSum ${_pkgname})
'4571d8fec90cdd83029b6cfd1d04184084a48b164f11ce19686c7c3d5355f23b')
install=bluedevil.install
2015-01-15 05:23:15 +08:00
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
# compile against the newest bluez-qt from kde frameworks
patch -p1 -i $srcdir/bluezqt5.11.patch
2015-01-15 05:23:15 +08:00
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
2015-01-15 05:23:15 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}