From 58f8c0d9e96f31bdc8efe7897fe22dad0015cd79 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 9 Jul 2018 13:14:55 +0200 Subject: media-gfx/brscan4: Version bump. Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- media-gfx/brscan4/Manifest | 2 ++ media-gfx/brscan4/brscan4-0.4.5.1.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 media-gfx/brscan4/brscan4-0.4.5.1.ebuild diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest index ad88f8a..e317b88 100644 --- a/media-gfx/brscan4/Manifest +++ b/media-gfx/brscan4/Manifest @@ -1,2 +1,4 @@ DIST brscan4-0.4.3-3.i386.rpm 68521 BLAKE2B 0e541a0f845bb119780e97c94e95ce84332b311c447c808ad381b29fb47ae1b5cb54b292e7a31f828feadeacb19240a2d6cad4a3a8e7e148df5ecf10e11e06d6 SHA512 9517f81cb3ffede5abba655de3ec304cbebd6807a59bc49cabf771b0bdbd13bbd1c4820874af05cbf90d760a50c4afa6958d27e923f7b8fcc62f640c52d72430 DIST brscan4-0.4.3-3.x86_64.rpm 79980 BLAKE2B 7aae30aefbca402526be2dbee616d78f7bee49d47112459eee8ea9357700fd22efd6292fddb9f50df751e0a58e1bf81c0ff4c5aed5617ae8c7a01a544c5b36d3 SHA512 8dc3fccf200cbad4e803918bd663d31c66c84e3b40b9c974a1b0e002e134ba24d92f923939868af150dc00f75a5db8ec672909b54d500f841a2efdbd45b045d5 +DIST brscan4-0.4.5-1.i386.rpm 80351 BLAKE2B ef212fb0d837a256f440de7184bc8e51701b2dd6ac758191542f1ee0890f593ffe78a777e7811c6737674b4cb9f543bbcc1952de33ca3581b8b69946283b6736 SHA512 23e7860ed564bd6dc6f537111568d53aa9d96d38f2f781133eb111064c71165aa5dc6df3f467171eba7a40c750b7cb72634e5ca180540485f1741a0327a794be +DIST brscan4-0.4.5-1.x86_64.rpm 93003 BLAKE2B cac4905ad7c019738667daac6c033d6734efeaf4a81eee7329f927c5e8c3a09e81eee9accbaa9c8b7967c76d680d81bff715eb4dac9475cc416defe88ec35616 SHA512 f86670474f94206d0857db074bd8c5d0ac3a0e4ab3c1d533f45cacdfe6f18238f849a8697c394a9cee59a2833baa412bd58401e408556b6d861aa5b87d75fb89 diff --git a/media-gfx/brscan4/brscan4-0.4.5.1.ebuild b/media-gfx/brscan4/brscan4-0.4.5.1.ebuild new file mode 100644 index 0000000..7eef66d --- /dev/null +++ b/media-gfx/brscan4/brscan4-0.4.5.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib rpm readme.gentoo-r1 + +MY_P="${PN}-${PV%.*}-${PV##*.}" +DESCRIPTION="Brother scanner driver" +HOMEPAGE="http://www.brother.com/" +SRC_URI=" + amd64? ( http://download.brother.com/welcome/dlf006648/${MY_P}.x86_64.rpm ) + x86? ( http://download.brother.com/welcome/dlf006647/${MY_P}.i386.rpm )" + +LICENSE="Brother-lpr no-source-code" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="strip" + +RDEPEND="media-gfx/sane-backends + virtual/libusb:0" + +S="${WORKDIR}/opt/brother/scanner/${PN}" + +src_install() { + local lib=$(get_libdir) + local dest=/opt/brother/scanner/${PN} + + insinto /etc${dest} + doins Brsane4.ini brsanenetdevice4.cfg + doins -r models4 + dosym "${EPREFIX}"/etc${dest}/Brsane4.ini ${dest}/Brsane4.ini + dosym "${EPREFIX}"/etc${dest}/brsanenetdevice4.cfg \ + ${dest}/brsanenetdevice4.cfg + dosym "${EPREFIX}"/etc${dest}/models4 ${dest}/models4 + + into ${dest} + dobin brsaneconfig4 + dosym ../..${dest}/bin/brsaneconfig4 /usr/bin/brsaneconfig4 + + dolib.so "${WORKDIR}"/usr/lib*/sane/libsane-brother4.so.1.0.7 + dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so.1 + dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so + dosym ../../..${dest}/${lib}/libsane-brother4.so.1.0.7 \ + /usr/${lib}/sane/libsane-brother4.so.1.0.7 + dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so.1 + dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so + + insinto /etc/sane.d/dll.d + newins - ${PN} <<< "brother4" + + DOC_CONTENTS="If want to use a remote scanner over the network, + you will have to add it with \"brsaneconfig4\"." + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3-65-gdbad