From a417c879672e58aea5bd2d0db610154128031b53 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Fri, 9 Aug 2024 06:36:42 -0700 Subject: [PATCH] init --- .../91_plasma.gschema.override | 3 ++ danctnix-plasma-desktop-settings/PKGBUILD | 42 ++++++++++++++++ .../danctnix-plasma-desktop-settings.install | 9 ++++ danctnix-plasma-desktop-settings/kwinrc | 7 +++ .../plasmamobile.json | 41 ++++++++++++++++ .../sddm.conf.d-danctnix.conf | 10 ++++ danctnix-pm-ui-meta/PKGBUILD | 32 ++++++++++++ hfd-service/PKGBUILD | 34 +++++++++++++ hfd-service/plugin_install_dir.patch | 13 +++++ lomiri-deviceinfo/PKGBUILD | 30 ++++++++++++ plasma-dialer/PKGBUILD | 49 +++++++++++++++++++ plasma-dialer/plasma-dialer.install | 13 +++++ plasma-mobile-autologin/60-plasma-al.conf | 4 ++ plasma-mobile-autologin/PKGBUILD | 17 +++++++ .../plasma-mobile-autologin.install | 3 ++ plasma-mobile-sounds/PKGBUILD | 20 ++++++++ plasma-mobile/PKGBUILD | 42 ++++++++++++++++ plasma-mobile/plasma-mobile.install | 12 +++++ plasma-nano/PKGBUILD | 40 +++++++++++++++ plasma-phone-settings/PKGBUILD | 36 ++++++++++++++ .../plasma-phone-settings.install | 19 +++++++ plasma-phonebook/PKGBUILD | 38 ++++++++++++++ plasma-settings/PKGBUILD | 35 +++++++++++++ spacebar/PKGBUILD | 48 ++++++++++++++++++ 24 files changed, 597 insertions(+) create mode 100644 danctnix-plasma-desktop-settings/91_plasma.gschema.override create mode 100644 danctnix-plasma-desktop-settings/PKGBUILD create mode 100644 danctnix-plasma-desktop-settings/danctnix-plasma-desktop-settings.install create mode 100644 danctnix-plasma-desktop-settings/kwinrc create mode 100644 danctnix-plasma-desktop-settings/plasmamobile.json create mode 100644 danctnix-plasma-desktop-settings/sddm.conf.d-danctnix.conf create mode 100644 danctnix-pm-ui-meta/PKGBUILD create mode 100644 hfd-service/PKGBUILD create mode 100644 hfd-service/plugin_install_dir.patch create mode 100644 lomiri-deviceinfo/PKGBUILD create mode 100644 plasma-dialer/PKGBUILD create mode 100644 plasma-dialer/plasma-dialer.install create mode 100644 plasma-mobile-autologin/60-plasma-al.conf create mode 100644 plasma-mobile-autologin/PKGBUILD create mode 100644 plasma-mobile-autologin/plasma-mobile-autologin.install create mode 100644 plasma-mobile-sounds/PKGBUILD create mode 100644 plasma-mobile/PKGBUILD create mode 100644 plasma-mobile/plasma-mobile.install create mode 100644 plasma-nano/PKGBUILD create mode 100644 plasma-phone-settings/PKGBUILD create mode 100644 plasma-phone-settings/plasma-phone-settings.install create mode 100644 plasma-phonebook/PKGBUILD create mode 100644 plasma-settings/PKGBUILD create mode 100644 spacebar/PKGBUILD diff --git a/danctnix-plasma-desktop-settings/91_plasma.gschema.override b/danctnix-plasma-desktop-settings/91_plasma.gschema.override new file mode 100644 index 0000000..4489976 --- /dev/null +++ b/danctnix-plasma-desktop-settings/91_plasma.gschema.override @@ -0,0 +1,3 @@ +[org.maliit.keyboard.maliit] +device='plasmamobile' +theme='Breeze' diff --git a/danctnix-plasma-desktop-settings/PKGBUILD b/danctnix-plasma-desktop-settings/PKGBUILD new file mode 100644 index 0000000..33d58ef --- /dev/null +++ b/danctnix-plasma-desktop-settings/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Danct12 + +pkgname=danctnix-plasma-desktop-settings +pkgver=20240312 +pkgrel=1 +arch=('any') +url="https://danctnix.org" +license=('GPL') +pkgdesc='Settings files for Plasma Desktop' +depends=( + 'breeze-gtk' + 'kwin' + 'layer-shell-qt5' + 'maliit-keyboard' + 'noto-fonts' + 'plasma-desktop' + 'sddm' +) +makedepends=('git') +install=$pkgname.install +source=('kwinrc' + '91_plasma.gschema.override' + 'plasmamobile.json' + 'sddm.conf.d-danctnix.conf') +sha256sums=('57ef45fb1065ca281786aca343f4a51584455c444e95f61f54c5545b1aa27eda' + 'fd5a89ce81197a912a9879aa5aa33daf68c8f80a4b70192fff89364ef9d18734' + '42db6e099ab56aa4f6c01107fe83897a059bc371a389379cd3c260d4ab8fd2bc' + '1b3bd51533da9fb9f04c20ff5143b64238dff0ccc5cd47e114b93eff3a0bb6d8') + +pkgver() { + date +%Y%m%d +} + +package() { + xdg=$pkgdir/etc/xdg + install -Dm644 kwinrc $xdg/kwinrc + install -Dm644 "${srcdir}/91_plasma.gschema.override" -t "${pkgdir}/usr/share/glib-2.0/schemas" + install -Dm644 "${srcdir}/plasmamobile.json" -t "${pkgdir}/usr/share/maliit/keyboard2/devices/" + + # sddm login + install -Dm644 "${srcdir}/sddm.conf.d-danctnix.conf" "${pkgdir}/etc/sddm.conf.d/danctnix.conf" +} diff --git a/danctnix-plasma-desktop-settings/danctnix-plasma-desktop-settings.install b/danctnix-plasma-desktop-settings/danctnix-plasma-desktop-settings.install new file mode 100644 index 0000000..6f60e9c --- /dev/null +++ b/danctnix-plasma-desktop-settings/danctnix-plasma-desktop-settings.install @@ -0,0 +1,9 @@ +post_install() { + dconf update + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + dconf update + glib-compile-schemas /usr/share/glib-2.0/schemas +} diff --git a/danctnix-plasma-desktop-settings/kwinrc b/danctnix-plasma-desktop-settings/kwinrc new file mode 100644 index 0000000..0ef4799 --- /dev/null +++ b/danctnix-plasma-desktop-settings/kwinrc @@ -0,0 +1,7 @@ +[Plugins] +# Blur is far too slow for many mobile devices, don't have it enabled by default +blurEnabled=false + +[Wayland] +InputMethod[$e]=/usr/share/applications/com.github.maliit.keyboard.desktop +VirtualKeyboardEnabled=true diff --git a/danctnix-plasma-desktop-settings/plasmamobile.json b/danctnix-plasma-desktop-settings/plasmamobile.json new file mode 100644 index 0000000..47b07b6 --- /dev/null +++ b/danctnix-plasma-desktop-settings/plasmamobile.json @@ -0,0 +1,41 @@ +{ + "defaultGridUnitPx": 8, + + "keyMargins": 0.25, + + "fontSize": 2.5, + "fontBold": false, + + "annotationFontSize": 10, + "annotationTopMargin": 0.35, + "annotationRightMargin": 0.65, + + "magnifierHorizontalPadding": 1.8, + "magnifierVerticalPadding": 1, + + "actionKeyPadding": 2, + "symbolShiftKeyFontSize": 2, + "smallFontSize": 1.5, + + "popoverCellPadding": 2.2, + "popoverTopMargin": 10, + "popoverEdgeMargin": 2.2, + "popoverSquat": 3, + + "top_margin": 1, + "bottom_margin": 0, + "row_margin": 0, + "rowMarginLandscape": 4, + "rowMarginPortrait": 7, + + "emailLayoutUrlKeyPadding": 1.5, + + "wordRibbonHeight": 4, + "wordRibbonFontSize": 14, + + "keyboardHeightPortrait": 0.30, + "keyboardHeightLandscape": 0.39, + + "flickMargin": 1.5, + "flickBorderWidth": 0.1 +} diff --git a/danctnix-plasma-desktop-settings/sddm.conf.d-danctnix.conf b/danctnix-plasma-desktop-settings/sddm.conf.d-danctnix.conf new file mode 100644 index 0000000..1f4e401 --- /dev/null +++ b/danctnix-plasma-desktop-settings/sddm.conf.d-danctnix.conf @@ -0,0 +1,10 @@ +[Theme] +Current=breeze + +[General] +DisplayServer=wayland +GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell +InputMethod= + +[Wayland] +CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen --inputmethod maliit-keyboard diff --git a/danctnix-pm-ui-meta/PKGBUILD b/danctnix-pm-ui-meta/PKGBUILD new file mode 100644 index 0000000..a832435 --- /dev/null +++ b/danctnix-pm-ui-meta/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Danct12 + +pkgname=danctnix-pm-ui-meta +pkgver=6.0 +pkgrel=1 +pkgdesc='Meta package to install Plasma Mobile' +arch=(any) +url='https://danctnix.org' +depends=( + bluedevil + breeze + breeze-gtk + drkonqi + kscreen + kwallet-pam + kwayland-integration + iio-sensor-proxy + maliit-keyboard + noto-fonts + oxygen + oxygen-sounds + plasma-mobile + plasma-mobile-sounds + plasma-phone-settings + plasma-workspace-wallpapers + polkit-kde-agent + powerdevil + qqc2-breeze-style + qt5-graphicaleffects # remove this after maliit-keyboard 2.3.1-3 lands + xdg-desktop-portal + xdg-desktop-portal-kde +) diff --git a/hfd-service/PKGBUILD b/hfd-service/PKGBUILD new file mode 100644 index 0000000..3228026 --- /dev/null +++ b/hfd-service/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Danct12 +pkgname=hfd-service +pkgver=0.2.2 +pkgrel=1 +pkgdesc="Service that manages human feedback devices on mobile devices" +arch=('x86_64' 'armv7h' 'aarch64') +url="https://gitlab.com/ubports/core/hfd-service" +license=('LGPL-3.0-only') +depends=('accountsservice' 'lomiri-deviceinfo' 'qt5-base' 'qt5-feedback') +makedepends=('cmake' 'cmake-extras') +source=(https://gitlab.com/ubports/core/hfd-service/-/archive/$pkgver/hfd-service-$pkgver.tar.gz + plugin_install_dir.patch) + +prepare() { + cd "$pkgname-$pkgver" + patch -p1 -N < ../plugin_install_dir.patch +} + +build() { + cmake -B build -S "$pkgname-$pkgver" \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DENABLE_LIBHYBRIS=OFF \ + -DENABLE_LIBGBINDER=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +md5sums=('c1629aff85b8f814d6638cd1560928d1' + 'f65d8618960aa3466db99708abd974de') diff --git a/hfd-service/plugin_install_dir.patch b/hfd-service/plugin_install_dir.patch new file mode 100644 index 0000000..6f17205 --- /dev/null +++ b/hfd-service/plugin_install_dir.patch @@ -0,0 +1,13 @@ +diff --git a/qt/feedback-plugin/CMakeLists.txt b/qt/feedback-plugin/CMakeLists.txt +index 4f1d00a..2441f97 100644 +--- a/qt/feedback-plugin/CMakeLists.txt ++++ b/qt/feedback-plugin/CMakeLists.txt +@@ -23,7 +23,7 @@ add_library( + + # Ideally, we would read the plugin installation location from cmake + # but this does not work currently. +-set(PLUGIN_INSTALL_LOCATION "${CMAKE_INSTALL_LIBDIR}/qt5/plugins/feedback") ++set(PLUGIN_INSTALL_LOCATION "${CMAKE_INSTALL_LIBDIR}/qt/plugins/feedback") + # get_target_property(PLUGIN_LOCATION Qt5::Feedback PLUGIN_LOCATION) + + message(STATUS "Installing Qt5 feedback plugin to: ${PLUGIN_INSTALL_LOCATION}") diff --git a/lomiri-deviceinfo/PKGBUILD b/lomiri-deviceinfo/PKGBUILD new file mode 100644 index 0000000..dec3c57 --- /dev/null +++ b/lomiri-deviceinfo/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Danct12 + +pkgname=lomiri-deviceinfo +pkgver=0.2.2 +pkgrel=1 +pkgdesc='Library to detect and configure devices' +arch=('x86_64' 'armv7h' 'aarch64') +url="https://gitlab.com/ubports/development/core/deviceinfo" +license=('GPL-3.0-only') +depends=('yaml-cpp') +makedepends=('cmake' 'cmake-extras' 'git') +checkdepends=('gcovr' 'gtest') +source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/ubports/development/core/deviceinfo/-/archive/$pkgver/deviceinfo-$pkgver.tar.gz") + +build() { + cmake -B build -S "deviceinfo-$pkgver" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCONFIG_PATH=/etc/lomiri-deviceinfo + cmake --build build +} + +check() { + ctest --test-dir build --output-on-failure +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha256sums=('c964cde6ce618a42829be05c48e70edb464f61d604f1e89f4c685d981e8d8aa9') diff --git a/plasma-dialer/PKGBUILD b/plasma-dialer/PKGBUILD new file mode 100644 index 0000000..4c72f0e --- /dev/null +++ b/plasma-dialer/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Danct12 +# Contributor: Furkan Kardame +# Contributor: Bhushan Shah + +pkgname=plasma-dialer +pkgver=23.01.0 +pkgrel=5 +pkgdesc="Phone Dialer for Plasma Mobile" +arch=('aarch64' 'x86_64') +url="https://community.kde.org/Plasma/Mobile" +license=('GPL3') +depends=(callaudiod + desktop-file-utils + kcontacts5 + kdbusaddons5 + kio5 + kirigami-addons5 + knotifications5 + kpeople5 + libphonenumber + modemmanager-qt5 + pulseaudio-qt + qt5-feedback + qt5-quickcontrols2 + qtmpris + telepathy-mission-control) +makedepends=(cmake + extra-cmake-modules + kdoctools5 + plasma-wayland-protocols) +source=("https://download.kde.org/stable/plasma-mobile/$pkgver/$pkgname-$pkgver.tar.xz") +install=$pkgname.install +md5sums=('2c9795160dbe66c16510d02c0fb357d0') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF + cmake --build build +} + +check() { + cd build + ctest --output-on-failure +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} diff --git a/plasma-dialer/plasma-dialer.install b/plasma-dialer/plasma-dialer.install new file mode 100644 index 0000000..511c7a8 --- /dev/null +++ b/plasma-dialer/plasma-dialer.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/plasma-mobile-autologin/60-plasma-al.conf b/plasma-mobile-autologin/60-plasma-al.conf new file mode 100644 index 0000000..c916a76 --- /dev/null +++ b/plasma-mobile-autologin/60-plasma-al.conf @@ -0,0 +1,4 @@ +[Seat:*] +autologin-user=username +autologin-user-timeout=0 +autologin-session=plasma-mobile diff --git a/plasma-mobile-autologin/PKGBUILD b/plasma-mobile-autologin/PKGBUILD new file mode 100644 index 0000000..8506f8c --- /dev/null +++ b/plasma-mobile-autologin/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: Danct12 + +pkgname=plasma-mobile-autologin +pkgver=5.20 +pkgrel=1 +pkgdesc='Auto login to Plasma Mobile on boot up' +arch=(any) +url='https://mobile.danctnix.org' +depends=('lightdm' 'danctnix-pm-ui-meta') +install="$pkgname.install" +source=("60-plasma-al.conf") + +package() { + install -Dm644 "${srcdir}/60-plasma-al.conf" -t "${pkgdir}/usr/share/lightdm/lightdm.conf.d/" +} + +md5sums=('fc0770b5d4ccb948585ff655fa72d4c5') diff --git a/plasma-mobile-autologin/plasma-mobile-autologin.install b/plasma-mobile-autologin/plasma-mobile-autologin.install new file mode 100644 index 0000000..5e94f38 --- /dev/null +++ b/plasma-mobile-autologin/plasma-mobile-autologin.install @@ -0,0 +1,3 @@ +post_install() { + sed -i "s/username/$(getent passwd 1000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-plasma-al.conf +} diff --git a/plasma-mobile-sounds/PKGBUILD b/plasma-mobile-sounds/PKGBUILD new file mode 100644 index 0000000..b6c9d15 --- /dev/null +++ b/plasma-mobile-sounds/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Danct12 +pkgname=plasma-mobile-sounds +pkgver=0.1 +pkgrel=1 +pkgdesc="Sound Theme for Plasma Mobile by KDE" +arch=(any) +url="https://invent.kde.org/plasma-mobile/plasma-mobile-sounds" +license=('CCPL' 'GPL') +makedepends=('cmake' 'extra-cmake-modules') +source=(https://download.kde.org/stable/plasma-mobile-sounds/$pkgver/plasma-mobile-sounds-$pkgver.tar.xz) + +build() { + cmake -B build -S "$pkgname-$pkgver" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +md5sums=('612003ae4b4269361d80ef248de1d630') diff --git a/plasma-mobile/PKGBUILD b/plasma-mobile/PKGBUILD new file mode 100644 index 0000000..5620156 --- /dev/null +++ b/plasma-mobile/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Danct12 +# Contributor: dodgejcr@gmail.com +# Contributor: Bhushan Shah + +pkgname=plasma-mobile +pkgver=6.1.2 +_dirver=$(echo $pkgver | cut -d. -f1-3) +pkgrel=1 +pkgdesc="Plasma shell for mobile devices" +arch=('x86_64' 'armv7h' 'aarch64') +url="https://community.kde.org/Plasma/Mobile" +license=('GPL-2.0-or-later AND LGPL-2.1-or-later') +depends=( + bluez-qt + libplasma + kirigami-addons + milou + plasma-nano + plasma-nm + plasma-pa + plasma-workspace=$pkgver +) +makedepends=( + cmake + extra-cmake-modules +) +optdepends=('hfd-service: Haptic feedback') +replaces=('plasma-phone-components') +source=("https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz") +install=$pkgname.install +sha512sums=('db59764c89c91245fca60569a996a61e64e7e7eb0a869e10f65fda47dd6c9a7bb1843dfd7bc24d4d6c4cfb2a55a9d5f0a8f3e3ade6f8000edd8509a3efa5479e') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} diff --git a/plasma-mobile/plasma-mobile.install b/plasma-mobile/plasma-mobile.install new file mode 100644 index 0000000..5495fb1 --- /dev/null +++ b/plasma-mobile/plasma-mobile.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/plasma-nano/PKGBUILD b/plasma-nano/PKGBUILD new file mode 100644 index 0000000..537ee00 --- /dev/null +++ b/plasma-nano/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Danct12 +# Contributor: Devin Lin +pkgname=plasma-nano +pkgver=6.1.2 +pkgrel=1 +pkgdesc="A minimal plasma shell package intended for embedded devices." +arch=(x86_64 i686 i486 pentium4 arm armv6h armv7h aarch64) +url="https://invent.kde.org/plasma/plasma-nano" +license=('GPL2') +groups=() +depends=( + plasma-workspace + kwindowsystem + ki18n + kservice + kitemmodels + qt6-svg +) +makedepends=('cmake' 'extra-cmake-modules') +source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz") +sha256sums=('63de451ccf182f5d9c500530c771745b013ceed73f9fdef5115a8ca646b9cab7') + +prepare() { + mkdir -p build +} + +build() { + cmake -B build -S "${pkgname}-${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=OFF \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DCMAKE_BUILD_TYPE=Release + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + diff --git a/plasma-phone-settings/PKGBUILD b/plasma-phone-settings/PKGBUILD new file mode 100644 index 0000000..4c871e4 --- /dev/null +++ b/plasma-phone-settings/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Danct12 +# Contributor: Bernhard Landauer + +pkgname=plasma-phone-settings +pkgver=r75.648f779 +pkgrel=1 +arch=('any') +url="https://invent.kde.org/plasma-mobile/plasma-phone-settings" +license=('CC0-1.0') +pkgdesc='Configuration files for Plasma Mobile deployments' +makedepends=('git') +optdepends=('modemmanager: Telephony capabilities') +replaces=('plasma-mobile-settings') +install=$pkgname.install +source=("plasma-phone-settings::git+https://invent.kde.org/plasma-mobile/plasma-phone-settings.git") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" +} + +package() { + cp -rv "$pkgname/etc" "$pkgdir/" + cp -rv "$pkgname/usr" "$pkgdir/" + + # Enable Pipewire for app switcher thumbnails + mkdir -p $pkgdir/usr/lib/systemd/user/default.target.wants + ln -sfv /usr/lib/systemd/user/pipewire.service \ + $pkgdir/usr/lib/systemd/user/default.target.wants/pipewire.service + + # Enable hfd-service for vibrations + mkdir -p $pkgdir/usr/lib/systemd/system/multi-user.target.wants + ln -sfv /usr/lib/systemd/system/hfd-service.service \ + $pkgdir/usr/lib/systemd/system/multi-user.target.wants/hfd-service.service +} diff --git a/plasma-phone-settings/plasma-phone-settings.install b/plasma-phone-settings/plasma-phone-settings.install new file mode 100644 index 0000000..ecaa984 --- /dev/null +++ b/plasma-phone-settings/plasma-phone-settings.install @@ -0,0 +1,19 @@ +post_upgrade() { + if [[ -e /etc/systemd/system/multi-user.target.wants/ofono.service || + -e /usr/lib/systemd/system/multi-user.target.wants/ofono.service ]] + then + systemctl disable ofono.service + fi + + if [[ -e /etc/systemd/system/default.target.wants/ofonoctl.service || + -e /usr/lib/systemd/system/default.target.wants/ofonoctl.service ]] + then + systemctl disable ofonoctl.service + fi + + systemctl enable ModemManager.service +} + +post_install() { + post_upgrade +} diff --git a/plasma-phonebook/PKGBUILD b/plasma-phonebook/PKGBUILD new file mode 100644 index 0000000..8bb773c --- /dev/null +++ b/plasma-phonebook/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Danct12 +# Contributor: dodgejcr@gmail.com +# Contributor: Bhushan Shah + +pkgname=plasma-phonebook +pkgver=24.02.0 +pkgrel=1 +pkgdesc="Phonebook application for Mobile Devices running Plasma" +arch=('x86_64' 'armv7h' 'aarch64') +url="https://community.kde.org/Plasma/Mobile" +license=('GPL3') +depends=( + kconfig + kcontacts + kcoreaddons + kirigami + kirigami-addons + kpeople + qt6-declarative + qt6-svg +) +makedepends=( + cmake + extra-cmake-modules +) +source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz") +sha256sums=('94cc358c1b7adcdabf6d1b17968c8699211e172e13059b37485f6084651b5fb8') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} diff --git a/plasma-settings/PKGBUILD b/plasma-settings/PKGBUILD new file mode 100644 index 0000000..16d4e9c --- /dev/null +++ b/plasma-settings/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Antonio Rojas + +pkgname=plasma-settings +pkgver=24.02.0 +pkgrel=1 +pkgdesc='Settings application for Plasma Mobile' +url='https://plasma-mobile.org/' +arch=(x86_64 armv7h aarch64) +license=(GPL-2.0-or-later) +depends=(gcc-libs + glibc + kcmutils + kcoreaddons + kdbusaddons + ki18n + kirigami + kirigami-addons + qt6-base + qt6-declarative) +makedepends=(extra-cmake-modules + kservice) +source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +sha256sums=('b423461aa9c6dc0a7c96170261114ee9ecfe6296c97c9be8522d1942d125a5ad' + 'SKIP') +validpgpkeys=(39FFA93CAE9C6AFC212AD00202325448204E452A # Carl Schwan + 0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D) # Bhushan Shah (mykolab address) + +build() { + cmake -B build -S $pkgname-$pkgver + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} diff --git a/spacebar/PKGBUILD b/spacebar/PKGBUILD new file mode 100644 index 0000000..87b3936 --- /dev/null +++ b/spacebar/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Danct12 +# Contributor: Bernhard Landauer +# Contributor: dodgejcr@gmail.com +# Contributor: Bhushan Shah + +pkgname=spacebar +pkgver=24.05.0 +pkgrel=1 +pkgdesc="SMS and messaging application for Mobile Devices running Plasma" +arch=('x86_64' 'armv7h' 'aarch64') +url="https://community.kde.org/Plasma/Mobile" +license=('GPL-2.0-only OR GPL-3.0-only') +depends=( + 'c-ares' + 'futuresql-qt6' + 'kconfig' + 'kcoreaddons' + 'kcontacts' + 'kdbusaddons' + 'ki18n' + 'kio' + 'kirigami' + 'kirigami-addons' + 'knotifications' + 'kpeople' + 'kwindowsystem' + 'libphonenumber' + 'modemmanager-qt' + 'qcoro-qt6' + 'qt6-declarative' +) +makedepends=( + 'cmake' + 'extra-cmake-modules' +) +source=("http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz") +sha256sums=('1ab34a700ff3f97af0bcc9cb97fbd03bbc5a41ea4ff40144ad1ed9e30584f3f5') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}