| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.54 2012/05/04 15:39:29 chithanh Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.55 2012/05/09 20:19:10 mattst88 Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: xorg-2.eclass |
5 | # @ECLASS: xorg-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # x11@gentoo.org |
7 | # x11@gentoo.org |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 89 | # For git checkout the git repository might differ from package name. |
89 | # For git checkout the git repository might differ from package name. |
| 90 | # This variable can be used for proper directory specification |
90 | # This variable can be used for proper directory specification |
| 91 | : ${XORG_PACKAGE_NAME:=${PN}} |
91 | : ${XORG_PACKAGE_NAME:=${PN}} |
| 92 | |
92 | |
| 93 | if [[ -n ${GIT_ECLASS} ]]; then |
93 | if [[ -n ${GIT_ECLASS} ]]; then |
| 94 | : ${EGIT_REPO_URI:="git://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME} http://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"} |
94 | : ${EGIT_REPO_URI:="git://anongit.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME} http://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"} |
| 95 | elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then |
95 | elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then |
| 96 | SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2" |
96 | SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2" |
| 97 | fi |
97 | fi |
| 98 | |
98 | |
| 99 | : ${SLOT:=0} |
99 | : ${SLOT:=0} |