2015-02-23 07:23:41 +08:00
|
|
|
#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=1
|
2015-02-23 07:23:41 +08:00
|
|
|
pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications"
|
2015-01-15 05:23:15 +08:00
|
|
|
arch=('x86_64')
|
2015-02-23 07:23:41 +08:00
|
|
|
url='https://projects.kde.org/projects/kde/workspace/bluedevil'
|
2015-01-15 05:23:15 +08:00
|
|
|
license=('LGPL')
|
2015-02-23 07:23:41 +08:00
|
|
|
depends=('kio' 'libbluedevil-kf5')
|
|
|
|
makedepends=('extra-cmake-modules')
|
2015-01-15 05:23:15 +08:00
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
|
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
2015-01-15 06:56:56 +08:00
|
|
|
install=bluedevil.install
|
2015-01-15 05:23:15 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
cd ${_pkgname}-${pkgver}
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${_pkgname}-${pkgver} \
|
2015-02-23 07:23:41 +08:00
|
|
|
-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
|
|
|
|
}
|