[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2022-02-20 Thread Ulrich Müller
commit: edbce1c2583be7f978be5da3ce3582fded9d1a39
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Feb 20 16:25:48 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Feb 20 16:26:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbce1c2

media-gfx/brscan4: Bump to EAPI 8

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 ...{brscan4-0.4.11.1.ebuild => brscan4-0.4.11.1-r1.ebuild} | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.11.1-r1.ebuild
similarity index 86%
rename from media-gfx/brscan4/brscan4-0.4.11.1.ebuild
rename to media-gfx/brscan4/brscan4-0.4.11.1-r1.ebuild
index 380e46ee92f1..fd5e746c9ae6 100644
--- a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
+++ b/media-gfx/brscan4/brscan4-0.4.11.1-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit eapi8-dosym readme.gentoo-r1 rpm
+inherit readme.gentoo-r1 rpm
 
 MY_P="${PN}-${PV%.*}-${PV##*.}"
 DESCRIPTION="Brother scanner driver"
@@ -33,13 +33,13 @@ src_install() {
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
+   dosym -r {/etc,}${dest}/Brsane4.ini
+   dosym -r {/etc,}${dest}/brsanenetdevice4.cfg
+   dosym -r {/etc,}${dest}/models4
 
exeinto ${dest}
doexe brsaneconfig4
-   dosym8 -r {${dest},/usr/bin}/brsaneconfig4
+   dosym -r {${dest},/usr/bin}/brsaneconfig4
 
if use zeroconf; then
doexe brscan_cnetconfig
@@ -50,7 +50,7 @@ src_install() {
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 -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
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2022-01-25 Thread Ulrich Müller
commit: b5826331e8e8a019747f57eb12695e2e584e702c
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Jan 25 10:10:54 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jan 25 10:13:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5826331

media-gfx/brscan4: Remove old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 media-gfx/brscan4/Manifest|  2 -
 media-gfx/brscan4/brscan4-0.4.10.1.ebuild | 70 ---
 2 files changed, 72 deletions(-)

diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest
index 6159eff2e71e..3844e14642eb 100644
--- a/media-gfx/brscan4/Manifest
+++ b/media-gfx/brscan4/Manifest
@@ -1,4 +1,2 @@
-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 
d3801d208faf203700a6723619b199975400c135c7c5e6cc3cfd8a963375c2094d518ae2d18be0e0d0fbff96b238de5fd89bfc82baad5bef25b1e9b83c25
 SHA512 
0c07311b2f7e728f876b52d3da1473942487d4ce7dfd65d3c7aef8ff2321ac1a1e904446a60738e38722217af35d9d6455ab2bb390305da8a3c548fb024f0b70
 DIST brscan4-0.4.11-1.x86_64.rpm 119016 BLAKE2B 
9b43c1e10e5e0ee63b8390d214d71f694c885749401ac676999ffabfcc24174098b09586bd148144dd6e83f89c52c251be293e428edf0f70b964d5d5042c
 SHA512 
c97a7f51398e34783a7099a118bad320b01e220f6ba942504194d6d2e5e10164168594820232f3861458916be1985ed23560b9b635d2755f03551c663768ebf7

diff --git a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
deleted file mode 100644
index ef415a9e04c5..
--- a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2022-01-25 Thread Ulrich Müller
commit: b3f4c74c78a047d8b9a445f1657b3c26734c32ff
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Jan 25 10:09:57 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jan 25 10:13:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f4c74c

media-gfx/brscan4: Depend on glibc

Bug: https://bugs.gentoo.org/832026
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 media-gfx/brscan4/brscan4-0.4.11.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
index 7473ad81942d..380e46ee92f1 100644
--- a/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
+++ b/media-gfx/brscan4/brscan4-0.4.11.1.ebuild
@@ -20,6 +20,7 @@ IUSE="zeroconf"
 RESTRICT="strip"
 
 RDEPEND="media-gfx/sane-backends
+   sys-libs/glibc
virtual/libusb:0
zeroconf? ( net-dns/avahi )"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2022-01-12 Thread Matt Turner
commit: 6ada5390422e4bd91e1f51272c5a2dbef1622ed2
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 12 18:33:30 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jan 12 18:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ada5390

media-gfx/brscan4: Version bump to 0.4.11.1

Signed-off-by: Matt Turner  gentoo.org>

 media-gfx/brscan4/Manifest|  2 +
 media-gfx/brscan4/brscan4-0.4.11.1.ebuild | 70 +++
 2 files changed, 72 insertions(+)

diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest
index 04480576375d..6159eff2e71e 100644
--- a/media-gfx/brscan4/Manifest
+++ b/media-gfx/brscan4/Manifest
@@ -1,2 +1,4 @@
 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 
d3801d208faf203700a6723619b199975400c135c7c5e6cc3cfd8a963375c2094d518ae2d18be0e0d0fbff96b238de5fd89bfc82baad5bef25b1e9b83c25
 SHA512 
0c07311b2f7e728f876b52d3da1473942487d4ce7dfd65d3c7aef8ff2321ac1a1e904446a60738e38722217af35d9d6455ab2bb390305da8a3c548fb024f0b70
+DIST brscan4-0.4.11-1.x86_64.rpm 119016 BLAKE2B 
9b43c1e10e5e0ee63b8390d214d71f694c885749401ac676999ffabfcc24174098b09586bd148144dd6e83f89c52c251be293e428edf0f70b964d5d5042c
 SHA512 
c97a7f51398e34783a7099a118bad320b01e220f6ba942504194d6d2e5e10164168594820232f3861458916be1985ed23560b9b635d2755f03551c663768ebf7

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2021-05-12 Thread Ulrich Müller
commit: 3853ca2def9372e20bc7fd971b385f32c2288221
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed May 12 11:48:30 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed May 12 11:48:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3853ca2d

media-gfx/brscan4: QA_PREBUILT is a relative path

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 media-gfx/brscan4/brscan4-0.4.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
index 7a1df035f4c..ef415a9e04c 100644
--- a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
+++ b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="media-gfx/sane-backends
virtual/libusb:0
zeroconf? ( net-dns/avahi )"
 
-QA_PREBUILT="/opt/brother/*"
+QA_PREBUILT="opt/brother/*"
 
 src_install() {
local dest=/opt/brother/scanner/${PN}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2021-05-07 Thread Ulrich Müller
commit: b377ae58b15f06ce458e8f8fe2ce26de1d651201
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri May  7 11:25:58 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri May  7 11:26:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b377ae58

media-gfx/brscan4: Binary package, so add QA_PREBUILT

Closes: https://bugs.gentoo.org/788715
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 media-gfx/brscan4/brscan4-0.4.10.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
index 93254dfefc8..7a1df035f4c 100644
--- a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
+++ b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
@@ -23,6 +23,8 @@ 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)



[gentoo-commits] repo/gentoo:master commit in: media-gfx/brscan4/

2021-05-07 Thread Ulrich Müller
commit: cfc8a29dba62ec02fec805037a112355608a9511
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri May  7 08:22:04 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri May  7 08:24:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc8a29d

media-gfx/brscan4: Initial import

>From my developer overlay. Ebuild contributed by me.

Suggested-by: Matt Turner  gentoo.org>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 media-gfx/brscan4/Manifest|  2 +
 media-gfx/brscan4/brscan4-0.4.10.1.ebuild | 68 +++
 media-gfx/brscan4/metadata.xml| 10 +
 3 files changed, 80 insertions(+)

diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest
new file mode 100644
index 000..04480576375
--- /dev/null
+++ b/media-gfx/brscan4/Manifest
@@ -0,0 +1,2 @@
+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

diff --git a/media-gfx/brscan4/brscan4-0.4.10.1.ebuild 
b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
new file mode 100644
index 000..93254dfefc8
--- /dev/null
+++ b/media-gfx/brscan4/brscan4-0.4.10.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 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 )"
+
+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
+}

diff --git a/media-gfx/brscan4/metadata.xml b/media-gfx/brscan4/metadata.xml
new file mode 100644
index 000..5bd0c1a7db5
--- /dev/null
+++ b/media-gfx/brscan4/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  u...@gentoo.org
+
+
+  matts...@gentoo.org
+
+