net-print/foomatic-db-engine - 4.0.20261031 (gentoo)

Search

Install

Install this version:

emerge -a =net-print/foomatic-db-engine-4.0.20261031

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-print/foomatic-db-engine-4.0.20261031

Or alternatively:

emerge --autounmask-write -a =net-print/foomatic-db-engine-4.0.20261031

Package Information

Description:
Generates ppds out of xml foomatic printer description files
Homepage:
https://openprinting.github.io/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
4.0.20261031 8 ~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools perl-module

DESCRIPTION="Generates ppds out of xml foomatic printer description files"
HOMEPAGE="https://openprinting.github.io/"
SRC_URI="http://www.openprinting.org/download/foomatic/${PN}-$(ver_rs 2 -).tar.gz
	https://dev.gentoo.org/~pacho/${PN}/${PN}-$(ver_rs 2 -).tar.gz"
S=${WORKDIR}/${PN}-$(ver_rs 2 -)

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"

BDEPEND="
	net-print/cups
	virtual/pkgconfig"
RDEPEND="
	dev-libs/libxml2:=
	>=net-print/cups-filters-1.0.43-r1[foomatic]
"
DEPEND="${RDEPEND}"
PDEPEND="net-print/foomatic-db"

src_prepare() {
	default
	eapply \
		"${FILESDIR}"/4.0.7-perl-module.patch \
		"${FILESDIR}"/4.0.12-use-pkgconfig.patch
	sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" Makefile.in || die
	eautoreconf

	cd lib || die
	perl-module_src_prepare
}

src_configure() {
	default
	# This must precede perl-module_src_configure for Defaults.pm to
	# be installed.
	emake defaults

	cd lib || die
	perl-module_src_configure
}

src_compile() {
	default

	cd lib || die
	perl-module_src_compile
}

src_test() {
	cd lib || die
	perl-module_src_test
}

src_install() {
	default
	dodoc USAGE

	cd lib || die
	perl-module_src_install
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/libxml2:=
	>=net-print/cups-filters-1.0.43-r1[foomatic]

RDEPEND

	dev-libs/libxml2:=
	>=net-print/cups-filters-1.0.43-r1[foomatic]

BDEPEND

	net-print/cups
	virtual/pkgconfig