mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
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:
parent
5b2aef9f34
commit
b94a063b2e
4 changed files with 31 additions and 10 deletions
|
@ -1743,3 +1743,5 @@ libnetfilter_acct.so.1 libnetfilter_acct-1.0.2_1
|
||||||
libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1
|
libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1
|
||||||
libmsgpack.so.3 msgpack-0.5.9_1
|
libmsgpack.so.3 msgpack-0.5.9_1
|
||||||
libewf.so.2 libewf-20140608_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
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'cups-filters'
|
# Template file for 'cups-filters'
|
||||||
pkgname=cups-filters
|
pkgname=cups-filters
|
||||||
version=1.0.58
|
version=1.0.58
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-rcdir=no --enable-avahi
|
configure_args="--disable-static --with-rcdir=no --enable-avahi
|
||||||
--with-browseremoteprotocols=DNSSD,CUPS"
|
--with-browseremoteprotocols=DNSSD,CUPS"
|
||||||
hostmakedepends="pkg-config ghostscript poppler-utils"
|
hostmakedepends="pkg-config ghostscript poppler-utils"
|
||||||
makedepends="lcms2-devel libpng-devel>=1.6 libqpdf-devel
|
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"
|
ghostscript-devel>=9.10 cups-devel"
|
||||||
depends="ghostscript poppler-utils"
|
depends="ghostscript poppler-utils"
|
||||||
conf_files="/etc/cups/cups-browsed.conf"
|
conf_files="/etc/cups/cups-browsed.conf"
|
||||||
systemd_services="cups-browsed.service on"
|
|
||||||
short_desc="The OpenPrinting CUPS Filters"
|
short_desc="The OpenPrinting CUPS Filters"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2, LGPL-2.1, MIT"
|
license="GPL-2, LGPL-2.1, MIT"
|
||||||
|
@ -22,13 +21,31 @@ checksum=6e704e0eac6968076d0596e0c9512f8c88bc9e0dbc934c8846f6375c93b80b2e
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
|
|
||||||
post_install() {
|
build_options="systemd"
|
||||||
# remove development stuff.
|
if [ "$build_option_systemd" ]; then
|
||||||
rm -rf ${DESTDIR}/usr/include
|
systemd_services="cups-browsed.service on"
|
||||||
rm -f ${DESTDIR}/usr/lib/*.a
|
fi
|
||||||
# install systemd service
|
|
||||||
rm -rf ${DESTDIR}/etc/rc.d
|
|
||||||
|
|
||||||
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
|
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
1
srcpkgs/libcups-filters
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cups-filters
|
1
srcpkgs/libcups-filters-devel
Symbolic link
1
srcpkgs/libcups-filters-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cups-filters
|
Loading…
Add table
Reference in a new issue