mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
app-editors/vim-core: Sync with Gentoo
It's from Gentoo commit a4f2416942e37d1d36010075d4ba260e56c55a0f.
This commit is contained in:
parent
ca37a7f7e4
commit
87dce79dcb
@ -1,10 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>xxc3ncoredxx@gmail.com</email>
|
||||||
|
<name>Oskari Pirhonen</name>
|
||||||
|
</maintainer>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>vim@gentoo.org</email>
|
<email>vim@gentoo.org</email>
|
||||||
<name>Gentoo Vim Project</name>
|
<name>Gentoo Vim Project</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">vim/vim</remote-id>
|
<remote-id type="github">vim/vim</remote-id>
|
||||||
<remote-id type="cpe">cpe:/a:vim:vim</remote-id>
|
<remote-id type="cpe">cpe:/a:vim:vim</remote-id>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -21,7 +21,7 @@ fi
|
|||||||
S="${WORKDIR}/vim-${PV}"
|
S="${WORKDIR}/vim-${PV}"
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
DESCRIPTION="vim and gvim shared files"
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||||
|
|
||||||
LICENSE="vim"
|
LICENSE="vim"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -31,6 +31,13 @@ IUSE="nls acl minimal"
|
|||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="sys-devel/autoconf"
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999* ]]; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
PATCHES=(
|
||||||
|
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
# people with broken alphabets run into trouble. bug #82186.
|
# people with broken alphabets run into trouble. bug #82186.
|
||||||
unset LANG LC_ALL
|
unset LANG LC_ALL
|
||||||
@ -38,10 +45,7 @@ pkg_setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
default
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/vim-patches-vim-${VIM_PATCHES_VERSION}-patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
# Fixup a script to use awk instead of nawk
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -106,8 +110,6 @@ src_prepare() {
|
|||||||
|
|
||||||
# Remove src/auto/configure file.
|
# Remove src/auto/configure file.
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -16,12 +16,12 @@ if [[ ${PV} == 9999* ]] ; then
|
|||||||
else
|
else
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||||
https://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
https://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||||
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"
|
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"
|
||||||
fi
|
fi
|
||||||
S="${WORKDIR}/vim-${PV}"
|
S="${WORKDIR}/vim-${PV}"
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
DESCRIPTION="vim and gvim shared files"
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||||
|
|
||||||
LICENSE="vim"
|
LICENSE="vim"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -31,6 +31,13 @@ IUSE="nls acl minimal"
|
|||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="sys-devel/autoconf"
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999* ]]; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
PATCHES=(
|
||||||
|
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
# people with broken alphabets run into trouble. bug #82186.
|
# people with broken alphabets run into trouble. bug #82186.
|
||||||
unset LANG LC_ALL
|
unset LANG LC_ALL
|
||||||
@ -38,10 +45,7 @@ pkg_setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
default
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/vim-patches-vim-${VIM_PATCHES_VERSION}-patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
# Fixup a script to use awk instead of nawk
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -106,8 +110,6 @@ src_prepare() {
|
|||||||
|
|
||||||
# Remove src/auto/configure file.
|
# Remove src/auto/configure file.
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -21,7 +21,7 @@ fi
|
|||||||
S="${WORKDIR}/vim-${PV}"
|
S="${WORKDIR}/vim-${PV}"
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
DESCRIPTION="vim and gvim shared files"
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||||
|
|
||||||
LICENSE="vim"
|
LICENSE="vim"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -31,6 +31,13 @@ IUSE="nls acl minimal"
|
|||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="sys-devel/autoconf"
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999* ]]; then
|
||||||
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
PATCHES=(
|
||||||
|
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
# people with broken alphabets run into trouble. bug #82186.
|
# people with broken alphabets run into trouble. bug #82186.
|
||||||
unset LANG LC_ALL
|
unset LANG LC_ALL
|
||||||
@ -38,10 +45,7 @@ pkg_setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
default
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/vim-patches-vim-9.0.0049-patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
# Fixup a script to use awk instead of nawk
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -106,8 +110,6 @@ src_prepare() {
|
|||||||
|
|
||||||
# Remove src/auto/configure file.
|
# Remove src/auto/configure file.
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user