* [gentoo-commits] repo/dev/ulm:master commit in: net-print/brother-mfcj870dw/
@ 2021-05-07 11:42 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2021-05-07 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 46702cd950b609c45eb40bc084ed8fb242f7d8fb
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 11:40:11 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 7 11:40:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=46702cd9
net-print/brother-mfcj870dw: EAPI 7, update LICENSE, add QA_PREBUILT
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../brother-mfcj870dw-20130812.ebuild | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/net-print/brother-mfcj870dw/brother-mfcj870dw-20130812.ebuild b/net-print/brother-mfcj870dw/brother-mfcj870dw-20130812.ebuild
index d84a31f..175f141 100644
--- a/net-print/brother-mfcj870dw/brother-mfcj870dw-20130812.ebuild
+++ b/net-print/brother-mfcj870dw/brother-mfcj870dw-20130812.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit rpm
+inherit eapi8-dosym rpm
MODEL="${PN#*-}"
PV_LPR="3.0.0-1"
@@ -12,18 +12,20 @@ PV_CUPSWRAPPER="3.0.0-1"
DESCRIPTION="Brother printer driver for MFC-J870DW"
HOMEPAGE="http://www.brother.com/"
SRC_URI="http://download.brother.com/welcome/dlf006854/${MODEL}lpr-${PV_LPR}.i386.rpm http://download.brother.com/welcome/dlf006856/${MODEL}cupswrapper-${PV_CUPSWRAPPER}.i386.rpm"
+S="${WORKDIR}/opt/brother/Printers/${MODEL}"
-LICENSE="GPL-2+ Brother-lpr no-source-code"
+LICENSE="GPL-2+ Brother"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
IUSE="metric"
RESTRICT="strip"
RDEPEND="net-print/cups"
-S="${WORKDIR}/opt/brother/Printers/${MODEL}"
+QA_PREBUILT="/opt/brother/*"
src_prepare() {
+ default
if use metric; then
sed -i "/^PaperType/s/Letter/A4/" inf/br${MODEL}rc || die
fi
@@ -35,7 +37,7 @@ src_install() {
cd "${S}"/lpd || die
exeinto ${dest}/lpd
doexe br${MODEL}filter filter${MODEL} psconvertij2
- dosym ${dest}/lpd/filter${MODEL} \
+ dosym8 -r ${dest}/lpd/filter${MODEL} \
/usr/libexec/cups/filter/brother_lpdwrapper_${MODEL}
cd "${S}"/inf || die
@@ -44,12 +46,12 @@ src_install() {
doins -r lut
insinto /etc${dest}/inf
doins br${MODEL}rc # config file
- dosym /etc${dest}/inf/br${MODEL}rc ${dest}/inf/br${MODEL}rc
+ dosym8 -r /etc${dest}/inf/br${MODEL}rc ${dest}/inf/br${MODEL}rc
cd "${S}"/cupswrapper || die
insinto ${dest}/cupswrapper
doins brother_${MODEL}_printer_en.ppd
- dosym ${dest}/cupswrapper/brother_${MODEL}_printer_en.ppd \
+ dosym8 -r ${dest}/cupswrapper/brother_${MODEL}_printer_en.ppd \
/usr/share/cups/model/Brother/brother_${MODEL}_printer_en.ppd
# The brprintconf utility is very broken and mangles the path
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-07 11:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-07 11:42 [gentoo-commits] repo/dev/ulm:master commit in: net-print/brother-mfcj870dw/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox