28 lines
917 B
Bash
28 lines
917 B
Bash
# Template file for 'libpodofo0.9.7'
|
|
pkgname=libpodofo0.9.7
|
|
version=0.9.7
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DPODOFO_BUILD_SHARED=TRUE -DPODOFO_BUILD_LIB_ONLY=TRUE"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel libidn-devel openssl-devel lua53-devel tiff-devel"
|
|
short_desc="Library to work with the PDF file format"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/podofo/podofo"
|
|
distfiles="https://github.com/podofo/podofo/archive/refs/tags/${version}.tar.gz"
|
|
checksum=42d7eaa3c8ffabf001121447830343c4362e562d0f12192b033a393f334a64a6
|
|
disable_parallel_build=yes
|
|
replaces="libpodofo<=${version}_999"
|
|
|
|
libpodofo0.9.7-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
conflicts="libpodofo-devel>=0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|