otter-browser: make webengine support into an option
This commit is contained in:
parent
7954e5aa87
commit
904e3327bc
1 changed files with 13 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'otter-browser'
|
# Template file for 'otter-browser'
|
||||||
pkgname=otter-browser
|
pkgname=otter-browser
|
||||||
version=1.0.01
|
version=1.0.01
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="hunspell-devel libgcrypt-devel qt5-declarative-devel
|
makedepends="hunspell-devel libgcrypt-devel qt5-declarative-devel
|
||||||
qt5-multimedia-devel qt5-svg-devel qt5-webkit-devel qt5-xmlpatterns-devel
|
qt5-multimedia-devel qt5-svg-devel qt5-webkit-devel qt5-xmlpatterns-devel
|
||||||
qt5-webengine-devel qt5-webchannel-devel qt5-location-devel"
|
qt5-webchannel-devel qt5-location-devel"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt5-plugin-sqlite"
|
||||||
short_desc="Project aiming to recreate the best aspects of the classic Opera UI"
|
short_desc="Project aiming to recreate the best aspects of the classic Opera UI"
|
||||||
maintainer="GangstaCat <grumpy@keemail.me>"
|
maintainer="GangstaCat <grumpy@keemail.me>"
|
||||||
|
@ -14,6 +14,17 @@ homepage="http://otter-browser.org"
|
||||||
distfiles="https://github.com/OtterBrowser/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/OtterBrowser/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=85aef7c74277cf94de237e516c3c2d507b3d19b9ad16853de938540b8bf2f16b
|
checksum=85aef7c74277cf94de237e516c3c2d507b3d19b9ad16853de938540b8bf2f16b
|
||||||
|
|
||||||
|
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
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+="qt5-declarative-devel qt5-multimedia-devel
|
hostmakedepends+="qt5-declarative-devel qt5-multimedia-devel
|
||||||
qt5-xmlpatterns-devel"
|
qt5-xmlpatterns-devel"
|
||||||
|
|
Loading…
Reference in a new issue