mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Move {dev-util → dev-build}/gn
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
inherit ninja-utils python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="GN is a meta-build system that generates build files for Ninja"
|
||||
HOMEPAGE="https://gn.googlesource.com/"
|
||||
SRC_URI="https://dev.gentoo.org/~xen0n/distfiles/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://dev.gentoo.org/~xen0n/distfiles/dev-build/gn/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -2,13 +2,13 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit ninja-utils python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="GN is a meta-build system that generates build files for Ninja"
|
||||
HOMEPAGE="https://gn.googlesource.com/"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-build/gn/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -2,13 +2,13 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit ninja-utils python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="GN is a meta-build system that generates build files for Ninja"
|
||||
HOMEPAGE="https://gn.googlesource.com/"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-build/gn/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -2,13 +2,13 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit ninja-utils python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="GN is a meta-build system that generates build files for Ninja"
|
||||
HOMEPAGE="https://gn.googlesource.com/"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://dev.gentoo.org/~sultan/distfiles/dev-build/gn/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gn.googlesource.com/gn"
|
||||
else
|
||||
# The version number is derived from `git describe HEAD --abbrev=12`
|
||||
SRC_URI="https://deps.gentoo.zip/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://deps.gentoo.zip/dev-build/gn/${P}.tar.xz"
|
||||
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
@@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gn.googlesource.com/gn"
|
||||
else
|
||||
# The version number is derived from `git describe HEAD --abbrev=12`
|
||||
SRC_URI="https://deps.gentoo.zip/dev-util/gn/${P}.tar.xz"
|
||||
SRC_URI="https://deps.gentoo.zip/dev-build/gn/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake desktop ninja-utils python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
@@ -55,7 +55,7 @@ BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
test? ( dev-cpp/gtest )
|
||||
app-arch/unzip
|
||||
dev-util/gn
|
||||
dev-build/gn
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=(
|
||||
|
||||
@@ -59,7 +59,7 @@ BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
test? ( dev-cpp/gtest )
|
||||
app-arch/unzip
|
||||
dev-util/gn
|
||||
dev-build/gn
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=(
|
||||
|
||||
@@ -102,7 +102,7 @@ BDEPEND="${PYTHON_DEPS}
|
||||
net-libs/nodejs[ssl]
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
ppc64? ( >=dev-util/gn-0.1807 )
|
||||
ppc64? ( >=dev-build/gn-0.1807 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
|
||||
@@ -102,7 +102,7 @@ BDEPEND="${PYTHON_DEPS}
|
||||
net-libs/nodejs[ssl]
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
ppc64? ( >=dev-util/gn-0.1807 )
|
||||
ppc64? ( >=dev-build/gn-0.1807 )
|
||||
"
|
||||
|
||||
PATCHES=( "${WORKDIR}/${PATCHSET}" )
|
||||
|
||||
@@ -41,3 +41,4 @@ move dev-util/xfce4-dev-tools dev-build/xfce4-dev-tools
|
||||
move sys-devel/boost-m4 dev-build/boost-m4
|
||||
move dev-util/gtk-doc-am dev-build/gtk-doc-am
|
||||
move dev-util/bazel dev-build/bazel
|
||||
move dev-util/gn dev-build/gn
|
||||
|
||||
@@ -195,8 +195,8 @@ BDEPEND="
|
||||
>=dev-util/web_page_replay_go-20220314
|
||||
$(depend_clang_llvm_versions ${LLVM_MIN_SLOT} ${LLVM_MAX_SLOT})
|
||||
)
|
||||
>=dev-build/gn-${GN_MIN_VER}
|
||||
dev-lang/perl
|
||||
>=dev-util/gn-${GN_MIN_VER}
|
||||
>=dev-util/gperf-3.0.3
|
||||
app-alternatives/ninja
|
||||
dev-vcs/git
|
||||
@@ -326,7 +326,7 @@ pkg_setup() {
|
||||
fi
|
||||
# Users should never hit this, it's purely a development convenience
|
||||
if ver_test $(gn --version || die) -lt ${GN_MIN_VER}; then
|
||||
die "dev-util/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
die "dev-build/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -198,8 +198,8 @@ BDEPEND="
|
||||
>=dev-util/web_page_replay_go-20220314
|
||||
$(depend_clang_llvm_versions ${LLVM_MIN_SLOT} ${LLVM_MAX_SLOT})
|
||||
)
|
||||
>=dev-build/gn-${GN_MIN_VER}
|
||||
dev-lang/perl
|
||||
>=dev-util/gn-${GN_MIN_VER}
|
||||
>=dev-util/gperf-3.0.3
|
||||
app-alternatives/ninja
|
||||
dev-vcs/git
|
||||
@@ -341,7 +341,7 @@ pkg_setup() {
|
||||
fi
|
||||
# Users should never hit this, it's purely a development convenience
|
||||
if ver_test $(gn --version || die) -lt ${GN_MIN_VER}; then
|
||||
die "dev-util/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
die "dev-build/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -198,8 +198,8 @@ BDEPEND="
|
||||
>=dev-util/web_page_replay_go-20220314
|
||||
$(depend_clang_llvm_versions ${LLVM_MIN_SLOT} ${LLVM_MAX_SLOT})
|
||||
)
|
||||
>=dev-build/gn-${GN_MIN_VER}
|
||||
dev-lang/perl
|
||||
>=dev-util/gn-${GN_MIN_VER}
|
||||
>=dev-util/gperf-3.0.3
|
||||
app-alternatives/ninja
|
||||
dev-vcs/git
|
||||
@@ -341,7 +341,7 @@ pkg_setup() {
|
||||
fi
|
||||
# Users should never hit this, it's purely a development convenience
|
||||
if ver_test $(gn --version || die) -lt ${GN_MIN_VER}; then
|
||||
die "dev-util/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
die "dev-build/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -198,8 +198,8 @@ BDEPEND="
|
||||
>=dev-util/web_page_replay_go-20220314
|
||||
$(depend_clang_llvm_versions ${LLVM_MIN_SLOT} ${LLVM_MAX_SLOT})
|
||||
)
|
||||
>=dev-build/gn-${GN_MIN_VER}
|
||||
dev-lang/perl
|
||||
>=dev-util/gn-${GN_MIN_VER}
|
||||
>=dev-util/gperf-3.0.3
|
||||
app-alternatives/ninja
|
||||
dev-vcs/git
|
||||
@@ -341,7 +341,7 @@ pkg_setup() {
|
||||
fi
|
||||
# Users should never hit this, it's purely a development convenience
|
||||
if ver_test $(gn --version || die) -lt ${GN_MIN_VER}; then
|
||||
die "dev-util/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
die "dev-build/gn >= ${GN_MIN_VER} is required to build this Chromium"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user