dejavu-fonts-ttf is now a build dependency due to this upstream change: https://github.com/OpenPrinting/cups-filters/pull/214 Add it to hostmakedepends and add small patch to enable cross building (remove check that prevents font detection while cross compiling).
45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# Template file for 'cups-filters'
|
|
pkgname=cups-filters
|
|
version=1.27.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-rcdir=no --enable-avahi
|
|
--with-browseremoteprotocols=DNSSD,CUPS
|
|
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf"
|
|
hostmakedepends="ghostscript glib-devel mupdf-tools pkg-config poppler-utils
|
|
liblouis dejavu-fonts-ttf"
|
|
makedepends="avahi-glib-libs-devel cups-devel fontconfig-devel liblouis-devel
|
|
ghostscript-devel lcms2-devel libqpdf-devel poppler-cpp-devel"
|
|
depends="bc ghostscript libcups-filters-${version}_${revision} poppler-utils"
|
|
conf_files="/etc/cups/cups-browsed.conf"
|
|
short_desc="OpenPrinting CUPS Filters"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT"
|
|
homepage="https://wiki.linuxfoundation.org/openprinting/cups-filters"
|
|
distfiles="http://openprinting.org/download/cups-filters/${pkgname}-${version}.tar.xz"
|
|
checksum=0bc9df9c4ca0f41685c8d6de56fad40109798f567326fc4167d7edb2600f0b84
|
|
|
|
lib32disabled=yes
|
|
|
|
post_install() {
|
|
vsv cups-browsed
|
|
vlicense COPYING
|
|
}
|
|
|
|
libcups-filters_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libcups-filters-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libcups-filters-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|