aboutsummaryrefslogtreecommitdiffstats
path: root/community/podofo
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-24 09:35:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-24 09:35:23 +0000
commit2a689232c7617d46738596f7ecc45f440c7b44c3 (patch)
treea3a834c88536b317ad58ea1a9c8a4d09ab43003a /community/podofo
parentfde60c33b5abfb8b074a940f027fd9db94384430 (diff)
downloadaports-2a689232c7617d46738596f7ecc45f440c7b44c3.tar.bz2
aports-2a689232c7617d46738596f7ecc45f440c7b44c3.tar.xz
community/podofo: upgrade to 0.9.6
Diffstat (limited to 'community/podofo')
-rw-r--r--community/podofo/APKBUILD15
-rw-r--r--community/podofo/podofo-cmake-3.12.patch13
2 files changed, 21 insertions, 7 deletions
diff --git a/community/podofo/APKBUILD b/community/podofo/APKBUILD
index 2000dab3b0..32b4191c22 100644
--- a/community/podofo/APKBUILD
+++ b/community/podofo/APKBUILD
@@ -1,18 +1,20 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=podofo
-pkgver=0.9.5
-pkgrel=4
+pkgver=0.9.6
+pkgrel=0
pkgdesc="A C++ library to work with the PDF file format"
url="http://podofo.sourceforge.net"
arch="all"
-license="GPL"
+license="GPL-2.0-only"
depends=
makedepends="tiff-dev libpng-dev fontconfig-dev
cmake lua-dev libressl-dev libidn-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ podofo-cmake-3.12.patch
+ "
builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
@@ -40,6 +42,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="4751a6cf41250bea550a73ff960b7228 podofo-0.9.5.tar.gz"
-sha256sums="854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 podofo-0.9.5.tar.gz"
-sha512sums="d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705 podofo-0.9.5.tar.gz"
+sha512sums="35c1a457758768bdadc93632385f6b9214824fead279f1b85420443fb2135837cefca9ced476df0d47066f060e9150e12fcd40f60fa1606b177da433feb20130 podofo-0.9.6.tar.gz
+6c14a620debeb12a36169f225382c08f5367d8cf93d9d3678bec94ce44dabcf235a7d87c2c29b7c8f5daa8abc9f7415e9e58fa3720388cbbf082b7f63896863f podofo-cmake-3.12.patch"
diff --git a/community/podofo/podofo-cmake-3.12.patch b/community/podofo/podofo-cmake-3.12.patch
new file mode 100644
index 0000000000..5ce8f515c2
--- /dev/null
+++ b/community/podofo/podofo-cmake-3.12.patch
@@ -0,0 +1,13 @@
+--- a/test/TokenizerTest/CMakeLists.txt.old 2018-07-20 18:26:02.921494293 +0200
++++ b/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:34:53.727136443 +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"
+- )