1 |
commit: 6ada5390422e4bd91e1f51272c5a2dbef1622ed2 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 12 18:33:30 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 12 18:34:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ada5390 |
7 |
|
8 |
media-gfx/brscan4: Version bump to 0.4.11.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-gfx/brscan4/Manifest | 2 + |
13 |
media-gfx/brscan4/brscan4-0.4.11.1.ebuild | 70 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest |
17 |
index 04480576375d..6159eff2e71e 100644 |
18 |
--- a/media-gfx/brscan4/Manifest |
19 |
+++ b/media-gfx/brscan4/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
DIST brscan4-0.4.10-1.i386.rpm 100151 BLAKE2B 94fd7daa5682b294740a6e1345c4ab8d488589896c3fa34eafc131b1cdc2ef2e022e11795ebc261538c6107583602a9622946ea049a3cfbbeb547e7e9c8825ad SHA512 5daeb9a1304f3aeb0a2e17823887a546ff872dfb42bf08ab403539815553da597504ac7afcbb2a34fbcfd8d973c03c8ca2c62617f8c499b9fc44b1719e4f2611 |
22 |
DIST brscan4-0.4.10-1.x86_64.rpm 118863 BLAKE2B 1e518122b049a6cd594e4603311d37f289aef4ad3973cbe846700c2a5c0c8f0ec994f6608817a1c12d6494c3ae78178b43f4ba8450ab00153e27f533ec1957c8 SHA512 c648db8d8543dec9e1cd556f2e0415c170c06935febd1373d783191b159ed9ed67043644ef81fb18027de89270e10a5cedcee11ea66ee262df1a2d4f006e4875 |
23 |
+DIST brscan4-0.4.11-1.i386.rpm 100453 BLAKE2B d3801d208faf203700a6723619b1999722225400c135c7c5e6cc3cfd8a963375c2094d518ae2d18be0e0d0fbff96b238de5fd89bfc82baad5bef25b1e9b83c25 SHA512 0c07311b2f7e728f876b52d3da1473942487d4ce7dfd65d3c7aef8ff2321ac1a1e904446a60738e38722217af35d9d6455ab2bb390305da8a3c548fb024f0b70 |
24 |
+DIST brscan4-0.4.11-1.x86_64.rpm 119016 BLAKE2B 9b43c1e10e5e0ee63b89999390d214d71f694c885749401ac676999ffabfcc24174098b09586bd148144dd6e83f89c52c251be293e428edf0f70b964d5d5042c SHA512 c97a7f51398e34783a7099a118bad320b01e220f6ba942504194d6d2e5e10164168594820232f3861458916be1985ed23560b9b635d2755f03551c663768ebf7 |
25 |
|
26 |
diff --git a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7473ad81942d |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild |
31 |
@@ -0,0 +1,70 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit eapi8-dosym readme.gentoo-r1 rpm |
38 |
+ |
39 |
+MY_P="${PN}-${PV%.*}-${PV##*.}" |
40 |
+DESCRIPTION="Brother scanner driver" |
41 |
+HOMEPAGE="https://www.brother.com/" |
42 |
+SRC_URI=" |
43 |
+ amd64? ( https://download.brother.com/welcome/dlf105203/${MY_P}.x86_64.rpm ) |
44 |
+ x86? ( https://download.brother.com/welcome/dlf105202/${MY_P}.i386.rpm )" |
45 |
+S="${WORKDIR}/opt/brother/scanner/${PN}" |
46 |
+ |
47 |
+LICENSE="Brother" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="-* ~amd64 ~x86" |
50 |
+IUSE="zeroconf" |
51 |
+RESTRICT="strip" |
52 |
+ |
53 |
+RDEPEND="media-gfx/sane-backends |
54 |
+ virtual/libusb:0 |
55 |
+ zeroconf? ( net-dns/avahi )" |
56 |
+ |
57 |
+QA_PREBUILT="opt/brother/*" |
58 |
+ |
59 |
+src_install() { |
60 |
+ local dest=/opt/brother/scanner/${PN} |
61 |
+ local lib=$(get_libdir) |
62 |
+ |
63 |
+ insinto /etc${dest} |
64 |
+ doins Brsane4.ini brsanenetdevice4.cfg |
65 |
+ doins -r models4 |
66 |
+ dosym8 -r {/etc,}${dest}/Brsane4.ini |
67 |
+ dosym8 -r {/etc,}${dest}/brsanenetdevice4.cfg |
68 |
+ dosym8 -r {/etc,}${dest}/models4 |
69 |
+ |
70 |
+ exeinto ${dest} |
71 |
+ doexe brsaneconfig4 |
72 |
+ dosym8 -r {${dest},/usr/bin}/brsaneconfig4 |
73 |
+ |
74 |
+ if use zeroconf; then |
75 |
+ doexe brscan_cnetconfig |
76 |
+ # Don't install brscan_gnetconfig because it depends on gtk+:2 |
77 |
+ fi |
78 |
+ |
79 |
+ into ${dest} |
80 |
+ dolib.so "${WORKDIR}"/usr/${lib}/sane/libsane-brother4.so.1.0.7 |
81 |
+ dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so.1 |
82 |
+ dosym libsane-brother4.so.1.0.7 ${dest}/${lib}/libsane-brother4.so |
83 |
+ dosym8 -r {${dest}/${lib},/usr/${lib}/sane}/libsane-brother4.so.1.0.7 |
84 |
+ dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so.1 |
85 |
+ dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so |
86 |
+ |
87 |
+ insinto /etc/sane.d/dll.d |
88 |
+ newins - ${PN} <<< "brother4" |
89 |
+ |
90 |
+ local DOC_CONTENTS="If want to use a remote scanner over the network, |
91 |
+ you will have to add it with \"brsaneconfig4\"." |
92 |
+ use zeroconf || DOC_CONTENTS+="\\n\\nNote that querying the network |
93 |
+ (\"brsaneconfig4 -q\") will not work unless you emerge ${PN} with |
94 |
+ the zeroconf flag enabled." |
95 |
+ |
96 |
+ readme.gentoo_create_doc |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ readme.gentoo_print_elog |
101 |
+} |