Skip to content

Commit

Permalink
xorg-2.eclass, xorg-3.eclass: Update HOMEPAGE and EGIT_REPO_URI.
Browse files Browse the repository at this point in the history
Fixes: https://bugs.gentoo.org/680192
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and mattst88 committed Mar 16, 2019
1 parent 7108b4d commit 3c87a94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions eclass/xorg-2.eclass
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions eclass/xorg-3.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3c87a94

Please sign in to comment.