diff --git a/srcpkgs/qownnotes/template b/srcpkgs/qownnotes/template index fa66de3cf1a..f9feee3d6f4 100644 --- a/srcpkgs/qownnotes/template +++ b/srcpkgs/qownnotes/template @@ -1,11 +1,11 @@ # Template file for 'qownnotes' pkgname=qownnotes -version=19.8.0 +version=19.12.0 revision=1 build_style=qmake -hostmakedepends="qt5-qmake" -makedepends="qt5-declarative-devel qt5-svg-devel qt5-xmlpatterns-devel - qt5-websockets-devel" +hostmakedepends="pkg-config qt5-qmake" +makedepends="botan-devel qt5-declarative-devel qt5-svg-devel + qt5-xmlpatterns-devel qt5-websockets-devel" depends="qt5-plugin-sqlite" short_desc="Plain-text file notepad and todo-list manager with markdown support" maintainer="travankor " @@ -13,9 +13,14 @@ license="GPL-2.0-only" homepage="https://www.qownnotes.org" changelog="https://www.qownnotes.org/changelog/QOwnNotes" distfiles="https://download.tuxfamily.org/${pkgname}/src/${pkgname}-${version}.tar.xz" -checksum=c3623ab29279b2e35026737926f4a5f04af0368290c51420b1d180eb6955950c +checksum=4cf269011f783db74d90bb7593974ceb9d5a4844574fa05c08096194cd79c524 if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel qt5-xmlpatterns-devel - qt5-websockets-devel" + hostmakedepends+=" qt5-host-tools qt5-declarative-devel + qt5-svg-devel qt5-xmlpatterns-devel qt5-websockets-devel" fi + +pre_build() { + sed -i '5i USE_SYSTEM_BOTAN = 1' libraries/botan/botan.pri + sed -i 's/botan-2.12/botan-2/' libraries/botan/botan.pri +}