xorg-2.eclass, xorg-3.eclass: Update HOMEPAGE and EGIT_REPO_URI.

Fixes: https://bugs.gentoo.org/680192
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Arfrever Frehtes Taifersar Arahesis
2019-03-13 08:59:15 +01:00
committed by Matt Turner
parent 7108b4dfae
commit 3c87a941bf
2 changed files with 7 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: xorg-2.eclass
@@ -61,7 +61,6 @@ esac
EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
IUSE=""
HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
# @ECLASS-VARIABLE: XORG_EAUTORECONF
# @DESCRIPTION:
@@ -100,8 +99,10 @@ fi
# This variable can be used for proper directory specification
: ${XORG_PACKAGE_NAME:=${PN}}
HOMEPAGE="https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"
if [[ -n ${GIT_ECLASS} ]]; then
: ${EGIT_REPO_URI:="https://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}
: ${EGIT_REPO_URI:="https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}
elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then
SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2"
fi

View File

@@ -50,7 +50,6 @@ esac
EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
IUSE=""
HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
# @ECLASS-VARIABLE: XORG_EAUTORECONF
# @DESCRIPTION:
@@ -88,8 +87,10 @@ fi
# This variable can be used for proper directory specification
: ${XORG_PACKAGE_NAME:=${PN}}
HOMEPAGE="https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"
if [[ -n ${GIT_ECLASS} ]]; then
: ${EGIT_REPO_URI:="https://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}
: ${EGIT_REPO_URI:="https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}.git"}
elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then
SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2"
fi