summaryrefslogtreecommitdiff
path: root/user/bluedevil/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 06:12:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 06:12:09 +0000
commit5ec168ac46ad779bd4b5f12e495a08c4bfd81a47 (patch)
treebaf81aa762640d1358be8681c80e0b9d91b32b38 /user/bluedevil/APKBUILD
parent8d79dba62b95824354e2389df32fe529385cc174 (diff)
downloadpackages-5ec168ac46ad779bd4b5f12e495a08c4bfd81a47.tar.gz
packages-5ec168ac46ad779bd4b5f12e495a08c4bfd81a47.tar.bz2
packages-5ec168ac46ad779bd4b5f12e495a08c4bfd81a47.tar.xz
packages-5ec168ac46ad779bd4b5f12e495a08c4bfd81a47.zip
user/bluedevil: New package
Diffstat (limited to 'user/bluedevil/APKBUILD')
-rw-r--r--user/bluedevil/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/bluedevil/APKBUILD b/user/bluedevil/APKBUILD
new file mode 100644
index 000000000..b697611a4
--- /dev/null
+++ b/user/bluedevil/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=bluedevil
+pkgver=5.18.1
+pkgrel=0
+pkgdesc="Bluetooth framework for KDE"
+url="https://userbase.kde.org/Bluedevil"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+ AND (LGPL-2.1-only OR LGPL-3.0-only) AND GPL-3.0+"
+depends="kded shared-mime-info"
+makedepends="bluez-qt-dev cmake extra-cmake-modules kauth-dev kcodecs-dev
+ kcompletion-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev
+ kded-dev kiconthemes-dev kio-dev kitemviews-dev kjobwidgets-dev
+ knotifications-dev kpackage-dev kservice-dev kwidgetsaddons-dev
+ kwindowsystem-dev kxmlgui-dev plasma-framework-dev qt5-qtbase-dev
+ qt5-qtdeclarative-dev solid-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/bluedevil-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c19ab2f9e3a4d79c1c10af197661bc0928257a6c85f16a50ff761fc78a8213991baae5d687e18bd9a19b01a2d6678407dd327aaff0c41151a61676d934b0038c bluedevil-5.18.1.tar.xz"