Skip to content

Commit

Permalink
net-print/cups-pdf: Force working ghostscript-gpl version
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/779706
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Apr 20, 2021
1 parent c44bb97 commit 728e6e0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ inherit toolchain-funcs
DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files"
HOMEPAGE="https://www.cups-pdf.de/"
SRC_URI="https://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
S=${WORKDIR}/${PN}-${PV/_}

LICENSE="GPL-2+"
SLOT="0"
Expand All @@ -16,12 +17,10 @@ IUSE="+ppds"

RDEPEND="
net-print/cups
app-text/ghostscript-gpl
<app-text/ghostscript-gpl-9.54
"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${PN}-${PV/_}

src_compile() {
pushd src >/dev/null
$(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -o ${PN} -lcups || die
Expand Down

0 comments on commit 728e6e0

Please sign in to comment.