summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild')
-rw-r--r--net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild b/net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild
index 6c152f0..dfdcb09 100644
--- a/net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild
+++ b/net-print/hl4040cnlpr/hl4040cnlpr-1.0.3.ebuild
@@ -4,7 +4,7 @@
EAPI=3
-inherit rpm
+inherit base rpm
DESCRIPTION="Cupswrapper driver for Brother HL4040CN"
@@ -29,7 +29,10 @@ IUSE=""
# Run-time dependencies. Must be defined to whatever this depends on to run.
# The below is valid if the same run-time depends are required to compile.
-RDEPEND="net-print/cups"
+RDEPEND="net-print/cups
+ >=sys-apps/file-5.06
+ app-text/ghostscript-gpl
+ app-text/a2ps"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
@@ -40,6 +43,8 @@ S="${WORKDIR}/${P}-1"
#AVAILABLE_MODELS="dcp9040cn dcp9042cdn dcp9045cdn hl4040cdn hl4040cn hl4040cnj
#hl4050cdn hl4070cdw mfc9440cn mfc9450cdn mfc9640cw mfc9840cdw"
+PATCHES=( "${FILESDIR}/useCupsFileType.patch" )
+
src_configure() {
# Don't do anything
sed -i -b -e "s,/usr/local/\(Brother[^\x00]*\),/usr/lib/\1\x00\x00,g" \