Updates
This commit is contained in:
@@ -0,0 +1 @@
|
||||
EBUILD cups-ptouch-9999.ebuild 1126 BLAKE2B 36bf8c50e719b2299f348c3abf7439d6484f47a8400a29939fb68642ce27eb4a0d2d71b68c6c1b79e5b75a050f4d8f6b00d6826c5449ad1267f6e00fbd996c82 SHA512 527d5ca5c58b1e7d268c7ec8f9cc902767be4d258cf7c3c5b82020cf66b4b7e008e44304ae8dfc36d283bbaf99a9e4e0fd707e26f74da639613e872c950ea1fe
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib
|
||||
|
||||
MY_PN="printer-driver-ptouch"
|
||||
|
||||
DESCRIPTION="P-Touch PT-series and QL-series printer driver for Linux (under CUPS)"
|
||||
HOMEPAGE="https://github.com/philpem/printer-driver-ptouch"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/philpem/${MY_PN}.git"
|
||||
KEYWORDS=""
|
||||
inherit autotools git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/philpem/${MY_PN}/archive/refs/tags/v${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
RESTRICT="nomirror"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="net-print/cups
|
||||
net-print/foomatic-db-engine
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --libdir="/usr/libexec"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Fix collisions
|
||||
rm "${D}"/usr/share/foomatic/db/source/printer/Brother-PT-{1500PC,18R,1950,1950VP,1960,2300,2420PC,2450DX,2500PC,2600,2610,3600,550A,9200DX,9200PC,9400,9500PC,9600,PC}.xml
|
||||
rm "${D}"/usr/share/foomatic/db/source/printer/Brother-QL-{5{00,50},650TD}.xml
|
||||
}
|
||||
Reference in New Issue
Block a user