2012-05-16 15:53:03 +02:00
|
|
|
# Template file for 'cups-filters'
|
|
|
|
pkgname=cups-filters
|
2018-12-06 07:14:52 +01:00
|
|
|
version=1.21.5
|
2018-11-24 04:54:40 +01:00
|
|
|
revision=1
|
2012-05-16 15:53:03 +02:00
|
|
|
build_style=gnu-configure
|
2014-09-22 16:09:59 +02:00
|
|
|
configure_args="--disable-static --with-rcdir=no --enable-avahi
|
2018-11-24 04:54:40 +01:00
|
|
|
--with-browseremoteprotocols=DNSSD,CUPS
|
|
|
|
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf"
|
2018-12-06 07:14:52 +01:00
|
|
|
hostmakedepends="ghostscript glib-devel mupdf-tools pkg-config poppler-utils
|
|
|
|
liblouis"
|
2018-05-04 21:53:33 +02:00
|
|
|
makedepends="avahi-glib-libs-devel cups-devel fontconfig-devel
|
2018-08-23 19:24:07 +02:00
|
|
|
ghostscript-devel lcms2-devel libqpdf-devel libqpdf-devel poppler-cpp-devel"
|
2018-05-04 21:53:33 +02:00
|
|
|
depends="bc ghostscript libcups-filters-${version}_${revision} poppler-utils"
|
2018-02-26 03:51:51 +01:00
|
|
|
checkdepends="dejavu-fonts-ttf"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/cups/cups-browsed.conf"
|
2012-12-28 09:10:23 +01:00
|
|
|
short_desc="The OpenPrinting CUPS Filters"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2018-05-04 21:53:33 +02:00
|
|
|
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"
|
2018-12-06 07:14:52 +01:00
|
|
|
checksum=389ba80917e9a2157a3af8c0b7d8b80db34a22e22beffab67928783c8f4cf82b
|
2012-05-16 15:53:03 +02:00
|
|
|
|
2014-04-02 17:07:46 +02:00
|
|
|
lib32disabled=yes
|
2018-02-26 03:51:51 +01:00
|
|
|
|
2014-09-22 16:09:59 +02:00
|
|
|
post_install() {
|
2015-06-07 22:28:08 +02:00
|
|
|
vsv cups-browsed
|
2017-10-06 14:05:19 +02:00
|
|
|
vlicense COPYING
|
2012-05-16 15:53:03 +02:00
|
|
|
}
|
2014-09-22 16:09:59 +02:00
|
|
|
|
|
|
|
libcups-filters_package() {
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
pkg_install() {
|
2018-08-27 02:52:15 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-09-22 16:09:59 +02:00
|
|
|
}
|
|
|
|
}
|
2018-08-27 02:52:15 +02:00
|
|
|
|
2014-09-22 16:09:59 +02:00
|
|
|
libcups-filters-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2015-03-04 00:03:03 +01:00
|
|
|
depends="libcups-filters-${version}_${revision}"
|
2014-09-22 16:09:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2018-08-27 02:52:15 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-09-22 16:09:59 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|