cups-filters: rebuild against qpdf-5.1.2

Split shlibs into its own subpkg (libcups-filters).
Move so symlinks, headers and pkgconfig files to libcups-filters-devel subpkg.
Add missing shlibs.
Add systemd build option (off).
This commit is contained in:
Alessio Sergi 2014-09-22 16:09:59 +02:00
parent 5b2aef9f34
commit b94a063b2e
4 changed files with 31 additions and 10 deletions

View File

@ -1743,3 +1743,5 @@ libnetfilter_acct.so.1 libnetfilter_acct-1.0.2_1
libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1
libmsgpack.so.3 msgpack-0.5.9_1
libewf.so.2 libewf-20140608_1
libcupsfilters.so.1 cups-filters-1.0.58_2
libfontembed.so.1 cups-filters-1.0.58_2

View File

@ -1,9 +1,9 @@
# Template file for 'cups-filters'
pkgname=cups-filters
version=1.0.58
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-rcdir=no --enable-avahi
configure_args="--disable-static --with-rcdir=no --enable-avahi
--with-browseremoteprotocols=DNSSD,CUPS"
hostmakedepends="pkg-config ghostscript poppler-utils"
makedepends="lcms2-devel libpng-devel>=1.6 libqpdf-devel
@ -11,7 +11,6 @@ makedepends="lcms2-devel libpng-devel>=1.6 libqpdf-devel
ghostscript-devel>=9.10 cups-devel"
depends="ghostscript poppler-utils"
conf_files="/etc/cups/cups-browsed.conf"
systemd_services="cups-browsed.service on"
short_desc="The OpenPrinting CUPS Filters"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1, MIT"
@ -22,13 +21,31 @@ checksum=6e704e0eac6968076d0596e0c9512f8c88bc9e0dbc934c8846f6375c93b80b2e
lib32disabled=yes
disable_parallel_build=yes
post_install() {
# remove development stuff.
rm -rf ${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/lib/*.a
# install systemd service
rm -rf ${DESTDIR}/etc/rc.d
build_options="systemd"
if [ "$build_option_systemd" ]; then
systemd_services="cups-browsed.service on"
fi
vinstall utils/cups-browsed.service 644 usr/lib/systemd/system
post_install() {
if [ "$build_option_systemd" ]; then
vinstall utils/cups-browsed.service 644 usr/lib/systemd/system
fi
chgrp -R lp ${DESTDIR}/etc/cups
}
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
}
}

1
srcpkgs/libcups-filters Symbolic link
View File

@ -0,0 +1 @@
cups-filters

View File

@ -0,0 +1 @@
cups-filters