summaryrefslogtreecommitdiff
path: root/user/featherpad
diff options
context:
space:
mode:
Diffstat (limited to 'user/featherpad')
-rw-r--r--user/featherpad/APKBUILD17
-rw-r--r--user/featherpad/hunspell-link.patch11
2 files changed, 20 insertions, 8 deletions
diff --git a/user/featherpad/APKBUILD b/user/featherpad/APKBUILD
index fc73865e7..b94aac077 100644
--- a/user/featherpad/APKBUILD
+++ b/user/featherpad/APKBUILD
@@ -1,7 +1,7 @@
-# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
-# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=featherpad
-pkgver=0.9.4
+pkgver=0.18.0
pkgrel=0
pkgdesc="Featureful Qt-based text editor"
url="https://github.com/tsujan/FeatherPad"
@@ -10,13 +10,14 @@ options="!check" # No test suite.
license="GPL-3.0+"
depends=""
makedepends="qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev
- libx11-dev libxext-dev"
+ hunspell-dev libx11-dev libxext-dev"
subpackages="$pkgname-lang"
-source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz"
+source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz
+ hunspell-link.patch
+ "
builddir="$srcdir/FeatherPad-$pkgver"
build() {
- cd "$builddir"
qmake
make PREFIX=/usr
}
@@ -27,8 +28,8 @@ lang() {
}
package() {
- cd "$builddir"
make INSTALL_ROOT="$pkgdir" PREFIX=/usr install
}
-sha512sums="95fe137ccc0de49bb464b15aec586287e46b04ff2fe636d6092e39a6c5e3d633ca0b809181a728a8931a6628cdcf51cd0b91d8dfa58eee6a551fb3ec4ff42280 FeatherPad-0.9.4.tar.gz"
+sha512sums="3e0d008792dd55bc5e57654f9b032f0a66a60c682499c684cfc3b182fdc57a654bb5fb195b458af66ddd8db929b31e7bfa789bd9bdf33d32454fbbcb090bcd91 FeatherPad-0.18.0.tar.gz
+471714eec9a376b138cc4c6c7b7d1339c9767091309c95b11ef2a8536250c796367b1544dca9610cc10babdbd08ac1436784d71292680b9da90e681dd855aaf0 hunspell-link.patch"
diff --git a/user/featherpad/hunspell-link.patch b/user/featherpad/hunspell-link.patch
new file mode 100644
index 000000000..8e4aec121
--- /dev/null
+++ b/user/featherpad/hunspell-link.patch
@@ -0,0 +1,11 @@
+--- FeatherPad-0.11.1/featherpad/featherpad.pro.old 2019-08-15 06:06:09.000000000 +0000
++++ FeatherPad-0.11.1/featherpad/featherpad.pro 2019-08-17 20:32:55.081129885 +0000
+@@ -91,7 +91,7 @@
+ }
+
+ unix {
+- LIBS += -lhunspell
++ LIBS += -lhunspell-1.7
+ #TRANSLATIONS
+ exists($$[QT_INSTALL_BINS]/lrelease) {
+ TRANSLATIONS = $$system("find data/translations/ -name 'featherpad_*.ts'")