Commit 097fb3f5 authored by Peter's avatar Peter
Browse files

Adding a custom build of tokodon that has a one-line fix for wrapping text in...

Adding a custom build of tokodon that has a one-line fix for wrapping text in the compose toot window
parent 392c67ec
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=tokodon
pkgver=22.06
pkgrel=1
pkgdesc="A Mastodon client for Plasma and Plasma Mobile"
url="https://invent.kde.org/network/tokodon/"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by qqc2-desktop-style
arch="all !armhf !s390x !riscv64"
license="GPL-3.0-only AND CC0-1.0"
depends="kirigami2"
makedepends="
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
kdbusaddons-dev
ki18n-dev
kirigami2-dev
knotifications-dev
qqc2-desktop-style-dev
qt5-qtbase-dev
qt5-qtkeychain-dev
qt5-qtmultimedia-dev
qt5-qtquickcontrols2-dev
qt5-qtsvg-dev
qt5-qtwebsockets-dev
samurai
"
subpackages="$pkgname-lang"
source="
https://download.kde.org/stable/plasma-mobile/$pkgver/tokodon-$pkgver.tar.xz
textwrap.patch
"
#source="https://invent.kde.org/network/tokodon/-/archive/master/tokodon-master.tar.gz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
bf28621e69e78128f34673b842560c70fe9fd39b1f545b9096d48314c65f8f0ec32a75eb9576c80f61a40a3487352bd8a872f4a8dad949a26e9768ff96df41dc tokodon-22.06.tar.xz
910841963e33d15f942f0311bd22090993876d6054e6b177d6ae6e166e0cbb472fdb8d87bca56cb264cd2fe8f0c74c9e90d5da775473a02505478c463326b68d textwrap.patch
"
commit a95e8151b9676e85b059663b8a27209f6d861cc6
Author: Peter <peter@linmob.net>
Date: Fri Sep 23 09:48:40 2022 +0200
Text Wrap for TootComposer.qml
diff --git a/src/content/ui/TootComposer.qml b/src/content/ui/TootComposer.qml
index 2bd6592..9952924 100644
--- a/src/content/ui/TootComposer.qml
+++ b/src/content/ui/TootComposer.qml
@@ -27,6 +27,7 @@ MastoPage {
id: textArea
placeholderText: i18n("What's new?")
text: postObject.mentions.join(" ")
+ wrapMode: Text.Wrap
Layout.fillWidth: true
Layout.fillHeight: true
Layout.preferredHeight: Kirigami.Units.gridUnit * 12 + actions.implicitHeight
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment