summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-07-01 21:02:05 -0400
committerDavid P <megver83@parabola.nu>2019-07-01 21:03:00 -0400
commitbceb4199d475a92c0c01779d6d45518d7c66ad6f (patch)
tree7a8a8ecac800b93eb5867d334fadfb05fe5ce02a /pcr
parent0defadc1fb9fe2c7041c06b13b9746156dfe6526 (diff)
downloadabslibre-bceb4199d475a92c0c01779d6d45518d7c66ad6f.tar.gz
abslibre-bceb4199d475a92c0c01779d6d45518d7c66ad6f.tar.bz2
abslibre-bceb4199d475a92c0c01779d6d45518d7c66ad6f.zip
rmpkg: pcr/kde-thumbnailer-odf
it's now merged into kio-extras Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/kde-thumbnailer-odf/PKGBUILD35
-rw-r--r--pcr/kde-thumbnailer-odf/port-to-kf5.patch55
2 files changed, 0 insertions, 90 deletions
diff --git a/pcr/kde-thumbnailer-odf/PKGBUILD b/pcr/kde-thumbnailer-odf/PKGBUILD
deleted file mode 100644
index 955848f9a..000000000
--- a/pcr/kde-thumbnailer-odf/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Maintainer: David P. <megver83@parabola.nu>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Maintainer (Arch): Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgname=kde-thumbnailer-odf
-_pkgname=kde-odf-thumbnail
-pkgver=1.0.0
-pkgrel=1.parabola1
-pkgdesc="Thumbnailer to show ODF (OpenDocument Format) previews in KDE file managers."
-arch=('any')
-url="http://kde-apps.org/content/show.php?content=110864"
-license=('LGPL3')
-depends=('kio')
-makedepends=('extra-cmake-modules')
-source=("http://kenai.com/projects/${_pkgname}/downloads/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
- 'port-to-kf5.patch')
-sha512sums=('569f36a13981d87d7f21081de26b5329ebd3aaa4b85a75094e192935ca2e780c39005693eb0f237409859a02bcb547835f97cff92b55b5e99d19f3a3d3428fd4'
- '825b6286ec9f14db1539ca4d424d480d5518e3176eb7ec0d5af2d379bfc15eb68cf6b0cb88535eeaedbdedeb879194c1ec5339f5e8d9de2291bf5b20c769feec')
-
-prepare() {
- cd "${_pkgname}-${pkgver}"
- patch -p1 -i ../port-to-kf5.patch
-}
-
-build() {
- cd "${_pkgname}-${pkgver}"
- cmake . \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- make -C "${_pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
-}
diff --git a/pcr/kde-thumbnailer-odf/port-to-kf5.patch b/pcr/kde-thumbnailer-odf/port-to-kf5.patch
deleted file mode 100644
index 8c6b55a74..000000000
--- a/pcr/kde-thumbnailer-odf/port-to-kf5.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -ur kde-odf-thumbnail-1.0.0.old/CMakeLists.txt kde-odf-thumbnail-1.0.0/CMakeLists.txt
---- kde-odf-thumbnail-1.0.0.old/CMakeLists.txt 2010-01-20 15:41:31.000000000 +0100
-+++ kde-odf-thumbnail-1.0.0/CMakeLists.txt 2016-03-05 23:49:12.947874730 +0100
-@@ -1,8 +1,18 @@
- project(OpenDocumentThumbnail)
-
--find_package(KDE4 REQUIRED)
--include (KDE4Defaults)
-+cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
-+set(QT_MIN_VERSION "5.2.0")
-
--include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
-+find_package(ECM 1.0.0 REQUIRED NO_MODULE)
-+set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
-+
-+include(KDEInstallDirs)
-+include(KDECMakeSettings)
-+include(KDECompilerSettings)
-+
-+find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Gui)
-+find_package(KF5 REQUIRED COMPONENTS KIO Archive)
-+
-+add_definitions(${QT_DEFINITIONS} -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-
- add_subdirectory( src )
-diff -ur kde-odf-thumbnail-1.0.0.old/src/CMakeLists.txt kde-odf-thumbnail-1.0.0/src/CMakeLists.txt
---- kde-odf-thumbnail-1.0.0.old/src/CMakeLists.txt 2010-01-20 15:44:25.000000000 +0100
-+++ kde-odf-thumbnail-1.0.0/src/CMakeLists.txt 2016-03-05 23:48:14.807877671 +0100
-@@ -1,11 +1,11 @@
-
- set(OpenDocumentThumbnail_SRCS opendocumentcreator.cpp)
-
--qt4_add_resources(OpenDocumentThumbnail_SRCS opendocumentthumbnail.qrc)
-+qt5_add_resources(OpenDocumentThumbnail_SRCS opendocumentthumbnail.qrc)
-
--kde4_add_plugin(opendocumentthumbnail ${OpenDocumentThumbnail_SRCS})
-+add_library(opendocumentthumbnail MODULE ${OpenDocumentThumbnail_SRCS})
-
--target_link_libraries(opendocumentthumbnail ${KDE4_KIO_LIBS} )
-+target_link_libraries(opendocumentthumbnail Qt5::Gui KF5::KIOWidgets KF5::Archive)
-
- install(TARGETS opendocumentthumbnail DESTINATION ${PLUGIN_INSTALL_DIR} )
-
-diff -ur kde-odf-thumbnail-1.0.0.old/src/opendocumentcreator.cpp kde-odf-thumbnail-1.0.0/src/opendocumentcreator.cpp
---- kde-odf-thumbnail-1.0.0.old/src/opendocumentcreator.cpp 2010-01-22 21:39:46.000000000 +0100
-+++ kde-odf-thumbnail-1.0.0/src/opendocumentcreator.cpp 2016-03-05 23:42:31.955638510 +0100
-@@ -28,7 +29,7 @@
-
- extern "C"
- {
-- KDE_EXPORT ThumbCreator *new_creator()
-+ Q_DECL_EXPORT ThumbCreator *new_creator()
- {
- return new ODFCreator;
- }