void-packages/srcpkgs/libcupsfilters/template

49 lines
1.6 KiB
Bash

# Template file for 'libcupsfilters'
pkgname=libcupsfilters
version=2.1.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, 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=cbe900c7783e4aab0b1681629fad7322d82d082a51e8bae7e1c741d26bdcd294
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}"
}