imgbrd-grabber: update to 6.0.3 (#664)
This commit is contained in:
parent
a1863d92b7
commit
4760b80584
2 changed files with 24 additions and 4 deletions
18
srcpkgs/imgbrd-grabber/patches/fix_build.patch
Normal file
18
srcpkgs/imgbrd-grabber/patches/fix_build.patch
Normal file
|
@ -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);
|
|
@ -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 <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"
|
||||
checksum=4dbd32639d3d114f7bd943de65abb87b2284ffb6c6959f24484e763ce21769a9
|
||||
checksum=c892a0123a07e0931a18131adc40925bbb233df7ddde9490c2f6301071629118
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-devel"
|
||||
|
|
Loading…
Reference in a new issue