mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 13:17:15 +08:00
bluedevil update
This commit is contained in:
parent
b83a2aa55b
commit
82c450d86c
@ -8,34 +8,29 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=bluedevil
|
||||
pkgver=1.1.1
|
||||
pkgrel=2
|
||||
pkgdesc='The new bluetooth stack for KDE, it is composed of: KCM, KDED, KIO, Library and some other small applications'
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgdesc='KDE bluetooth framework'
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://gitorious.org/bluedevil"
|
||||
url="https://projects.kde.org/projects/extragear/base/bluedevil"
|
||||
license=('GPL')
|
||||
depends=('kdelibs' 'libbluedevil>=1.9' 'obex-data-server' 'obexd-client') # kdebase-workspace
|
||||
depends=('kde-workspace' 'libbluedevil' 'obex-data-server' 'obexd-client')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=(bluedevil)
|
||||
conflicts=(bluedevil-git)
|
||||
|
||||
install="${pkgname}.install"
|
||||
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('b3764fb8ead502e2d410b0c0fc86ac6c')
|
||||
md5sums=('e5f53fa306f11732f18eaed141cbd51b')
|
||||
|
||||
build(){
|
||||
cd ${srcdir}
|
||||
|
||||
mkdir -p build
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake ../$pkgname-$pkgver \
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
cd "${srcdir}"/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
12
tools-pkg-bluedevil/bluedevil.install
Normal file
12
tools-pkg-bluedevil/bluedevil.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user