summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-01-25 22:19:11 +0100
committerSam James <sam@gentoo.org>2023-01-26 22:19:16 +0000
commit3a68e23e1ec128278427ea8b7f8d162fde79adba (patch)
treea1d91987c96785a9d8d0657672964865db7eac5b /sys-apps/texinfo
parentsys-apps/texinfo: add 9999 (diff)
downloadgentoo-3a68e23e1ec128278427ea8b7f8d162fde79adba.tar.gz
gentoo-3a68e23e1ec128278427ea8b7f8d162fde79adba.tar.bz2
gentoo-3a68e23e1ec128278427ea8b7f8d162fde79adba.zip
sys-apps/texinfo: sync 7.0.2 with live
The latter is based on the former, and is near identical. Signed-off-by: Arsen Arsenović <arsen@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29269 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/texinfo')
-rw-r--r--sys-apps/texinfo/texinfo-7.0.2.ebuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys-apps/texinfo/texinfo-7.0.2.ebuild b/sys-apps/texinfo/texinfo-7.0.2.ebuild
index 2e06ad1a4026..ab957b84c675 100644
--- a/sys-apps/texinfo/texinfo-7.0.2.ebuild
+++ b/sys-apps/texinfo/texinfo-7.0.2.ebuild
@@ -12,11 +12,21 @@ inherit flag-o-matic toolchain-funcs
DESCRIPTION="The GNU info program and utilities"
HOMEPAGE="https://www.gnu.org/software/texinfo/"
-if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.savannah.gnu.org/git/texinfo.git"
+ REGEN_BDEPEND="
+ >=sys-devel/autoconf-2.62
+ >=sys-devel/automake-1.16
+ sys-devel/libtool
+ "
+elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
+ REGEN_BDEPEND=""
else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
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"
+ REGEN_BDEPEND=""
fi
LICENSE="GPL-3+"
@@ -34,12 +44,17 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
+ ${REGEN_BDEPEND}
nls? ( >=sys-devel/gettext-0.19.6 )
"
src_prepare() {
default
+ if [[ ${PV} == 9999 ]]; then
+ ./autogen.sh || die
+ fi
+
# Needed if a patch touches install-info.c
#touch man/install-info.1 || die