From cb759b0e0307e0c367e6a46ed599ed6a37109fcb Mon Sep 17 00:00:00 2001 From: Fabian Kosmale <0inkane@googlemail.com> Date: Sat, 11 Apr 2015 20:48:29 +0000 Subject: [PATCH] added new plasma packages: bluez-qt and plasma-sdk --- bluedevil-kf5/PKGBUILD | 2 +- bluez-qt/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ plasma-nm/PKGBUILD | 2 +- plasma-sdk/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 bluez-qt/PKGBUILD create mode 100644 plasma-sdk/PKGBUILD diff --git a/bluedevil-kf5/PKGBUILD b/bluedevil-kf5/PKGBUILD index 985b11476..eb60b5ef1 100644 --- a/bluedevil-kf5/PKGBUILD +++ b/bluedevil-kf5/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc="Integrate the Bluetooth technology within KDE workspace and application arch=('x86_64') url='https://projects.kde.org/projects/kde/workspace/bluedevil' license=('LGPL') -depends=('kio' 'libbluedevil-kf5') +depends=('kio' 'bluez-qt5') makedepends=('extra-cmake-modules') groups=('plasma') options=("debug") diff --git a/bluez-qt/PKGBUILD b/bluez-qt/PKGBUILD new file mode 100644 index 000000000..ce3f9ecff --- /dev/null +++ b/bluez-qt/PKGBUILD @@ -0,0 +1,33 @@ +source ../plasma.conf + +pkgname=bluez-qt +pkgver=${PVersion} +pkgrel=1 +pkgdesc='The new bluedevil library' +url="https://projects.kde.org/" +arch=('x86_64') +url='https://projects.kde.org/projects/kde/workspace/khotkeys' +license=('LGPL') +depends=('qt5-base' 'qt5-declarative') +makedepends=('extra-cmake-modules' 'kdoctools') +replaces=('libbluedevil-kf5') +conflicts=('libbluedevil-kf5') +groups=('plasma') +options=("debug") +source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz") +sha256sums=( $(getSum ${pkgname}) ) + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake_kf5 ../${pkgname}-${pkgver} + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/plasma-nm/PKGBUILD b/plasma-nm/PKGBUILD index 1a9100ccb..b20eaf937 100644 --- a/plasma-nm/PKGBUILD +++ b/plasma-nm/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc='Plasma applet written in QML for managing network connections' arch=('x86_64') url="https://projects.kde.org/projects/playground/network/plasma-nm" license=('GPL2') -depends=('plasma-framework' 'libmm-qt5' 'networkmanager-qt') +depends=('plasma-framework' 'modemmanager-qt' 'networkmanager-qt') makedepends=('extra-cmake-modules' 'kdoctools' 'openconnect' 'mobile-broadband-provider-info' 'python3' 'kdelibs4support') optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers' diff --git a/plasma-sdk/PKGBUILD b/plasma-sdk/PKGBUILD new file mode 100644 index 000000000..6e6d5c42f --- /dev/null +++ b/plasma-sdk/PKGBUILD @@ -0,0 +1,41 @@ +source ../plasma.conf + +pkgname=plasma-sdk +pkgver=${PVersion} +pkgrel=1 +pkgdesc='Plasma development tools' +url="https://projects.kde.org/" +arch=('x86_64') +url='https://projects.kde.org/projects/kde/workspace/khotkeys' +license=('GPL') +# find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core DBus Gui Qml Quick Svg WebKit WebKitWidgets Widgets Xml) +# find_package(KF5 REQUIRED COMPONENTS +# Archive Completion Config ConfigWidgets CoreAddons Declarative I18n IconThemes +# KIO NewStuff Parts Plasma PlasmaQuick Service TextEditor WidgetsAddons XmlGui WindowSystem) + +depends=('qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-xmlpatterns' + 'karchive' 'kcompletion' 'kconfig' 'kconfigwidgets' + 'kcoreaddons' 'kdeclarative' 'ki18n' 'kiconthemes' + 'kio' 'knewstuff' 'kparts' 'plasma-framework' 'kservice' + 'ktexteditor' 'kwidgetsaddons' 'kxmlgui' 'kwindowsystem') + +makedepends=('extra-cmake-modules' 'kdoctools') +groups=('plasma') +options=("debug") +source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz") +sha256sums=( $(getSum ${pkgname}) ) + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake_kf5 ../${pkgname}-${pkgver} + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}