initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

38
podofo/PKGBUILD Normal file
View File

@@ -0,0 +1,38 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=podofo
pkgver=0.9.7
pkgrel=1
pkgdesc='A C++ library to work with the PDF file format'
arch=('i686' 'x86_64')
url='http://podofo.sourceforge.net'
license=('GPL-2' 'LGPL-2')
depends=('lua' 'libressl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo')
makedepends=('cmake')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('0e699739c2fb7d4d02ffca371504bb19f3a8a97ddcbfc06f8d9636db9e73064b4f633f7f09bce92140bb2174610ad68c1e5f8460d474d176ab803ed28295251b')
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 \
-Wno-dev
make
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
install -Dvm644 ${srcdir}/${pkgname}-${pkgver}/COPYING -t ${pkgdir}/usr/share/licenses/${pkgname}
install -Dvm644 ${srcdir}/${pkgname}-${pkgver}/COPYING.LIB -t ${pkgdir}/usr/share/licenses/${pkgname}
install -Dvm644 ${srcdir}/${pkgname}-${pkgver}/COPYING.exception -t ${pkgdir}/usr/share/licenses/${pkgname}
}