ark: update to 19.12.3.

This commit is contained in:
Piotr Wójcik 2020-03-11 23:36:59 +01:00 committed by Piotr
parent 0e29e8361d
commit 834f439e61
2 changed files with 64 additions and 4 deletions

View file

@ -0,0 +1,55 @@
From 1bbfda77ea96fb8399a4c12c0c096a52371e5864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Wed, 11 Mar 2020 23:02:33 +0100
Subject: [PATCH] disable xar test
diff --git autotests/kerfuffle/extracttest.cpp autotests/kerfuffle/extracttest.cpp
index 9178611..c1d3f13 100644
--- autotests/kerfuffle/extracttest.cpp
+++ autotests/kerfuffle/extracttest.cpp
@@ -350,23 +350,6 @@ void ExtractTest::testExtraction_data()
qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
}
- archivePath = QFINDTESTDATA("data/simplearchive.xar");
- QTest::newRow("extract selected entries from a xar archive without path")
- << archivePath
- << QVector<Archive::Entry*> {
- new Archive::Entry(this, QStringLiteral("dir1/file11.txt"), QString()),
- new Archive::Entry(this, QStringLiteral("file4.txt"), QString())
- }
- << optionsNoPaths
- << 2;
-
- archivePath = QFINDTESTDATA("data/simplearchive.xar");
- QTest::newRow("extract all entries from a xar archive with path")
- << archivePath
- << QVector<Archive::Entry*>()
- << optionsPreservePaths
- << 6;
-
archivePath = QFINDTESTDATA("data/hello-1.0-x86_64.AppImage");
QTest::newRow("extract all entries from an AppImage with path")
<< archivePath
diff --git autotests/kerfuffle/loadtest.cpp autotests/kerfuffle/loadtest.cpp
index 8c5f52d..cbb47cf 100644
--- autotests/kerfuffle/loadtest.cpp
+++ autotests/kerfuffle/loadtest.cpp
@@ -181,13 +181,6 @@ void LoadTest::testProperties_data()
qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
}
- QTest::newRow("xar archive")
- << QFINDTESTDATA("data/simplearchive.xar")
- << QStringLiteral("simplearchive")
- << true << false << false << false << false << 0 << Archive::Unencrypted
- << QStringLiteral("simplearchive")
- << QString();
-
QTest::newRow("mimetype child of application/zip")
<< QFINDTESTDATA("data/test.odt")
<< QStringLiteral("test")
--
2.23.0

View file

@ -1,18 +1,23 @@
# Template file for 'ark'
pkgname=ark
version=19.12.2
version=19.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake kdoctools kconfig gettext"
hostmakedepends="extra-cmake-modules qt5-devel qt5-qmake
kdoctools kconfig gettext pkg-config"
makedepends="libarchive-devel kpty-devel kparts-devel kitemmodels-devel libzip-devel"
short_desc="KDE Archiving Tool"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/utilities/ark"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=fc70fa952b872330acd510c84ab2651258a74f370efd1f0bda6df8c4b9e6aaf1
checksum=78594029729c197fc90321850696f1bd189b40d8d7fbc9faf51ad6b2ab744a07
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python kcoreaddons kparts"
hostmakedepends+=" python3 kcoreaddons kparts"
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
pre_check() {
export QT_QPA_PLATFORM=offscreen
}