mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-doc/gimp-help: drop 3.0.0
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/571 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
eba53d0fec
commit
580273e3ca
@@ -1,3 +1,2 @@
|
||||
DIST gimp-help-2.10.34.tar.bz2 165540436 BLAKE2B eff5afe87bbddf9166647424ef63399a4ebc4215980dddf42f949e18245c60d1095269592f5a314683f7e1d7b27e2b9130215bda5987e7c8dfcafb5cebb6abbc SHA512 316d558f66c96a0d2d0f17baf700020b76aa221f9e220ddfc3e85b10c82b20b9c1cf36893776a342e90af5170e0102eb743b79663451581444d4f881256cf377
|
||||
DIST gimp-help-3.0.0.tar.bz2 131572116 BLAKE2B 9cad6204ddbcb1d7931975e4610fa593b04607e9bece01ec4567e6b8d96389cc31fcd8cfeb231b494ededd3ff4e324e746fbcb1d745e7b89b7aa4fef0b134ef1 SHA512 4a240bfebb633c1603057474adeb2bf2e42fcc65f5c5b696e5202bad18940eba69b1b12f6493b470b6f402cee7d6dcbd23f83c9e2871f459a420b7c521a0bd6d
|
||||
DIST gimp-help-3.0.2.tar.bz2 128340622 BLAKE2B 051d0e3539a22bb00cd749a39e8a985978534ffd3566f0f5a459f884388ec69fe2606e6253da6cbd91b79ae73d0ed34d8220e1aac2dba1370f942a859e817b5d SHA512 a883cab19a275d112362037cc90f70bfd6fec802fe9a97391971074b32af571e5062a8c86e4fcff2b1a8521d142b7278fcdbf10fb8d0e0701f2bdc3891df2607
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit python-any-r1
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program help files"
|
||||
HOMEPAGE="https://docs.gimp.org/"
|
||||
SRC_URI="mirror://gimp/help/${P}.tar.bz2"
|
||||
|
||||
LICENSE="FDL-1.2+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-libs/libxml2[python(-),${PYTHON_USEDEP}]')
|
||||
app-text/docbook-xml-dtd
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
gnome-base/librsvg
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS README.md )
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-libs/libxml2[python(-),${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# The upstream build system isn't pure gettext and doesn't distinguish
|
||||
# between empty and unset LINGUAS. Default to English only if either
|
||||
# nls is unset or if LINGUAS exists but is empty. #891709
|
||||
if ! use nls || [[ -v LINGUAS && -z ${LINGUAS} ]]; then
|
||||
export LINGUAS="en"
|
||||
elif [[ ! -v LINGUAS ]]; then
|
||||
local line
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
The "LINGUAS" variable is unset in your configuration,
|
||||
but the "nls" USE flag is set. Therefore, documentation for
|
||||
*all* languages will be built, which may take quite some time.
|
||||
If you want to install documentation for a defined list
|
||||
of languages, please assign "LINGUAS" accordingly.
|
||||
The following languages are supported for ${CATEGORY}/${PN}:
|
||||
"ca cs da de el en en_GB es fa fi fr hr hu it ja ko lt nl nn
|
||||
pt pt_BR ro ru sl sv uk zh_CN"
|
||||
If you want to install only the English documentation, it is
|
||||
recommended to unset the "nls" USE flag for ${CATEGORY}/${PN}.
|
||||
|
||||
For more details please read:
|
||||
https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-gimp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# See bug: 833566
|
||||
python_export_utf8_locale
|
||||
# Affected with bugs: 677198, 876205. Set "emake -j1"
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# See bug: 905693
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user