summaryrefslogtreecommitdiff
path: root/media-gfx/brscan4
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /media-gfx/brscan4
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'media-gfx/brscan4')
-rw-r--r--media-gfx/brscan4/Manifest3
-rw-r--r--media-gfx/brscan4/brscan4-0.4.11.1.ebuild70
2 files changed, 73 insertions, 0 deletions
diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest
index 1a48fc82d64a..5f8c03d8aa96 100644
--- a/media-gfx/brscan4/Manifest
+++ b/media-gfx/brscan4/Manifest
@@ -1,4 +1,7 @@
DIST brscan4-0.4.10-1.i386.rpm 100151 BLAKE2B 94fd7daa5682b294740a6e1345c4ab8d488589896c3fa34eafc131b1cdc2ef2e022e11795ebc261538c6107583602a9622946ea049a3cfbbeb547e7e9c8825ad SHA512 5daeb9a1304f3aeb0a2e17823887a546ff872dfb42bf08ab403539815553da597504ac7afcbb2a34fbcfd8d973c03c8ca2c62617f8c499b9fc44b1719e4f2611
DIST brscan4-0.4.10-1.x86_64.rpm 118863 BLAKE2B 1e518122b049a6cd594e4603311d37f289aef4ad3973cbe846700c2a5c0c8f0ec994f6608817a1c12d6494c3ae78178b43f4ba8450ab00153e27f533ec1957c8 SHA512 c648db8d8543dec9e1cd556f2e0415c170c06935febd1373d783191b159ed9ed67043644ef81fb18027de89270e10a5cedcee11ea66ee262df1a2d4f006e4875
+DIST brscan4-0.4.11-1.i386.rpm 100453 BLAKE2B d3801d208faf203700a6723619b1999722225400c135c7c5e6cc3cfd8a963375c2094d518ae2d18be0e0d0fbff96b238de5fd89bfc82baad5bef25b1e9b83c25 SHA512 0c07311b2f7e728f876b52d3da1473942487d4ce7dfd65d3c7aef8ff2321ac1a1e904446a60738e38722217af35d9d6455ab2bb390305da8a3c548fb024f0b70
+DIST brscan4-0.4.11-1.x86_64.rpm 119016 BLAKE2B 9b43c1e10e5e0ee63b89999390d214d71f694c885749401ac676999ffabfcc24174098b09586bd148144dd6e83f89c52c251be293e428edf0f70b964d5d5042c SHA512 c97a7f51398e34783a7099a118bad320b01e220f6ba942504194d6d2e5e10164168594820232f3861458916be1985ed23560b9b635d2755f03551c663768ebf7
EBUILD brscan4-0.4.10.1.ebuild 1999 BLAKE2B b8b5f6ffbd1957599c4e1dc97ca3c6f71408cbe1dd7ba7fb59771a7a7320509f682836f4aca3e929c975c54f1e41626bafe397e0408c3ff489b9494ae94741a2 SHA512 206279557c150d4a0bf9fc6906f4f2fd560623b1dcfbf315abceadc2ad9ec3b648ac8ec6b0c042c13881d3f84f41bb6fcbd52e03d7ea71a25c171cb89b7a64ac
+EBUILD brscan4-0.4.11.1.ebuild 1999 BLAKE2B cd871cadaa3fce01528b7863f279ba0971e0f64aa2cef662dae55b1d73b2060ad5e89682d35a4c954fe69ec0d83ae4ebab3762f40413417e43334d38738ad8ee SHA512 c2a33e54071ab971e8a5dfe05f43641312d43eb2e7eddb319cf3a10822dc94a07b016cceef95eaaec0052cad45557e4520af1927eb1e7db2cb7bf691ed4332bc
MISC metadata.xml 291 BLAKE2B 0743394c83c6ca0d593442aba2267e89843d6add29077ed21585fc94ae5844dbe99959f37c041ae67282e19c4cfd5a883e2defdba7394f041775b300cd4cb64e SHA512 e21a50d3094f9005676ebce4152259b719232293070710cae7d3ccc4139e391336761a9ac4141873e8f6e0c548ea4cee0de6a30a22f15c0804675f4cee7ff3f8
diff --git a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
new file mode 100644
index 000000000000..7473ad81942d
--- /dev/null
+++ b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eapi8-dosym readme.gentoo-r1 rpm
+
+MY_P="${PN}-${PV%.*}-${PV##*.}"
+DESCRIPTION="Brother scanner driver"
+HOMEPAGE="https://www.brother.com/"
+SRC_URI="
+ amd64? ( https://download.brother.com/welcome/dlf105203/${MY_P}.x86_64.rpm )
+ x86? ( https://download.brother.com/welcome/dlf105202/${MY_P}.i386.rpm )"
+S="${WORKDIR}/opt/brother/scanner/${PN}"
+
+LICENSE="Brother"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="zeroconf"
+RESTRICT="strip"
+
+RDEPEND="media-gfx/sane-backends
+ virtual/libusb:0
+ zeroconf? ( net-dns/avahi )"
+
+QA_PREBUILT="opt/brother/*"
+
+src_install() {
+ local dest=/opt/brother/scanner/${PN}
+ local lib=$(get_libdir)
+
+ insinto /etc${dest}
+ doins Brsane4.ini brsanenetdevice4.cfg
+ doins -r models4
+ dosym8 -r {/etc,}${dest}/Brsane4.ini
+ dosym8 -r {/etc,}${dest}/brsanenetdevice4.cfg
+ dosym8 -r {/etc,}${dest}/models4
+
+ exeinto ${dest}
+ doexe brsaneconfig4
+ dosym8 -r {${dest},/usr/bin}/brsaneconfig4
+
+ if use zeroconf; then
+ doexe brscan_cnetconfig
+ # Don't install brscan_gnetconfig because it depends on gtk+:2
+ fi
+
+ into ${dest}
+ 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
+ dosym8 -r {${dest}/${lib},/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"
+
+ local DOC_CONTENTS="If want to use a remote scanner over the network,
+ you will have to add it with \"brsaneconfig4\"."
+ use zeroconf || DOC_CONTENTS+="\\n\\nNote that querying the network
+ (\"brsaneconfig4 -q\") will not work unless you emerge ${PN} with
+ the zeroconf flag enabled."
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}