summaryrefslogtreecommitdiff
path: root/net-print/cups-pdf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-print/cups-pdf
reinit the tree, so we can have metadata
Diffstat (limited to 'net-print/cups-pdf')
-rw-r--r--net-print/cups-pdf/Manifest9
-rw-r--r--net-print/cups-pdf/cups-pdf-2.6.1.ebuild46
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.0.ebuild47
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.1.ebuild47
-rw-r--r--net-print/cups-pdf/metadata.xml8
5 files changed, 157 insertions, 0 deletions
diff --git a/net-print/cups-pdf/Manifest b/net-print/cups-pdf/Manifest
new file mode 100644
index 000000000000..87bee18839bb
--- /dev/null
+++ b/net-print/cups-pdf/Manifest
@@ -0,0 +1,9 @@
+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.0.1.tar.gz 29754 SHA256 738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531 SHA512 a06580f3056dddbb883c8db0c71b37b883482ae1ac8aa9bcfd85e679c4dcb44278006b7110d2988173d0eeb05b0f19fb39081fad49bf26839235e97fbe27a818 WHIRLPOOL e84ab73c79dffc84f88c9285ad8672cb745f6b1cbb1ca5c72566af259026393649776093229a7588b4d071248d8fc1401c7cfbaf3e26fd96d8aa50b7aed40c4e
+EBUILD cups-pdf-2.6.1.ebuild 1069 SHA256 4bcfb16f59835428ded208ec5fc668600ffc4ea753d5d3a94c2f9d5882591678 SHA512 12c9104f1acc59336a4ed7812bcdf6e2e143263c0227b10e1caa30ba23edab60e822b16ab58323887cea03e9445edd8a5890a50374abf4cabde0efc211c7b89b WHIRLPOOL 9a6998c0561db70a7eac8668c5bde6899e6b7803653fd3db163105f1e312587626829a891f4c2af67c35a03c1174ab8e868c9901ddf8557c78d89aac5f59b081
+EBUILD cups-pdf-3.0.0.ebuild 891 SHA256 f32e5fdbf824df5033a865e8b132957f36f5efb932344e9ca9149db4dd732613 SHA512 c3183d601b6c0e447a21bef891e200088e323fd5f688a7b9ff131a7e65fd7d7cd229033e86ed845bfda2c7f85385e272300b8e5c9e4a7352501250589925e0fd WHIRLPOOL 71c263c736505fb34acf94f533adc3d7f38ca836ad899a0fadcaeee5845f881f60d02cea7c459d2943de5a53ac65b193ed2e59e8778f863264517937e629f1d9
+EBUILD cups-pdf-3.0.1.ebuild 891 SHA256 f32e5fdbf824df5033a865e8b132957f36f5efb932344e9ca9149db4dd732613 SHA512 c3183d601b6c0e447a21bef891e200088e323fd5f688a7b9ff131a7e65fd7d7cd229033e86ed845bfda2c7f85385e272300b8e5c9e4a7352501250589925e0fd WHIRLPOOL 71c263c736505fb34acf94f533adc3d7f38ca836ad899a0fadcaeee5845f881f60d02cea7c459d2943de5a53ac65b193ed2e59e8778f863264517937e629f1d9
+MISC ChangeLog 2493 SHA256 75293a27e065f81520631cdabeb9923534a541f5997cc7912908161c0083517d SHA512 9c035354b40f37d55db3b089e44b504f2f3f690dccb06f3a03b582291d9ebea8ba6a1ff64f7f3c4c016f62299257c64b91f641d098c93ae249b2382f2fd9895c WHIRLPOOL 70ee2b0266560490b0a9f40d63a1311f5da3189c1a3425e324150b2a45aefac2cb4f7eed2343f069158c8e625d55306e0fb893100b8ac7c912ba4db75a8075ac
+MISC ChangeLog-2015 7692 SHA256 f7eb337751e9083defd1338431aab412aa00d6e119df094da384be6e874d6c57 SHA512 fb401ee4cc80f18a275b758984e390c295ec14ac742fe52597aed00a85d2490a1dfd59e2cdf78faee42b7f4917c48d1edcfd5636b1d6d8caec10a33e2d26edb9 WHIRLPOOL 3b9e8a0cf1c1805830ec95c9af288082eedde53a92db80b8de70d53a4e8f90cc8c0af5a880301ed0f8124cc3b8953b8ce15774aae963c08f01969c00ac0ac3e0
+MISC metadata.xml 255 SHA256 369a8c8c92b41e8d46a7225354bd493797b21f0b8b5c3f9ad4ac0a7e14322ebc SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36 WHIRLPOOL a6043f3549b633ddc8017207016e272af3ca85d175e603a0bfffcad7c5fef4457a01bfe76ceeec5ca09e957dafb78459db4d9cadc6ec99874d5be44ca85e27c0
diff --git a/net-print/cups-pdf/cups-pdf-2.6.1.ebuild b/net-print/cups-pdf/cups-pdf-2.6.1.ebuild
new file mode 100644
index 000000000000..edd5a5eba833
--- /dev/null
+++ b/net-print/cups-pdf/cups-pdf-2.6.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+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 ppc x86"
+IUSE=""
+
+DEPEND="net-print/cups
+ app-text/ghostscript-gpl"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ cd "${S}"/src
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c || die "Compilation failed."
+}
+
+src_install () {
+ exeinto /usr/libexec/cups/backend
+ exeopts -m0700
+ doexe src/cups-pdf
+
+ insinto /usr/share/cups/model
+ doins extra/CUPS-PDF.ppd
+
+ insinto /etc/cups
+ doins extra/cups-pdf.conf
+
+ dodoc ChangeLog README
+ newdoc contrib/Contents contrib_Contents
+}
+
+pkg_postinst () {
+ elog "Please view both the README and contrib_Contents files"
+ elog "as you may want to adjust some settings and/or use"
+ elog "contributed software. In the latter case you may need"
+ elog "to extract some files from the ${P} distfile."
+}
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 000000000000..4bc7323b0012
--- /dev/null
+++ b/net-print/cups-pdf/cups-pdf-3.0.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/net-print/cups-pdf/cups-pdf-3.0.1.ebuild b/net-print/cups-pdf/cups-pdf-3.0.1.ebuild
new file mode 100644
index 000000000000..4bc7323b0012
--- /dev/null
+++ b/net-print/cups-pdf/cups-pdf-3.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/net-print/cups-pdf/metadata.xml b/net-print/cups-pdf/metadata.xml
new file mode 100644
index 000000000000..c439b06d8c84
--- /dev/null
+++ b/net-print/cups-pdf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>printing@gentoo.org</email>
+ <name>Gentoo Printing Project</name>
+</maintainer>
+</pkgmetadata>