danoloan10 a2338c5465 wt: add build dependencies
Wt's build will silently ignore build options if their respective
dependencies are not found, but this does not mean that they should not
be used. In fact, the lms package needs wt be built with OpenSSL.

Fixes: https://github.com/epoupon/lms/issues/384
2023-12-26 18:07:00 -05:00

28 lines
943 B
Bash

# Template file for 'wt'
pkgname=wt
version=4.10.0
revision=3
build_style=cmake
build_helper=qmake
configure_args="-DBUILD_EXAMPLES=OFF -DENABLE_QT4=OFF"
hostmakedepends="qt5-host-tools qt5-qmake"
makedepends="boost-devel openssl-devel Haru-devel pango-devel sqlite-devel postgresql-libs-devel
libmysqlclient-devel unixodbc-devel qt5-devel libfreeglut-devel libunwind-devel"
short_desc="Wt, C++ Web Toolkit"
maintainer="danoloan10 <danoloan10@tutanota.com>"
license="GPL-2.0-or-later"
homepage="https://www.webtoolkit.eu/wt"
changelog="https://webtoolkit.eu/wt/doc/reference/html/Releasenotes.html"
distfiles="https://github.com/emweb/wt/archive/refs/tags/${version}.tar.gz"
checksum=7090023d4fc4b6594bf4cb11072d9d3d775269327aece9a8993c7bbe46decb9d
wt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}