From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9AE5139085 for ; Sat, 28 Jan 2017 23:03:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01417E0D5B; Sat, 28 Jan 2017 23:03:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2A1BE0D5B for ; Sat, 28 Jan 2017 23:03:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DBD7341671 for ; Sat, 28 Jan 2017 23:03:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A5E93921 for ; Sat, 28 Jan 2017 23:03:29 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1485644602.19948b6f0211355afbb0370ce562719b92e09e32.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cups-pdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/cups-pdf/Manifest net-print/cups-pdf/cups-pdf-3.0.0.ebuild X-VCS-Directories: net-print/cups-pdf/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 19948b6f0211355afbb0370ce562719b92e09e32 X-VCS-Branch: master Date: Sat, 28 Jan 2017 23:03:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1fcd7dfc-de68-4770-83f4-278594d2e0f4 X-Archives-Hash: 3d6cd4191076a1aee5d7db8a9f72b2e8 commit: 19948b6f0211355afbb0370ce562719b92e09e32 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jan 28 23:02:53 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sat Jan 28 23:03:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19948b6f net-print/cups-pdf: Version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-print/cups-pdf/Manifest | 1 + net-print/cups-pdf/cups-pdf-3.0.0.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/net-print/cups-pdf/Manifest b/net-print/cups-pdf/Manifest index 901da97..a91a48f 100644 --- a/net-print/cups-pdf/Manifest +++ b/net-print/cups-pdf/Manifest @@ -1,2 +1,3 @@ DIST cups-pdf_2.6.1.tar.gz 33315 SHA256 04e17eb563dceea048e1a435edcbcf52faa5288f85e8390cd64d702edb6745f1 SHA512 60702159907f95e005c93a38551b5aaa65b7e4b8e009b48becf4523d606c4bbb127e81e5acf8519ce4c9aed90b41deb01d80171f3145086351dbd022863a3816 WHIRLPOOL dec796386df1b13c6fa8cfaed71cf9442a0aa8fc8ba739f8aa8ac3f2fc1e0ec3a1cbd205835f6f10314b805b0744641f3788458863df63104373bbf11e64e886 +DIST cups-pdf_3.0.0.tar.gz 29654 SHA256 a0b94d09ccf92761a83e1af13fcdbfba737d7fcbbe2774ec24297ddbbf13aebe SHA512 14420e50b9ac93d12e75b98ba8c3456d35a3bcce0778eee8308ac7a3c3a987b4dca5a4f140353bd2060a5f0f4d3434c442b00ea309660b4e5a72fe11dba25276 WHIRLPOOL f95b21be0db15e2aa6af8d769a5d8efcf4447c3b69a2e7128f6ba51ce6e8c575aec78c69ef97ad8b6e7cc69c6a10635acf52b81ba0e415b553e99bef5675864e DIST cups-pdf_3.0beta1.tar.gz 38040 SHA256 d8f30740e0092e7b53cd228d9ddae8085bde744b5e63064bf79ad0c3e3ebe578 SHA512 89d77bf8daa4f82cde4db32c607a5d503ae37bc720906b9fafbd7dedac3cb522fbc342475cf4cff62fdbb16c59c7a1a62814cf85492f6a97e277e64c886985f5 WHIRLPOOL 6d44d4c62f198a4b8da83791bb22bad9e3a43dbcad2a587729e41eb80cd9a5cb14561dff522c6452cb591ad6463b14d9d0ff41b19e7c58db494db421d2446bf6 diff --git a/net-print/cups-pdf/cups-pdf-3.0.0.ebuild b/net-print/cups-pdf/cups-pdf-3.0.0.ebuild new file mode 100644 index 00000000..7bed03e --- /dev/null +++ b/net-print/cups-pdf/cups-pdf-3.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files" +HOMEPAGE="http://www.cups-pdf.de/" +SRC_URI="http://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="+ppds" + +RDEPEND=" + net-print/cups + app-text/ghostscript-gpl +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${PV/_} + +src_compile() { + pushd src >/dev/null + $(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -o ${PN} -lcups || die + popd >/dev/null +} + +src_install() { + exeinto /usr/libexec/cups/backend + exeopts -m0700 + doexe src/cups-pdf + + insinto /etc/cups + doins extra/cups-pdf.conf + + insinto /usr/share/cups/model + if use ppds; then + doins extra/CUPS-PDF_opt.ppd + else + doins extra/CUPS-PDF_noopt.ppd + fi + + dodoc ChangeLog README +}