2024-02-25 16:54:47 +01:00
|
|
|
# Template file for 'libcupsfilters'
|
|
|
|
pkgname=libcupsfilters
|
|
|
|
version=2.0.0
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-mutool
|
|
|
|
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf"
|
|
|
|
hostmakedepends="pkg-config ghostscript"
|
|
|
|
makedepends="cups-devel poppler-cpp-devel lcms2-devel libqpdf-devel
|
|
|
|
ghostscript-devel libexif-devel libjpeg-turbo-devel libpng-devel tiff-devel
|
|
|
|
fontconfig-devel"
|
|
|
|
depends="ghostscript"
|
|
|
|
checkdepends="dejavu-fonts-ttf"
|
|
|
|
short_desc="OpenPrinting CUPS Filters library"
|
|
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
|
|
license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception"
|
|
|
|
homepage="https://github.com/OpenPrinting/libcupsfilters"
|
|
|
|
changelog="https://raw.githubusercontent.com/OpenPrinting/libcupsfilters/master/CHANGES.md"
|
|
|
|
distfiles="https://github.com/OpenPrinting/libcupsfilters/releases/download/${version}/libcupsfilters-${version}.tar.xz"
|
|
|
|
checksum=542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
libcupsfilters-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
|
|
cups-devel tiff-devel libpng-devel libqpdf-devel"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
2024-02-25 16:55:55 +01:00
|
|
|
|
|
|
|
libcups-filters_package() {
|
|
|
|
build_style=meta
|
|
|
|
short_desc+=" (transitional dummy package)"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
}
|
|
|
|
|
|
|
|
libcups-filters-devel_package() {
|
|
|
|
build_style=meta
|
|
|
|
short_desc+=" - development files (transitional dummy package)"
|
|
|
|
depends="${sourcepkg}-devel>=${version}_${revision}"
|
|
|
|
}
|