1 |
commit: 58f8c0d9e96f31bdc8efe7897fe22dad0015cd79 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 11:14:55 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 11:14:55 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=58f8c0d9 |
7 |
|
8 |
media-gfx/brscan4: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
media-gfx/brscan4/Manifest | 2 ++ |
13 |
media-gfx/brscan4/brscan4-0.4.5.1.ebuild | 59 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest |
17 |
index ad88f8a..e317b88 100644 |
18 |
--- a/media-gfx/brscan4/Manifest |
19 |
+++ b/media-gfx/brscan4/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
DIST brscan4-0.4.3-3.i386.rpm 68521 BLAKE2B 0e541a0f845bb119780e97c94e95ce84332b311c447c808ad381b29fb47ae1b5cb54b292e7a31f828feadeacb19240a2d6cad4a3a8e7e148df5ecf10e11e06d6 SHA512 9517f81cb3ffede5abba655de3ec304cbebd6807a59bc49cabf771b0bdbd13bbd1c4820874af05cbf90d760a50c4afa6958d27e923f7b8fcc62f640c52d72430 |
22 |
DIST brscan4-0.4.3-3.x86_64.rpm 79980 BLAKE2B 7aae30aefbca402526be2dbee616d78f7bee49d47112459eee8ea9357700fd22efd6292fddb9f50df751e0a58e1bf81c0ff4c5aed5617ae8c7a01a544c5b36d3 SHA512 8dc3fccf200cbad4e803918bd663d31c66c84e3b40b9c974a1b0e002e134ba24d92f923939868af150dc00f75a5db8ec672909b54d500f841a2efdbd45b045d5 |
23 |
+DIST brscan4-0.4.5-1.i386.rpm 80351 BLAKE2B ef212fb0d837a256f440de7184bc8e51701b2dd6ac758191542f1ee0890f593ffe78a777e7811c6737674b4cb9f543bbcc1952de33ca3581b8b69946283b6736 SHA512 23e7860ed564bd6dc6f537111568d53aa9d96d38f2f781133eb111064c71165aa5dc6df3f467171eba7a40c750b7cb72634e5ca180540485f1741a0327a794be |
24 |
+DIST brscan4-0.4.5-1.x86_64.rpm 93003 BLAKE2B cac4905ad7c019738667daac6c033d6734efeaf4a81eee7329f927c5e8c3a09e81eee9accbaa9c8b7967c76d680d81bff715eb4dac9475cc416defe88ec35616 SHA512 f86670474f94206d0857db074bd8c5d0ac3a0e4ab3c1d533f45cacdfe6f18238f849a8697c394a9cee59a2833baa412bd58401e408556b6d861aa5b87d75fb89 |
25 |
|
26 |
diff --git a/media-gfx/brscan4/brscan4-0.4.5.1.ebuild b/media-gfx/brscan4/brscan4-0.4.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..7eef66d |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/brscan4/brscan4-0.4.5.1.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit multilib rpm readme.gentoo-r1 |
38 |
+ |
39 |
+MY_P="${PN}-${PV%.*}-${PV##*.}" |
40 |
+DESCRIPTION="Brother scanner driver" |
41 |
+HOMEPAGE="http://www.brother.com/" |
42 |
+SRC_URI=" |
43 |
+ amd64? ( http://download.brother.com/welcome/dlf006648/${MY_P}.x86_64.rpm ) |
44 |
+ x86? ( http://download.brother.com/welcome/dlf006647/${MY_P}.i386.rpm )" |
45 |
+ |
46 |
+LICENSE="Brother-lpr no-source-code" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+RESTRICT="strip" |
50 |
+ |
51 |
+RDEPEND="media-gfx/sane-backends |
52 |
+ virtual/libusb:0" |
53 |
+ |
54 |
+S="${WORKDIR}/opt/brother/scanner/${PN}" |
55 |
+ |
56 |
+src_install() { |
57 |
+ local lib=$(get_libdir) |
58 |
+ local dest=/opt/brother/scanner/${PN} |
59 |
+ |
60 |
+ insinto /etc${dest} |
61 |
+ doins Brsane4.ini brsanenetdevice4.cfg |
62 |
+ doins -r models4 |
63 |
+ dosym "${EPREFIX}"/etc${dest}/Brsane4.ini ${dest}/Brsane4.ini |
64 |
+ dosym "${EPREFIX}"/etc${dest}/brsanenetdevice4.cfg \ |
65 |
+ ${dest}/brsanenetdevice4.cfg |
66 |
+ dosym "${EPREFIX}"/etc${dest}/models4 ${dest}/models4 |
67 |
+ |
68 |
+ into ${dest} |
69 |
+ dobin brsaneconfig4 |
70 |
+ dosym ../..${dest}/bin/brsaneconfig4 /usr/bin/brsaneconfig4 |
71 |
+ |
72 |
+ dolib.so "${WORKDIR}"/usr/lib*/sane/libsane-brother4.so.1.0.7 |
73 |
+ dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so.1 |
74 |
+ dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so |
75 |
+ dosym ../../..${dest}/${lib}/libsane-brother4.so.1.0.7 \ |
76 |
+ /usr/${lib}/sane/libsane-brother4.so.1.0.7 |
77 |
+ dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so.1 |
78 |
+ dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so |
79 |
+ |
80 |
+ insinto /etc/sane.d/dll.d |
81 |
+ newins - ${PN} <<< "brother4" |
82 |
+ |
83 |
+ DOC_CONTENTS="If want to use a remote scanner over the network, |
84 |
+ you will have to add it with \"brsaneconfig4\"." |
85 |
+ readme.gentoo_create_doc |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ readme.gentoo_print_elog |
90 |
+} |