From 0f4942b1b5fc7b6288191b3d6cc7dfa52014831a Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 22 May 2019 21:52:56 +0300 Subject: [PATCH] Delete kde-thumbnailer-ooxml-kf5 --- kde-thumbnailer-ooxml-kf5/PKGBUILD | 40 -------------------- kde-thumbnailer-ooxml-kf5/port-to-qt5.patch | 42 --------------------- 2 files changed, 82 deletions(-) delete mode 100644 kde-thumbnailer-ooxml-kf5/PKGBUILD delete mode 100644 kde-thumbnailer-ooxml-kf5/port-to-qt5.patch diff --git a/kde-thumbnailer-ooxml-kf5/PKGBUILD b/kde-thumbnailer-ooxml-kf5/PKGBUILD deleted file mode 100644 index 4d9e53e..0000000 --- a/kde-thumbnailer-ooxml-kf5/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -_pkgname=kde-thumbnailer-ooxml -pkgname=${_pkgname}-kf5 -pkgver=1.1 -pkgrel=1 -pkgdesc="Microsoft Office Open XML document thumbnailer for KDE" -url="http://kde-apps.org/content/show.php?content=149048" -arch=('i686' 'x86_64') -license=('GPL' 'LGPL' 'FDL') -groups=('kde' 'kdegraphics') -depends=('kdelibs4support' 'zlib') -makedepends=('cmake' 'extra-cmake-modules' 'kdoctools' 'qt5-tools' 'kdesignerplugin') -source=("https://dl.opendesktop.org/api/files/download/id/1460971619/149048-kde-thumbnailer-ooxml-1.1.tar.bz2" -port-to-qt5.patch) -sha1sums=('445acee9c3f78077a70944cba2253432849d6d8e' - '3ac44a6954ca77aa238af845e846566c9ba761b3') - -prepare() { - cd "${srcdir}"/${_pkgname} - rm -rf build - mkdir -p build - patch -Np1 -i $srcdir/port-to-qt5.patch -} - -build() { - mkdir build - cd build - cd "${srcdir}"/${_pkgname} - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DBUILD_TESTING=OFF - make -} - -package() { - cd "${srcdir}"/${_pkgname} - make DESTDIR="${pkgdir}" install -} diff --git a/kde-thumbnailer-ooxml-kf5/port-to-qt5.patch b/kde-thumbnailer-ooxml-kf5/port-to-qt5.patch deleted file mode 100644 index a93964d..0000000 --- a/kde-thumbnailer-ooxml-kf5/port-to-qt5.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,11 +1,21 @@ - project(kde-thumbnailer-ooxml) --cmake_minimum_required(VERSION 2.6) -+cmake_minimum_required(VERSION 2.8.12) - --find_package(KDE4 REQUIRED) --include(KDE4Defaults) -+set(SHARED_MIME_INFO_MINIMUM_VERSION "0.30") - --add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) --include_directories(${QT_INCLUDES} ${KDE4_INCLUDES}) -+find_package(ECM REQUIRED NO_MODULE) -+set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) -+ -+include(KDEInstallDirs) -+include(KDECompilerSettings) -+include(KDECMakeSettings) -+include(FeatureSummary) -+ -+find_package(Qt5 REQUIRED COMPONENTS Widgets) -+find_package(KF5 REQUIRED COMPONENTS KDELibs4Support KIO Archive) -+ -+add_definitions(${QT_DEFINITIONS}) -+include_directories(${QT_INCLUDES}) - - set(libkowmf_SRCS - libkowmf/WmfAbstractBackend.cpp -@@ -17,9 +27,9 @@ - - set(ooxmlthumbnail_SRCS ooxmlcreator.cpp ${libkowmf_SRCS}) - --kde4_add_plugin(ooxmlthumbnail ${ooxmlthumbnail_SRCS}) --target_link_libraries(ooxmlthumbnail -- ${KDE4_KIO_LIBS} -+add_library(ooxmlthumbnail MODULE ${libkowmf_SRCS}) -+target_link_libraries(ooxmlthumbnail PRIVATE -+ KF5::KDELibs4Support KF5::KIOCore KF5::Archive - ${QT_QTXML_LIBRARY} - ) -