Skip to content

Instantly share code, notes, and snippets.

@thypon thypon/podofo
Created Oct 18, 2015

Embed
What would you like to do?
Podofo
From 8480597997fca956359869aecefd577a6c44b263 Mon Sep 17 00:00:00 2001
From: Luca <luca.andrea.fuse@gmx.com>
Date: Sun, 18 Oct 2015 12:43:19 +0200
Subject: [PATCH] New package: podofo-0.9.3
---
common/shlibs | 1 +
srcpkgs/podofo-devel | 1 +
srcpkgs/podofo/template | 24 ++++++++++++++++++++++++
3 files changed, 26 insertions(+)
create mode 120000 srcpkgs/podofo-devel
create mode 100644 srcpkgs/podofo/template
diff --git a/common/shlibs b/common/shlibs
index a311661..bb24074 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2231,3 +2231,4 @@ libboinc_graphics2.so.7 boinc-7.6.2_1
libboinc_opencl.so.7 boinc-nox-7.6.2_1
libboinc_api.so.7 boinc-nox-7.6.2_1
libboinc_graphics2.so.7 boinc-nox-7.6.2_1
+libpodofo.so.0.9.3 podofo-0.9.3_1
diff --git a/srcpkgs/podofo-devel b/srcpkgs/podofo-devel
new file mode 120000
index 0000000..b08abf6
--- /dev/null
+++ b/srcpkgs/podofo-devel
@@ -0,0 +1 @@
+podofo/
\ No newline at end of file
diff --git a/srcpkgs/podofo/template b/srcpkgs/podofo/template
new file mode 100644
index 0000000..df8e0b0
--- /dev/null
+++ b/srcpkgs/podofo/template
@@ -0,0 +1,24 @@
+pkgname="podofo"
+version="0.9.3"
+revision=1
+build_style=cmake
+configure_args="-DPODOFO_BUILD_SHARED=1"
+short_desc="Library to work with the PDF file format"
+maintainer="Luca - <luca.andrea.fuse@gmx.com>"
+license="GPL-2"
+homepage="http://podofo.sourceforge.net/"
+distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
+hostmakedepends="cmake"
+makedepends="freetype-devel fontconfig-devel zlib-devel libpng-devel
+libjpeg-turbo-devel lua52-devel tiff-devel"
+checksum="ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8"
+
+podofo-devel_package() {
+ license="LGPL-2"
+ short_desc+=" - development files"
+ depends="podofo-${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/*.so
+ }
+}
--
2.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.