void-packages/srcpkgs/otter-browser/template

31 lines
1019 B
Bash

# Template file for 'otter-browser'
pkgname=otter-browser
version=1.0.02
revision=1
build_style=cmake
makedepends="hunspell-devel libgcrypt-devel qt5-declarative-devel
qt5-multimedia-devel qt5-svg-devel qt5-webkit-devel qt5-xmlpatterns-devel
qt5-webchannel-devel qt5-location-devel"
depends="qt5-plugin-sqlite"
short_desc="Web browser aiming to recreate the best aspects of the classic Opera UI"
maintainer="GangstaCat <grumpy@keemail.me>"
license="GPL-3.0-or-later"
homepage="http://otter-browser.org"
distfiles="https://github.com/OtterBrowser/${pkgname}/archive/v${version}.tar.gz"
checksum=d1e090a80fa736cd128f594184817078a08cac31614e85e7838ff1b64511d62d
build_options="webengine"
desc_option_webengine="Build Qt5 WebEngine support"
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
build_options_default="webengine"
fi
if [ "$build_option_webengine" ]; then
makedepends+=" qt5-webengine-devel"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel qt5-multimedia-devel qt5-xmlpatterns-devel"
fi