From 05f76b0800140e2ee6d054cbd4fe139f8e005c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 13 Aug 2018 21:35:46 +0200 Subject: [PATCH] podofo: update to 0.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- common/shlibs | 2 +- .../podofo/patches/remove-copy_directory.patch | 13 +++++++++++++ srcpkgs/podofo/template | 18 ++++++++---------- 3 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 srcpkgs/podofo/patches/remove-copy_directory.patch diff --git a/common/shlibs b/common/shlibs index e80b5d9f43..19068a18da 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2409,7 +2409,7 @@ libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1 libsearpc.so.1 libsearpc-3.0.7_1 libccnet.so.0 ccnet-5.0.4_1 libseafile.so.0 seafile-libclient-5.0.4_1 -libpodofo.so.0.9.5 libpodofo-0.9.5_1 +libpodofo.so.0.9.6 libpodofo-0.9.6_1 libIrcUtil.so.3 libcommuni-3.4.0_1 libIrcCore.so.3 libcommuni-3.4.0_1 libIrcModel.so.3 libcommuni-3.4.0_1 diff --git a/srcpkgs/podofo/patches/remove-copy_directory.patch b/srcpkgs/podofo/patches/remove-copy_directory.patch new file mode 100644 index 0000000000..7b4476beb2 --- /dev/null +++ b/srcpkgs/podofo/patches/remove-copy_directory.patch @@ -0,0 +1,13 @@ +--- test/TokenizerTest/CMakeLists.txt 2007-09-16 11:33:38.000000000 +0200 ++++ test/TokenizerTest/CMakeLists.txt 2018-08-13 21:31:29.943414615 +0200 +@@ -2,10 +2,3 @@ + TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS}) + SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}") + ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET}) +- +-# Copy the test samples over to the build tree +-ADD_CUSTOM_COMMAND( +- TARGET TokenizerTest +- POST_BUILD +- COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects" +- ) diff --git a/srcpkgs/podofo/template b/srcpkgs/podofo/template index e5a936ab21..3893f5672a 100644 --- a/srcpkgs/podofo/template +++ b/srcpkgs/podofo/template @@ -1,19 +1,17 @@ # Template file for 'podofo' pkgname=podofo -version=0.9.5 -revision=4 +version=0.9.6 +revision=1 build_style=cmake -configure_args="-DPODOFO_BUILD_SHARED=1" -makedepends="zlib-devel libressl-devel libidn-devel freetype-devel - fontconfig-devel libpng-devel libjpeg-turbo-devel lua52-devel tiff-devel" +configure_args="-DPODOFO_BUILD_SHARED=TRUE" +makedepends="fontconfig-devel libidn-devel libressl-devel lua-devel tiff-devel" short_desc="Library to work with the PDF file format" maintainer="Andrea Brancaleoni " -license="GPL-2, LGPL-2.1" +license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://podofo.sourceforge.net/" -#distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -# Temporarily use a Debian mirror -distfiles="http://http.debian.net/debian/pool/main/libp/libpodofo/libpodofo_${version}.orig.tar.gz" -checksum=854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 +distfiles="${SOURCEFORGE_SITE}/podofo/podofo/${version}/podofo-${version}.tar.gz" +checksum=e9163650955ab8e4b9532e7aa43b841bac45701f7b0f9b793a98c8ca3ef14072 +disable_parallel_build=yes libpodofo_package() { replaces="podofo<0.9.3_1"