From 58e5f947078bfe2f58a75b95bf0f14e5e034638e Mon Sep 17 00:00:00 2001 From: Denis Revin Date: Thu, 13 Oct 2016 15:37:46 +0400 Subject: [PATCH] New package: bluez-qt5-5.26.0 --- common/shlibs | 1 + srcpkgs/bluez-qt5-devel | 1 + srcpkgs/bluez-qt5/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/bluez-qt5-devel create mode 100644 srcpkgs/bluez-qt5/template diff --git a/common/shlibs b/common/shlibs index 0cb0fadcc7e..5d4da2048e5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2675,6 +2675,7 @@ libKF5PlasmaQuick.so.5 plasma-framework-5.26.0_1 libKF5ModemManagerQt.so.6 modemmanager-qt5-5.26.0_1 libKF5People.so.5 kpeople-5.26.0_1 libKF5XmlRpcClient.so.5 kxmlrpcclient-5.26.0_1 +libKF5BluezQt.so.6 bluez-qt5-5.26.0_1 liblmdb.so.0 lmdb-0.9.18_2 libisns.so.0 libisns-0.96_1 libz80ex.so.1 z80ex-1.1.21_1 diff --git a/srcpkgs/bluez-qt5-devel b/srcpkgs/bluez-qt5-devel new file mode 120000 index 00000000000..6f8c3e7cee9 --- /dev/null +++ b/srcpkgs/bluez-qt5-devel @@ -0,0 +1 @@ +bluez-qt5 \ No newline at end of file diff --git a/srcpkgs/bluez-qt5/template b/srcpkgs/bluez-qt5/template new file mode 100644 index 00000000000..968787d73ed --- /dev/null +++ b/srcpkgs/bluez-qt5/template @@ -0,0 +1,31 @@ +# Template file for 'bluez-qt5' +pkgname=bluez-qt5 +version=5.26.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +wrksrc="${pkgname%5}-${version}" +hostmakedepends="extra-cmake-modules" +makedepends="qt5-declarative-devel" +depends="bluez" +short_desc="Qt wrapper for BlueZ 5 DBus API" +maintainer="Denis Revin " +license="LGPL-2" +homepage="https://projects.kde.org/projects/frameworks/bluez-qt5" +distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz" +checksum=67205efeac8579a2ff0f8de7fdb61a8510e8ca8f6bc2e147d8846fd3b52c4358 + +post_extract() { + sed -i CMakeLists.txt -e 's|/lib/udev/rules.d|/usr/lib/udev/rules.d|g' +} + +bluez-qt5-devel_package() { + short_desc+=" - development" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/qt5/mkspecs + vmove usr/lib/cmake + vmove usr/lib/*.so + } +}