From 0f3ba327a37912c2d8b93253255e98bc5b0597e6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 8 Oct 2022 19:17:58 +0100 Subject: app-text/libgxps: fix MissingUseDepDefault on cairo Closes: https://bugs.gentoo.org/875902 Signed-off-by: Sam James --- app-text/libgxps/libgxps-0.3.2-r1.ebuild | 51 ++++++++++++++++++++++++++++++++ app-text/libgxps/libgxps-0.3.2.ebuild | 51 -------------------------------- 2 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 app-text/libgxps/libgxps-0.3.2-r1.ebuild delete mode 100644 app-text/libgxps/libgxps-0.3.2.ebuild (limited to 'app-text') diff --git a/app-text/libgxps/libgxps-0.3.2-r1.ebuild b/app-text/libgxps/libgxps-0.3.2-r1.ebuild new file mode 100644 index 000000000000..d458924ac279 --- /dev/null +++ b/app-text/libgxps/libgxps-0.3.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson xdg-utils + +DESCRIPTION="Library for handling and rendering XPS documents" +HOMEPAGE="https://wiki.gnome.org/Projects/libgxps" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" +IUSE="gtk-doc +introspection jpeg lcms tiff" + +RDEPEND=" + >=app-arch/libarchive-2.8 + >=dev-libs/glib-2.36:2 + media-libs/freetype:2 + media-libs/libpng:0 + >=x11-libs/cairo-1.10[svg(+)] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + lcms? ( media-libs/lcms:2 ) + tiff? ( media-libs/tiff:0[zlib] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + gtk-doc? ( dev-util/gtk-doc ) + virtual/pkgconfig +" + +# There is no automatic test suite, only an interactive test application +RESTRICT="test" + +src_configure() { + local emesonargs=( + -Denable-test=false + $(meson_use gtk-doc enable-gtk-doc) + -Denable-man=true + -Ddisable-introspection=$(usex introspection false true) + $(meson_use lcms with-liblcms2) + $(meson_use jpeg with-libjpeg) + $(meson_use tiff with-libtiff) + ) + + xdg_environment_reset + meson_src_configure +} diff --git a/app-text/libgxps/libgxps-0.3.2.ebuild b/app-text/libgxps/libgxps-0.3.2.ebuild deleted file mode 100644 index f92890236f9c..000000000000 --- a/app-text/libgxps/libgxps-0.3.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit gnome.org meson xdg-utils - -DESCRIPTION="Library for handling and rendering XPS documents" -HOMEPAGE="https://wiki.gnome.org/Projects/libgxps" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="gtk-doc +introspection jpeg lcms tiff" - -RDEPEND=" - >=app-arch/libarchive-2.8 - >=dev-libs/glib-2.36:2 - media-libs/freetype:2 - media-libs/libpng:0 - >=x11-libs/cairo-1.10[svg] - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) - jpeg? ( virtual/jpeg:0 ) - lcms? ( media-libs/lcms:2 ) - tiff? ( media-libs/tiff:0[zlib] ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - gtk-doc? ( dev-util/gtk-doc ) - virtual/pkgconfig -" - -# There is no automatic test suite, only an interactive test application -RESTRICT="test" - -src_configure() { - local emesonargs=( - -Denable-test=false - $(meson_use gtk-doc enable-gtk-doc) - -Denable-man=true - -Ddisable-introspection=$(usex introspection false true) - $(meson_use lcms with-liblcms2) - $(meson_use jpeg with-libjpeg) - $(meson_use tiff with-libtiff) - ) - - xdg_environment_reset - meson_src_configure -} -- cgit v1.2.3-65-gdbad