sane: remove incorrect shlib-provides

Without noshlibprovides in the main package, xbps-src detects every
driver in /usr/lib/sane with an incorrect soname of libsane.so.1 and
adds libsane.so.1 to the shlib-provides list for that package. This
allows ignorepkg=libsane to prevent installation (or allow removal) of
the package that actually installs this shlib, breaking everything that
depends on it. When sane does not provide libsane.so.1, libsane will not
be removable or ignorable when anything depends on the shlib.
This commit is contained in:
Andrew J. Hesford 2020-10-16 12:40:30 -04:00
parent f17b04a875
commit 549f98540a

View file

@ -2,7 +2,7 @@
pkgname=sane
_gitlab_release_hash=8bf1cae2e1803aefab9e5331550e5d5d
version=1.0.31
revision=1
revision=2
wrksrc="sane-backends-${version}"
build_style=gnu-configure
configure_args="--disable-locking --enable-ipv6 --enable-pthread
@ -20,6 +20,7 @@ license="GPL-2.0-or-later, SANE-exception"
homepage="http://www.sane-project.org/"
distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz"
checksum=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa
noshlibprovides="avoid false detection of device drivers"
build_options="snmp"