Add libcmark as dependency

master
Konstantinos Sideris 2018-09-18 22:35:05 +03:00
parent 2ceab10e22
commit 13bd54ff7f
2 changed files with 4 additions and 3 deletions

View File

@ -18,6 +18,7 @@ pkgbase = nheko-git
depends = boost depends = boost
depends = libsodium depends = libsodium
depends = openssl depends = openssl
depends = cmark
provides = nheko provides = nheko
conflicts = nheko conflicts = nheko
source = nheko-git::git://github.com/mujx/nheko.git source = nheko-git::git://github.com/mujx/nheko.git

View File

@ -9,7 +9,7 @@ arch=("i686" "x86_64")
url="https://github.com/mujx/nheko" url="https://github.com/mujx/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl") depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl" "cmark")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools")
provides=("nheko") provides=("nheko")
@ -24,7 +24,7 @@ prepare() {
pkgver() { pkgver() {
cd "$pkgname" cd "$pkgname"
printf "0.5.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "0.5.5.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
@ -32,7 +32,7 @@ build() {
rm -f cmake/FindOlm.cmake rm -f cmake/FindOlm.cmake
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF
cmake --build .deps cmake --build .deps
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \ cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \