mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
eclass/xorg-3: Sync with Gentoo
It's from Gentoo commit 43a23c24493e561eae1ce88a4d2c10c82da4002b.
This commit is contained in:
parent
467f949d76
commit
0c52d2b559
@ -8,7 +8,7 @@
|
|||||||
# Author: Tomáš Chvátal <scarabeus@gentoo.org>
|
# Author: Tomáš Chvátal <scarabeus@gentoo.org>
|
||||||
# Author: Donnie Berkholz <dberkholz@gentoo.org>
|
# Author: Donnie Berkholz <dberkholz@gentoo.org>
|
||||||
# Author: Matt Turner <mattst88@gentoo.org>
|
# Author: Matt Turner <mattst88@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 7 8
|
# @SUPPORTED_EAPIS: 8
|
||||||
# @PROVIDES: multilib-minimal
|
# @PROVIDES: multilib-minimal
|
||||||
# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
|
# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
@ -23,7 +23,7 @@
|
|||||||
# everything else should be automatic.
|
# everything else should be automatic.
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
7|8) ;;
|
8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -111,9 +111,8 @@ HOMEPAGE="https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/${XORG_MOD
|
|||||||
# @ECLASS_VARIABLE: XORG_TARBALL_SUFFIX
|
# @ECLASS_VARIABLE: XORG_TARBALL_SUFFIX
|
||||||
# @PRE_INHERIT
|
# @PRE_INHERIT
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Most X11 projects provide tarballs as tar.bz2 or tar.xz. This eclass defaults
|
# Most X11 projects provide tarballs as tar.xz. This eclass defaults to xz.
|
||||||
# to bz2.
|
: "${XORG_TARBALL_SUFFIX:="xz"}"
|
||||||
: "${XORG_TARBALL_SUFFIX:="bz2"}"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ ${PV} == *9999* ]]; then
|
||||||
: "${EGIT_REPO_URI:="https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}"
|
: "${EGIT_REPO_URI:="https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user