From 4760b805844451d47fde78343d34206f6d25b1bf Mon Sep 17 00:00:00 2001 From: Solitude Date: Thu, 12 Jul 2018 23:46:34 +0300 Subject: [PATCH] imgbrd-grabber: update to 6.0.3 (#664) --- srcpkgs/imgbrd-grabber/patches/fix_build.patch | 18 ++++++++++++++++++ srcpkgs/imgbrd-grabber/template | 10 ++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/imgbrd-grabber/patches/fix_build.patch diff --git a/srcpkgs/imgbrd-grabber/patches/fix_build.patch b/srcpkgs/imgbrd-grabber/patches/fix_build.patch new file mode 100644 index 0000000000..b87c71695c --- /dev/null +++ b/srcpkgs/imgbrd-grabber/patches/fix_build.patch @@ -0,0 +1,18 @@ +--- tests/src/models/filename-test.cpp ++++ tests/src/models/filename-test.cpp +@@ -670,11 +670,11 @@ void FilenameTest::testNeedTemporaryFile() + + void FilenameTest::testNeedExactTags() + { +- QCOMPARE(Filename("%md5%.%ext%").needExactTags(false), 0); ++ QCOMPARE(Filename("%md5%.%ext%").needExactTags(NULL), 0); + QCOMPARE(Filename("%md5%.%ext%").needExactTags(m_site), 0); +- QCOMPARE(Filename("javascript:md5 + '.' + ext").needExactTags(false), 2); +- QCOMPARE(Filename("%character% %md5%.%ext%").needExactTags(false), 1); +- QCOMPARE(Filename("%all:includenamespace% %md5%.%ext%").needExactTags(false), 1); ++ QCOMPARE(Filename("javascript:md5 + '.' + ext").needExactTags(NULL), 2); ++ QCOMPARE(Filename("%character% %md5%.%ext%").needExactTags(NULL), 1); ++ QCOMPARE(Filename("%all:includenamespace% %md5%.%ext%").needExactTags(NULL), 1); + + Filename filename("%filename%.%ext%"); + QCOMPARE(filename.needExactTags(), 0); diff --git a/srcpkgs/imgbrd-grabber/template b/srcpkgs/imgbrd-grabber/template index 13de975d44..2f2f068435 100644 --- a/srcpkgs/imgbrd-grabber/template +++ b/srcpkgs/imgbrd-grabber/template @@ -1,16 +1,18 @@ # Template file for 'imgbrd-grabber' pkgname=imgbrd-grabber -version=5.5.2 +version=6.0.3 revision=1 build_style=cmake -makedepends="qt5-script-devel qt5-multimedia-devel qt5-tools-devel - qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" +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" short_desc="Powerful imageboard/booru downloader" maintainer="SolitudeSF " license="Apache-2.0" homepage="https://bionus.github.io/imgbrd-grabber" distfiles="https://github.com/Bionus/imgbrd-grabber/archive/v${version}.tar.gz" -checksum=4dbd32639d3d114f7bd943de65abb87b2284ffb6c6959f24484e763ce21769a9 +checksum=c892a0123a07e0931a18131adc40925bbb233df7ddde9490c2f6301071629118 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel"