commit:     22c341e089df6b2cfa3c51f69c2cb69381175460
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 22:35:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 22:36:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c341e0

net-print/cups-filters: drop 1.28.3-r1, 1.28.8-r1, 1.28.9-r1, 1.28.10-r2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-print/cups-filters/Manifest                    |   3 -
 .../cups-filters/cups-filters-1.28.10-r2.ebuild    | 149 ---------------------
 .../cups-filters/cups-filters-1.28.3-r1.ebuild     | 148 --------------------
 .../cups-filters/cups-filters-1.28.8-r1.ebuild     | 148 --------------------
 .../cups-filters/cups-filters-1.28.9-r1.ebuild     | 149 ---------------------
 5 files changed, 597 deletions(-)

diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
index 8b06d3133f61..6b50091e48bd 100644
--- a/net-print/cups-filters/Manifest
+++ b/net-print/cups-filters/Manifest
@@ -1,7 +1,4 @@
 DIST cups-filters-1.28.10.tar.xz 1503924 BLAKE2B 
b745ad9d35e375411d43acc8936a7be3197deda26d64c3fcdf792abf751452a83ab4e77b25336509a4d15a7db3dd142c94f3fd108f514d4956ac62f00310b263
 SHA512 
d6079633e10c3cfdc744491df03adc73d98dab0d9c0c6d3bc426b751545ae3434ea875e0841cec9358c19336347903f2832b5f801700b371cc1959e031bfa659
 DIST cups-filters-1.28.12.tar.xz 1505868 BLAKE2B 
a30f4772f89822dd110312ad2b2fb40ffcd093cee119df0660191938b374f4f99178c8e8801c8ff41bf01822a7e9c0e8aebd1d2f96159d377a40f7047da3177a
 SHA512 
430e31815fe3b40b2d12c8db0a9e38060398d9ba3306af5562bc887dd99b06971765b98ba7227a0478d9f6616dd825149f138a2367b442ea0593708eb34140f6
 DIST cups-filters-1.28.13.tar.xz 1510932 BLAKE2B 
20c3d07c59d37ddb7960967fd88ba6be5363dcf4cac6cbde03311507063c3da230ed2026ceedf35c731d6582ad845c4963455e5dad9233295785b4cde80f2278
 SHA512 
52d0f37cf80d9de09d73337e2e32dd4d23eb47f3f8470770e164dabe78220316a4d4b2aea5b466f21d1f504df73cf9eed21a518128ca3ce8048a40deedd9a765
-DIST cups-filters-1.28.3.tar.xz 1501824 BLAKE2B 
b4f493681ac2a701648b3b9b071f4ebfb432dd4660b610579ff2ed6cba4f6cd4351d5a1f28f5c096b3ba20d9c45dc87837bf127b9bc98680a98dec58dd0a68ea
 SHA512 
ac139ae7452342bd46e464bff3438d437f1c9a2e719a7b32b7abc22c2667acaa93dfb976decb277a02572e688ecd86289e01fca817bef93018dff2076fb2a30c
 DIST cups-filters-1.28.7.tar.xz 1503052 BLAKE2B 
b9d3280871faa79a7c277731bf6eb1eef161537829d4bc07ec36075ebc12a3617dce66994ed708991757ce7d78fc5ab010925a1d3d9811fd11cf1172f4786442
 SHA512 
fa94f51ca1c208dcacb1814d8b812c9a72dd09475b7cf836b02c72cb5e3290318f37e475ee3ae8d45351715c3a2ccc0df5ac51ae6fc11462f5acdfa303a04727
-DIST cups-filters-1.28.8.tar.xz 1502456 BLAKE2B 
21dad6dc9a1d2f967f3938f2fc5e35eebadb67da8b526a9ea61599272bd3f87e8efff376661adc02b62b539798cbe46e0f7c5c25ba262da0561b53bbb3d08d5d
 SHA512 
77b39ce2a30ad44d50aa58964b389fa5dd75b2b4307ccb25996050fd176e1e794ad0a66ddd4de76e95a671683c3bf448a4f471272c97a752f25ff6234f7d8511
-DIST cups-filters-1.28.9.tar.xz 1502888 BLAKE2B 
ddfed7c0815673d8a372af96cd879fb159a10d5cdaf07839a0157b94c43cead9d32c62a204513274f2a90b48a09e07d20049b93370b24604f14efe0e782116af
 SHA512 
fbdf01b0a3acd70e3bf036ca4944a8b85ab4ab95d945458e924692008a8a37bb0b1fb097c4d4b3cf6f5ad68ae06e8358659cdfc24974ee629be37b54f5c3dca1

diff --git a/net-print/cups-filters/cups-filters-1.28.10-r2.ebuild 
b/net-print/cups-filters/cups-filters-1.28.10-r2.ebuild
deleted file mode 100644
index 60bffc0de893..000000000000
--- a/net-print/cups-filters/cups-filters-1.28.10-r2.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GENTOO_DEPEND_ON_PERL=no
-
-inherit autotools perl-module systemd flag-o-matic
-
-if [[ "${PV}" == "9999" ]] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git";
-else
-       SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz";
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-fi
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters";
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript test tiff 
zeroconf"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
-       >=app-text/qpdf-8.3.0:=
-       dev-libs/glib:2
-       media-libs/fontconfig
-       media-libs/freetype:2
-       media-libs/lcms:2
-       >=net-print/cups-1.7.3
-       !<=net-print/cups-1.5.9999
-       sys-devel/bc
-       sys-libs/zlib
-       dbus? ( sys-apps/dbus )
-       foomatic? ( !net-print/foomatic-filters )
-       jpeg? ( virtual/jpeg:0 )
-       ldap? ( net-nds/openldap:= )
-       pdf? ( app-text/mupdf )
-       perl? ( dev-lang/perl:= )
-       png? ( media-libs/libpng:0= )
-       postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
-       tiff? ( media-libs/tiff:0 )
-       zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       dev-util/gdbus-codegen
-       >=sys-devel/gettext-0.18.3
-       virtual/pkgconfig
-       test? ( media-fonts/dejavu )
-"
-
-src_prepare() {
-       local need_eautoreconf=
-
-       default
-
-       if ! use test ; then
-               eapply 
"${FILESDIR}"/${PN}-1.28.2-make-missing-testfont-non-fatal.patch
-               need_eautoreconf=yes
-       elif [[ "${PV}" == "9999" ]] ; then
-               need_eautoreconf=yes
-       fi
-
-       [[ -n ${need_eautoreconf} ]] && eautoreconf
-}
-
-src_configure() {
-       # Bug #626800
-       append-cxxflags -std=c++11
-
-       local myeconfargs=(
-               --enable-imagefilters
-               --localstatedir="${EPREFIX}"/var
-               --with-browseremoteprotocols=DNSSD,CUPS
-               --with-cups-rundir="${EPREFIX}"/run/cups
-               --with-fontdir="fonts/conf.avail"
-               --with-pdftops=pdftops
-               --with-rcdir=no
-               --without-php
-               --disable-static
-               $(use_enable dbus)
-               $(use_enable foomatic)
-               $(use_enable ldap)
-               $(use_enable pclm)
-               $(use_enable pdf mutool)
-               $(use_enable postscript ghostscript)
-               $(use_enable zeroconf avahi)
-               $(use_with jpeg)
-               $(use_with png)
-               $(use_with tiff)
-       )
-
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_configure
-               perl-module_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_test() {
-       emake check
-}
-
-src_install() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_install
-               perl_delete_localpod
-               popd > /dev/null || die
-       fi
-
-       if use postscript; then
-               # workaround: some printer drivers still require pstoraster and 
pstopxl, bug #383831
-               dosym gstoraster /usr/libexec/cups/filter/pstoraster
-               dosym gstopxl /usr/libexec/cups/filter/pstopxl
-       fi
-
-       find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
-       cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
-
-       if ! use zeroconf ; then
-               sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' 
"${T}"/cups-browsed || die
-               sed -i -e 's:cups\.service 
avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
-       fi
-
-       doinitd "${T}"/cups-browsed
-       systemd_dounit "${S}"/utils/cups-browsed.service
-}
-
-pkg_postinst() {
-       if ! use foomatic ; then
-               ewarn "You are disabling the foomatic code in cups-filters. 
Please do that ONLY if absolutely"
-               ewarn "necessary. net-print/foomatic-filters as a replacement 
is deprecated and unmaintained."
-       fi
-}

diff --git a/net-print/cups-filters/cups-filters-1.28.3-r1.ebuild 
b/net-print/cups-filters/cups-filters-1.28.3-r1.ebuild
deleted file mode 100644
index cc91c4d8edeb..000000000000
--- a/net-print/cups-filters/cups-filters-1.28.3-r1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GENTOO_DEPEND_ON_PERL=no
-
-inherit autotools perl-module systemd flag-o-matic
-
-if [[ "${PV}" == "9999" ]] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git";
-else
-       SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz";
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
x86"
-fi
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters";
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript test tiff 
zeroconf"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
-       >=app-text/qpdf-8.3.0:=
-       dev-libs/glib:2
-       media-libs/fontconfig
-       media-libs/freetype:2
-       media-libs/lcms:2
-       >=net-print/cups-1.7.3
-       !<=net-print/cups-1.5.9999
-       sys-devel/bc
-       sys-libs/zlib
-       dbus? ( sys-apps/dbus )
-       foomatic? ( !net-print/foomatic-filters )
-       jpeg? ( virtual/jpeg:0 )
-       ldap? ( net-nds/openldap:= )
-       pdf? ( app-text/mupdf )
-       perl? ( dev-lang/perl:= )
-       png? ( media-libs/libpng:0= )
-       postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
-       tiff? ( media-libs/tiff:0 )
-       zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       dev-util/gdbus-codegen
-       >=sys-devel/gettext-0.18.3
-       virtual/pkgconfig
-       test? ( media-fonts/dejavu )
-"
-
-src_prepare() {
-       local need_eautoreconf=
-
-       default
-
-       if ! use test ; then
-               eapply 
"${FILESDIR}"/${PN}-1.28.2-make-missing-testfont-non-fatal.patch
-               need_eautoreconf=yes
-       elif [[ "${PV}" == "9999" ]] ; then
-               need_eautoreconf=yes
-       fi
-
-       [[ -n ${need_eautoreconf} ]] && eautoreconf
-
-       # Bug #626800
-       append-cxxflags -std=c++11
-}
-
-src_configure() {
-       local myeconfargs=(
-               --enable-imagefilters
-               --localstatedir="${EPREFIX}"/var
-               --with-browseremoteprotocols=DNSSD,CUPS
-               --with-cups-rundir="${EPREFIX}"/run/cups
-               --with-fontdir="fonts/conf.avail"
-               --with-pdftops=pdftops
-               --with-rcdir=no
-               --without-php
-               --disable-static
-               $(use_enable dbus)
-               $(use_enable foomatic)
-               $(use_enable ldap)
-               $(use_enable pclm)
-               $(use_enable pdf mutool)
-               $(use_enable postscript ghostscript)
-               $(use_enable zeroconf avahi)
-               $(use_with jpeg)
-               $(use_with png)
-               $(use_with tiff)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_configure
-               perl-module_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_test() {
-       emake check
-}
-
-src_install() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_install
-               perl_delete_localpod
-               popd > /dev/null || die
-       fi
-
-       if use postscript; then
-               # workaround: some printer drivers still require pstoraster and 
pstopxl, bug #383831
-               dosym gstoraster /usr/libexec/cups/filter/pstoraster
-               dosym gstopxl /usr/libexec/cups/filter/pstopxl
-       fi
-
-       find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
-       cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
-
-       if ! use zeroconf ; then
-               sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' 
"${T}"/cups-browsed || die
-               sed -i -e 's:cups\.service 
avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
-       fi
-
-       doinitd "${T}"/cups-browsed
-       systemd_dounit "${S}/utils/cups-browsed.service"
-}
-
-pkg_postinst() {
-       if ! use foomatic ; then
-               ewarn "You are disabling the foomatic code in cups-filters. 
Please do that ONLY if absolutely."
-               ewarn "necessary. net-print/foomatic-filters as replacement is 
deprecated and unmaintained."
-       fi
-}

diff --git a/net-print/cups-filters/cups-filters-1.28.8-r1.ebuild 
b/net-print/cups-filters/cups-filters-1.28.8-r1.ebuild
deleted file mode 100644
index bd70287ac773..000000000000
--- a/net-print/cups-filters/cups-filters-1.28.8-r1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GENTOO_DEPEND_ON_PERL=no
-
-inherit autotools perl-module systemd flag-o-matic
-
-if [[ "${PV}" == "9999" ]] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git";
-else
-       SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz";
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
-fi
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters";
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript test tiff 
zeroconf"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
-       >=app-text/qpdf-8.3.0:=
-       dev-libs/glib:2
-       media-libs/fontconfig
-       media-libs/freetype:2
-       media-libs/lcms:2
-       >=net-print/cups-1.7.3
-       !<=net-print/cups-1.5.9999
-       sys-devel/bc
-       sys-libs/zlib
-       dbus? ( sys-apps/dbus )
-       foomatic? ( !net-print/foomatic-filters )
-       jpeg? ( virtual/jpeg:0 )
-       ldap? ( net-nds/openldap:= )
-       pdf? ( app-text/mupdf )
-       perl? ( dev-lang/perl:= )
-       png? ( media-libs/libpng:0= )
-       postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
-       tiff? ( media-libs/tiff:0 )
-       zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       dev-util/gdbus-codegen
-       >=sys-devel/gettext-0.18.3
-       virtual/pkgconfig
-       test? ( media-fonts/dejavu )
-"
-
-src_prepare() {
-       local need_eautoreconf=
-
-       default
-
-       if ! use test ; then
-               eapply 
"${FILESDIR}"/${PN}-1.28.2-make-missing-testfont-non-fatal.patch
-               need_eautoreconf=yes
-       elif [[ "${PV}" == "9999" ]] ; then
-               need_eautoreconf=yes
-       fi
-
-       [[ -n ${need_eautoreconf} ]] && eautoreconf
-
-       # Bug #626800
-       append-cxxflags -std=c++11
-}
-
-src_configure() {
-       local myeconfargs=(
-               --enable-imagefilters
-               --localstatedir="${EPREFIX}"/var
-               --with-browseremoteprotocols=DNSSD,CUPS
-               --with-cups-rundir="${EPREFIX}"/run/cups
-               --with-fontdir="fonts/conf.avail"
-               --with-pdftops=pdftops
-               --with-rcdir=no
-               --without-php
-               --disable-static
-               $(use_enable dbus)
-               $(use_enable foomatic)
-               $(use_enable ldap)
-               $(use_enable pclm)
-               $(use_enable pdf mutool)
-               $(use_enable postscript ghostscript)
-               $(use_enable zeroconf avahi)
-               $(use_with jpeg)
-               $(use_with png)
-               $(use_with tiff)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_configure
-               perl-module_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_test() {
-       emake check
-}
-
-src_install() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_install
-               perl_delete_localpod
-               popd > /dev/null || die
-       fi
-
-       if use postscript; then
-               # workaround: some printer drivers still require pstoraster and 
pstopxl, bug #383831
-               dosym gstoraster /usr/libexec/cups/filter/pstoraster
-               dosym gstopxl /usr/libexec/cups/filter/pstopxl
-       fi
-
-       find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
-       cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
-
-       if ! use zeroconf ; then
-               sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' 
"${T}"/cups-browsed || die
-               sed -i -e 's:cups\.service 
avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
-       fi
-
-       doinitd "${T}"/cups-browsed
-       systemd_dounit "${S}/utils/cups-browsed.service"
-}
-
-pkg_postinst() {
-       if ! use foomatic ; then
-               ewarn "You are disabling the foomatic code in cups-filters. 
Please do that ONLY if absolutely."
-               ewarn "necessary. net-print/foomatic-filters as replacement is 
deprecated and unmaintained."
-       fi
-}

diff --git a/net-print/cups-filters/cups-filters-1.28.9-r1.ebuild 
b/net-print/cups-filters/cups-filters-1.28.9-r1.ebuild
deleted file mode 100644
index 60bffc0de893..000000000000
--- a/net-print/cups-filters/cups-filters-1.28.9-r1.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GENTOO_DEPEND_ON_PERL=no
-
-inherit autotools perl-module systemd flag-o-matic
-
-if [[ "${PV}" == "9999" ]] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git";
-else
-       SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz";
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-fi
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters";
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript test tiff 
zeroconf"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
-       >=app-text/qpdf-8.3.0:=
-       dev-libs/glib:2
-       media-libs/fontconfig
-       media-libs/freetype:2
-       media-libs/lcms:2
-       >=net-print/cups-1.7.3
-       !<=net-print/cups-1.5.9999
-       sys-devel/bc
-       sys-libs/zlib
-       dbus? ( sys-apps/dbus )
-       foomatic? ( !net-print/foomatic-filters )
-       jpeg? ( virtual/jpeg:0 )
-       ldap? ( net-nds/openldap:= )
-       pdf? ( app-text/mupdf )
-       perl? ( dev-lang/perl:= )
-       png? ( media-libs/libpng:0= )
-       postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
-       tiff? ( media-libs/tiff:0 )
-       zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       dev-util/gdbus-codegen
-       >=sys-devel/gettext-0.18.3
-       virtual/pkgconfig
-       test? ( media-fonts/dejavu )
-"
-
-src_prepare() {
-       local need_eautoreconf=
-
-       default
-
-       if ! use test ; then
-               eapply 
"${FILESDIR}"/${PN}-1.28.2-make-missing-testfont-non-fatal.patch
-               need_eautoreconf=yes
-       elif [[ "${PV}" == "9999" ]] ; then
-               need_eautoreconf=yes
-       fi
-
-       [[ -n ${need_eautoreconf} ]] && eautoreconf
-}
-
-src_configure() {
-       # Bug #626800
-       append-cxxflags -std=c++11
-
-       local myeconfargs=(
-               --enable-imagefilters
-               --localstatedir="${EPREFIX}"/var
-               --with-browseremoteprotocols=DNSSD,CUPS
-               --with-cups-rundir="${EPREFIX}"/run/cups
-               --with-fontdir="fonts/conf.avail"
-               --with-pdftops=pdftops
-               --with-rcdir=no
-               --without-php
-               --disable-static
-               $(use_enable dbus)
-               $(use_enable foomatic)
-               $(use_enable ldap)
-               $(use_enable pclm)
-               $(use_enable pdf mutool)
-               $(use_enable postscript ghostscript)
-               $(use_enable zeroconf avahi)
-               $(use_with jpeg)
-               $(use_with png)
-               $(use_with tiff)
-       )
-
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_configure
-               perl-module_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_test() {
-       emake check
-}
-
-src_install() {
-       default
-
-       if use perl; then
-               pushd "${S}/scripting/perl" > /dev/null || die
-               perl-module_src_install
-               perl_delete_localpod
-               popd > /dev/null || die
-       fi
-
-       if use postscript; then
-               # workaround: some printer drivers still require pstoraster and 
pstopxl, bug #383831
-               dosym gstoraster /usr/libexec/cups/filter/pstoraster
-               dosym gstopxl /usr/libexec/cups/filter/pstopxl
-       fi
-
-       find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
-       cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
-
-       if ! use zeroconf ; then
-               sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' 
"${T}"/cups-browsed || die
-               sed -i -e 's:cups\.service 
avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
-       fi
-
-       doinitd "${T}"/cups-browsed
-       systemd_dounit "${S}"/utils/cups-browsed.service
-}
-
-pkg_postinst() {
-       if ! use foomatic ; then
-               ewarn "You are disabling the foomatic code in cups-filters. 
Please do that ONLY if absolutely"
-               ewarn "necessary. net-print/foomatic-filters as a replacement 
is deprecated and unmaintained."
-       fi
-}

Reply via email to