diff options
Diffstat (limited to 'gnome-extra/gnome-user-docs/gnome-user-docs-44_rc.ebuild')
-rw-r--r-- | gnome-extra/gnome-user-docs/gnome-user-docs-44_rc.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnome-extra/gnome-user-docs/gnome-user-docs-44_rc.ebuild b/gnome-extra/gnome-user-docs/gnome-user-docs-44_rc.ebuild new file mode 100644 index 000000000000..a58cd2f28535 --- /dev/null +++ b/gnome-extra/gnome-user-docs/gnome-user-docs-44_rc.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2 + +DESCRIPTION="GNOME end user documentation" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-user-docs" +SRC_URI="https://download.gnome.org/sources/${PN}/44/${PN}-44.rc.tar.xz" +S="${WORKDIR}/${PN}-44.rc" + +LICENSE="CC-BY-3.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +BDEPEND="test? ( dev-libs/libxml2 )" +# eautoreconf requires: +# app-text/yelp-tools +# rebuilding translations requires: +# app-text/yelp-tools +# dev-util/gettext + +# This ebuild does not install any binaries +RESTRICT="binchecks strip + !test? ( test )" + +src_configure() { + # itstool is only needed for rebuilding translations + # xmllint is only needed for tests + gnome2_src_configure \ + $(usex test "" XMLLINT=$(type -P true)) \ + ITSTOOL=$(type -P true) +} + +src_compile() { + # Do not compile; "make all" with unset LINGUAS rebuilds all translations, + # which can take > 2 hours on a Core i7. + return +} |