[arch-commits] Commit in podofo/repos (3 files)

Jelle van der Waa jelle at archlinux.org
Sun Jan 10 11:47:46 UTC 2021


    Date: Sunday, January 10, 2021 @ 11:47:45
  Author: jelle
Revision: 817033

archrelease: copy trunk to community-staging-x86_64

Added:
  podofo/repos/community-staging-x86_64/
  podofo/repos/community-staging-x86_64/PKGBUILD
    (from rev 817032, podofo/trunk/PKGBUILD)
  podofo/repos/community-staging-x86_64/PKGBUILD.svn
    (from rev 817032, podofo/trunk/PKGBUILD.svn)

--------------+
 PKGBUILD     |   36 ++++++++++++++++++++++++++++++++++++
 PKGBUILD.svn |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

Copied: podofo/repos/community-staging-x86_64/PKGBUILD (from rev 817032, podofo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-01-10 11:47:45 UTC (rev 817033)
@@ -0,0 +1,36 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Preecha Patumchareonpol <yumyai at gmail.com> 
+
+pkgname=podofo
+pkgver=0.9.7
+pkgrel=1
+pkgdesc="A C++ library to work with the PDF file format"
+arch=('x86_64')
+url="http://podofo.sourceforge.net"
+license=('GPL')
+depends=('lua' 'openssl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo')
+makedepends=('cmake')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a3a947e40fc12e0f731b2711e395f236')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  mkdir -p "test/TokenizerTest/objects"
+
+  mkdir build
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
+        -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
+        -DPODOFO_BUILD_SHARED=1 \
+        -DPODOFO_HAVE_JPEG_LIB=1 \
+        -DPODOFO_HAVE_PNG_LIB=1 \
+        -DPODOFO_HAVE_TIFF_LIB=1
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: podofo/repos/community-staging-x86_64/PKGBUILD.svn (from rev 817032, podofo/trunk/PKGBUILD.svn)
===================================================================
--- community-staging-x86_64/PKGBUILD.svn	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD.svn	2021-01-10 11:47:45 UTC (rev 817033)
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 213059 2017-02-18 11:53:46Z arojas $
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Preecha Patumchareonpol <yumyai at gmail.com> 
+
+pkgname=podofo
+pkgver=0.9.5.svn.20170807
+pkgrel=1
+pkgdesc='Library to work with the PDF file format'
+url='http://podofo.sourceforge.net'
+arch=('x86_64')
+license=('GPL')
+makedepends=('cmake' 'subversion')
+depends=('lua' 'openssl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo')
+source=('svn+https://svn.code.sf.net/p/podofo/code/podofo/trunk')
+sha256sums=('SKIP')
+
+prepare() {
+	cd "${srcdir}/trunk"
+	install -d build
+}
+
+build() {
+	cd "${srcdir}/trunk/build"
+	cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
+		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
+		-DPODOFO_BUILD_SHARED=1 \
+		-DPODOFO_HAVE_JPEG_LIB=1 \
+		-DPODOFO_HAVE_PNG_LIB=1 \
+		-DPODOFO_HAVE_TIFF_LIB=1
+	make
+}
+
+package() {
+	cd "${srcdir}/trunk/build"
+	make DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list