Delete dev-libs/qtcompress directory
This commit is contained in:
parent
23cd793cac
commit
12bc9bacad
@ -1 +0,0 @@
|
|||||||
DIST qtcompress-0_p20180513.tar.gz 251845 BLAKE2B eab320403b2b853fd12b9c10146bbdbbaad6053e57e7b72e7d80448c3913a6e4dbe898496dcec49631b8d0b371a9c7af20e30324dc960d91180cdf2fb4865121 SHA512 6a1d980f94d689063cbb8322e154d618de0002b956460303fe76cd0b6d14d6f9ea6925fe347aa91831eaa0364ea1c5ba50bdcbf5006b1651a23d93bb8867e336
|
|
@ -1,10 +0,0 @@
|
|||||||
--- a/tests/auto/unit/qzip/qzip.pro 2018-05-13 08:44:01.000000000 -0000
|
|
||||||
+++ b/tests/auto/unit/qzip/qzip.pro 2020-10-10 14:23:34.377528668 -0000
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
CONFIG += testcase
|
|
||||||
TARGET = tst_qzip
|
|
||||||
QT += compress testlib
|
|
||||||
+QT -= gui
|
|
||||||
SOURCES += tst_qzip.cpp
|
|
||||||
|
|
||||||
wince* {
|
|
@ -1,10 +0,0 @@
|
|||||||
diff --git a/src/compress/compress.pro b/src/compress/compress.pro
|
|
||||||
index 14ec502..3105a7f 100644
|
|
||||||
--- a/src/compress/compress.pro
|
|
||||||
+++ b/src/compress/compress.pro
|
|
||||||
@@ -11,5 +11,3 @@ HEADERS += \
|
|
||||||
qtcompressglobal.h
|
|
||||||
|
|
||||||
SOURCES += qzip.cpp
|
|
||||||
-
|
|
||||||
-include(../3rdparty/zlib.pri)
|
|
@ -1,13 +0,0 @@
|
|||||||
--- a/tests/auto/unit/qzip/tst_qzip.cpp 2018-05-13 09:44:01.000000000 +0100
|
|
||||||
+++ b/tests/auto/unit/qzip/tst_qzip.cpp 2020-09-28 09:40:14.493025102 +0100
|
|
||||||
@@ -41,8 +41,8 @@
|
|
||||||
|
|
||||||
#include <QtTest/QtTest>
|
|
||||||
#include <QDebug>
|
|
||||||
-#include <QtCompress/qzipwriter.h>
|
|
||||||
-#include <QtCompress/qzipreader.h>
|
|
||||||
+#include <qzipwriter.h>
|
|
||||||
+#include <qzipreader.h>
|
|
||||||
|
|
||||||
class tst_QZip : public QObject
|
|
||||||
{
|
|
@ -1,65 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit qmake-utils toolchain-funcs virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="A public API for QZip in an easy to use module"
|
|
||||||
|
|
||||||
HOMEPAGE="https://github.com/nezticle/qtcompress"
|
|
||||||
MY_COMMIT="23f8831826cd72aedf99fc3699148b6c994fd677"
|
|
||||||
SRC_URI="https://github.com/nezticle/qtcompress/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/qtcompress-${MY_COMMIT}"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-2.1 GPL-3 ) FDL-1.3"
|
|
||||||
SLOT="0/5.11.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~arm ~arm64"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
sys-libs/zlib
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? ( dev-qt/qttest:5 )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-remove-zlib.patch"
|
|
||||||
"${FILESDIR}/${P}-test-include.patch"
|
|
||||||
"${FILESDIR}/${P}-nogui.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# qtcompress is bundling its own zlib, remove it
|
|
||||||
rm -r src/3rdparty/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local pkg_config="$(tc-getPKG_CONFIG)"
|
|
||||||
eqmake5 \
|
|
||||||
"INCLUDEPATH+=$("${pkg_config}" --cflags zlib)" \
|
|
||||||
"LIBS+=$("${pkg_config}" --libs zlib)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd tests/auto/unit || die
|
|
||||||
eqmake5 \
|
|
||||||
"INCLUDEPATH+=${S}/src/compress"
|
|
||||||
emake
|
|
||||||
virtx qzip/target_wrapper.sh qzip/tst_qzip
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake INSTALL_ROOT="${D}" install
|
|
||||||
rm "${ED}/usr/$(get_libdir)/libQt5Compress.la" || die
|
|
||||||
insinto /usr/include/qt5/QtCompress
|
|
||||||
doins src/compress/{qzipreader.h,qzipwriter.h,qtcompressglobal.h}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user