summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hsuan Yen2024-04-10 20:00:06 +0800
committerChih-Hsuan Yen2024-04-10 20:00:06 +0800
commit161f81854570f4de205fa1f62eadceaf18b7990d (patch)
tree3ecd467c83118d66b8d42687185ebdaecddc359f
parent8e6b7e4be01a5556981b56390e6f15654b633ea5 (diff)
downloadaur-161f81854570f4de205fa1f62eadceaf18b7990d.tar.gz
libchewing-git: upstream enables Rust by default
See: https://github.com/chewing/libchewing/pull/484
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07287f26e6f9..b763dce6f9ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libchewing-git
pkgdesc = Intelligent Chinese phonetic input method
- pkgver = 0.6.0.r37.gcafe3a2
+ pkgver = 0.7.0.r3.ga7deabe
pkgrel = 1
epoch = 1
url = https://chewing.im/
@@ -9,6 +9,7 @@ pkgbase = libchewing-git
license = LGPL2.1
makedepends = cmake
makedepends = git
+ makedepends = rust
depends = sqlite
provides = libchewing
conflicts = libchewing
diff --git a/PKGBUILD b/PKGBUILD
index 58190861cd2e..e660ef06a277 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=libchewing
pkgname=libchewing-git
-pkgver=0.6.0.r37.gcafe3a2
+pkgver=0.7.0.r3.ga7deabe
pkgrel=1
epoch=1
pkgdesc='Intelligent Chinese phonetic input method'
@@ -13,7 +13,7 @@ license=('LGPL2.1')
conflicts=("$_pkgname")
provides=("$_pkgname")
depends=('sqlite')
-makedepends=('cmake' 'git')
+makedepends=('cmake' 'git' 'rust')
source=("git+https://github.com/chewing/libchewing/")
md5sums=('SKIP')
@@ -45,6 +45,8 @@ check() {
cd $_pkgname/build
# parallel testing is broken (https://github.com/chewing/libchewing/issues/293)
make -j1 check
+ # Additional tests added in https://github.com/chewing/libchewing/pull/387
+ cargo test
}
package() {