mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
sys-devel/gettext: Sync with Gentoo
It's from Gentoo commit 838acb806aa85a43ac6d0cc681e7f245bfee7377.
This commit is contained in:
parent
0369b74682
commit
90a815ea4e
@ -1 +1,2 @@
|
|||||||
DIST gettext-0.21.tar.gz 24181849 BLAKE2B 2eae99d0916b00b2af6fbc6bf7e309076519a10fea16cd49e7aa29fe8aec1ee7c784c6277281b764dc4abacf400cd3fe461129586303c8cd337db15c76cb4b87 SHA512 bbe590c5dd3580c75bf30ff768da99a88eb8d466ec1ac9eea20be4cab4357ecf72448e6b81b47425e39d50fa6320ba426632914d7898dfebb4f159abc39c31d1
|
DIST gettext-0.21.tar.xz 9714352 BLAKE2B e36418323c79f582d13777083b455ae76ccb29e41a8259a2f4d6d9f5d8e2ac7c8ecc4df1b1fa2e9838c819cb27345fe254772398bdb88b3315410866048f755a SHA512 f7e2968651879f8444d43a176a149db9f9411f4a03132a7f3b37c2ed97e3978ae6888169c995c1953cb78943b6e3573811abcbb8661b6631edbbe067b2699ddf
|
||||||
|
DIST gettext-0.21.tar.xz.sig 819 BLAKE2B 22a6e5f6e8a6322e24db9c1f575754bccbf6c7cff7cd14cb51ae8f5cf17cd7b677d8ecfc6b876e1b6f8d62077d568cbf57930e1d8accc5306e6869d3c6560bf4 SHA512 67c9515ad5e11773a28599d517dd84131e4afd878d67e97f505cd024e290518ca9cffff7446c62f88b56aea2c7234d11811738e8e2a076b2159f24c2f6809703
|
||||||
|
@ -1,20 +1,23 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# Note: Keep version bumps in sync with dev-libs/libintl.
|
# Note: Keep version bumps in sync with dev-libs/libintl.
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit mono-env libtool java-pkg-opt-2 multilib-minimal
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc
|
||||||
|
inherit mono-env libtool java-pkg-opt-2 multilib-minimal verify-sig
|
||||||
|
|
||||||
DESCRIPTION="GNU locale utilities"
|
DESCRIPTION="GNU locale utilities"
|
||||||
HOMEPAGE="https://www.gnu.org/software/gettext/"
|
HOMEPAGE="https://www.gnu.org/software/gettext/"
|
||||||
if [[ "${PV}" == *_rc* ]] ; then
|
if [[ ${PV} == *_rc* ]] ; then
|
||||||
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P/_/-}.tar.bz2"
|
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P/_/-}.tar.xz"
|
||||||
|
SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${P/_/-}.tar.xz.sig )"
|
||||||
S="${WORKDIR}/${P/_/-}"
|
S="${WORKDIR}/${P/_/-}"
|
||||||
else
|
else
|
||||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
fi
|
fi
|
||||||
# Only libasprintf is under the LGPL (and libintl is in a sep package),
|
# Only libasprintf is under the LGPL (and libintl is in a sep package),
|
||||||
# so put that license behind USE=cxx.
|
# so put that license behind USE=cxx.
|
||||||
@ -35,15 +38,15 @@ DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
|||||||
dev-libs/expat
|
dev-libs/expat
|
||||||
acl? ( virtual/acl )
|
acl? ( virtual/acl )
|
||||||
ncurses? ( sys-libs/ncurses:0= )
|
ncurses? ( sys-libs/ncurses:0= )
|
||||||
java? ( >=virtual/jdk-1.8:= )"
|
java? ( virtual/jdk:1.8 )"
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
!git? ( cvs? ( dev-vcs/cvs ) )
|
!git? ( cvs? ( dev-vcs/cvs ) )
|
||||||
git? ( dev-vcs/git )
|
git? ( dev-vcs/git )
|
||||||
java? ( >=virtual/jre-1.8 )"
|
java? ( virtual/jre:1.8 )"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
!git? ( cvs? ( dev-vcs/cvs ) )
|
!git? ( cvs? ( dev-vcs/cvs ) )
|
||||||
git? ( dev-vcs/git )
|
git? ( dev-vcs/git )
|
||||||
"
|
verify-sig? ( sec-keys/openpgp-keys-gettext )"
|
||||||
PDEPEND="emacs? ( app-emacs/po-mode )"
|
PDEPEND="emacs? ( app-emacs/po-mode )"
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS=(
|
MULTILIB_WRAPPED_HEADERS=(
|
||||||
@ -73,9 +76,7 @@ pkg_setup() {
|
|||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
java-pkg-opt-2_src_prepare
|
java-pkg-opt-2_src_prepare
|
||||||
|
|
||||||
default
|
default
|
||||||
|
|
||||||
elibtoolize
|
elibtoolize
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,7 +106,7 @@ multilib_src_configure() {
|
|||||||
$(use_enable cxx libasprintf)
|
$(use_enable cxx libasprintf)
|
||||||
$(use_with git)
|
$(use_with git)
|
||||||
$(usex git --without-cvs $(use_with cvs))
|
$(usex git --without-cvs $(use_with cvs))
|
||||||
$(use_enable java)
|
$(multilib_native_use_enable java)
|
||||||
$(use_enable ncurses curses)
|
$(use_enable ncurses curses)
|
||||||
$(use_enable nls)
|
$(use_enable nls)
|
||||||
$(use_enable openmp)
|
$(use_enable openmp)
|
Loading…
x
Reference in New Issue
Block a user