49 lines
1.6 KiB
Bash
49 lines
1.6 KiB
Bash
# Template file for 'libcupsfilters'
|
|
pkgname=libcupsfilters
|
|
version=2.0.0
|
|
revision=2
|
|
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, custom:GPL-2.0-LGPL-2.0-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"
|
|
}
|
|
}
|
|
|
|
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}"
|
|
}
|