imgbrd-grabber: update to 7.0.0.

This commit is contained in:
maxice8 2019-03-31 15:56:00 -03:00 committed by maxice8
parent 6d81efe1e6
commit b6ca22cd98

View file

@ -1,6 +1,6 @@
# Template file for 'imgbrd-grabber'
pkgname=imgbrd-grabber
version=6.0.6
version=7.0.0
revision=1
build_style=cmake
hostmakedepends="nodejs"
@ -13,15 +13,19 @@ license="Apache-2.0"
homepage="https://bionus.github.io/imgbrd-grabber"
changelog="https://github.com/Bionus/imgbrd-grabber/releases"
distfiles="https://github.com/Bionus/imgbrd-grabber/archive/v${version}.tar.gz"
checksum=709d94149c7850ddc25b185c9e6a007a901d527a10fb658469a182779e344c01
checksum=69083c48931c59777cbb41b29d375b870b650eded135cffd664f193054fa21a8
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
case "$XBPS_TARGET_MACHINE" in
i686*) broken="segfaults with node" ;;
esac
pre_configure() {
sed -i 's|USE_QSCINTILLA 1|USE_QSCINTILLA 0|' gui/CMakeLists.txt
sed -i 's|USE_BREAKPAD 1|USE_BREAKPAD 0|' gui/CMakeLists.txt
vsed -i 's|USE_QSCINTILLA 1|USE_QSCINTILLA 0|' gui/CMakeLists.txt
vsed -i 's|USE_BREAKPAD 1|USE_BREAKPAD 0|' gui/CMakeLists.txt
}
post_install() {