New package: libppd-2.0.0

This commit is contained in:
Andrew J. Hesford 2024-02-25 10:55:18 -05:00
parent aab0483a52
commit 503ae75558
3 changed files with 31 additions and 0 deletions

View File

@ -1804,6 +1804,7 @@ libmsgpack.so.4 msgpack-1.1.0_1
libmsgpackc.so.2 msgpack-1.1.0_1
libewf.so.3 libewf-20171104_1
libcupsfilters.so.2 libcupsfilters-2.0.0_1
libppd.so.2 libppd-2.0.0_1
libfontembed.so.1 libcups-filters-1.17.5_1
libjemalloc.so.2 jemalloc-4.0.0_1
liblucene++.so.0 Lucene++-3.0.6_1

1
srcpkgs/libppd-devel Symbolic link
View File

@ -0,0 +1 @@
libppd

29
srcpkgs/libppd/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'libppd'
pkgname=libppd
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config ghostscript poppler mupdf-tools"
makedepends="cups-devel libcupsfilters-devel"
short_desc="OpenPrinting legacy support library for PPD files"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception"
homepage="https://github.com/OpenPrinting/libppd"
changelog="https://github.com/OpenPrinting/libppd/blob/master/CHANGES.md"
distfiles="https://github.com/OpenPrinting/libppd/releases/download/${version}/libppd-${version}.tar.xz"
checksum=882d3c659a336e91559de8f3c76fc26197fe6e5539d9b484a596e29a5a4e0bc8
post_install() {
vlicense COPYING
}
libppd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} cups-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}