2018-02-19 22:06:07 +01:00
|
|
|
# Template file for 'imgbrd-grabber'
|
|
|
|
pkgname=imgbrd-grabber
|
2018-08-14 13:00:46 +02:00
|
|
|
version=6.0.4
|
2018-02-19 22:06:07 +01:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2018-07-12 22:46:34 +02:00
|
|
|
hostmakedepends="nodejs"
|
|
|
|
makedepends="qt5-declarative-devel qt5-multimedia-devel qt5-plugin-mysql
|
|
|
|
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
|
|
|
|
qt5-script-devel qt5-tools-devel"
|
2018-02-19 22:06:07 +01:00
|
|
|
short_desc="Powerful imageboard/booru downloader"
|
|
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://bionus.github.io/imgbrd-grabber"
|
|
|
|
distfiles="https://github.com/Bionus/imgbrd-grabber/archive/v${version}.tar.gz"
|
2018-08-14 13:00:46 +02:00
|
|
|
checksum=3b4bcc096fafc27f2bcf710416009e08933d50d4b067b5def34e680130995e39
|
2018-02-19 22:06:07 +01:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
2018-08-14 13:00:46 +02:00
|
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
2018-02-19 22:06:07 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
touch ${DESTDIR}/usr/share/Grabber/settings.ini
|
|
|
|
}
|