void-packages/srcpkgs/qownnotes/template
2020-12-17 11:57:47 -03:00

25 lines
937 B
Bash

# Template file for 'qownnotes'
pkgname=qownnotes
version=20.12.0
revision=1
build_style=qmake
hostmakedepends="pkg-config qt5-qmake"
makedepends="botan-devel qt5-declarative-devel qt5-svg-devel
qt5-xmlpatterns-devel qt5-websockets-devel qt5-x11extras-devel"
depends="qt5-plugin-sqlite"
short_desc="Plain-text file notepad and todo-list manager with markdown support"
maintainer="travankor <travankor@tuta.io>"
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=c21352a876fb3cb6cb58fb05536f78ab061b79fec8ced055ff7c9a285674898d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel
qt5-xmlpatterns-devel qt5-websockets-devel qt5-x11extras-devel"
fi
pre_build() {
sed -i '5i USE_SYSTEM_BOTAN = 1' libraries/botan/botan.pri
}