/[gentoo-x86]/eclass/xorg-2.eclass
Gentoo

Diff of /eclass/xorg-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.53 Revision 1.57
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.53 2012/05/02 18:31:45 jdhore Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.57 2012/06/11 13:02:21 mgorny 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
93if [[ -n ${GIT_ECLASS} ]]; then 93if [[ -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}"}
95elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then 95elif [[ -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"
97fi 97fi
98 98
99: ${SLOT:=0} 99: ${SLOT:=0}
108XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt" 108XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt"
109EAUTORECONF_DEPEND+=" 109EAUTORECONF_DEPEND+="
110 >=sys-devel/libtool-2.2.6a 110 >=sys-devel/libtool-2.2.6a
111 sys-devel/m4" 111 sys-devel/m4"
112if [[ ${PN} != util-macros ]] ; then 112if [[ ${PN} != util-macros ]] ; then
113 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.15.0" 113 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.17"
114 # Required even by xorg-server 114 # Required even by xorg-server
115 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0" 115 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0"
116fi 116fi
117WANT_AUTOCONF="latest" 117WANT_AUTOCONF="latest"
118WANT_AUTOMAKE="latest" 118WANT_AUTOMAKE="latest"
416 if [[ -n "${CONFIGURE_OPTIONS}" ]]; then 416 if [[ -n "${CONFIGURE_OPTIONS}" ]]; then
417 eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS" 417 eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS"
418 eqawarn "to preserve namespace." 418 eqawarn "to preserve namespace."
419 fi 419 fi
420 420
421 local xorgconfadd=(${CONFIGURE_OPTIONS}) 421 local xorgconfadd=(${CONFIGURE_OPTIONS} ${XORG_CONFIGURE_OPTIONS})
422 else 422 else
423 local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}") 423 local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")
424 fi 424 fi
425 425
426 [[ -n "${FONT}" ]] && xorg-2_font_configure 426 [[ -n "${FONT}" ]] && xorg-2_font_configure
466 466
467 if [[ -e "${S}"/ChangeLog ]]; then 467 if [[ -e "${S}"/ChangeLog ]]; then
468 dodoc "${S}"/ChangeLog || die "dodoc failed" 468 dodoc "${S}"/ChangeLog || die "dodoc failed"
469 fi 469 fi
470 470
471 # Don't install libtool archives (even with static-libs) 471 # Don't install libtool archives (even for modules)
472 remove_libtool_files all 472 prune_libtool_files --all
473 473
474 [[ -n ${FONT} ]] && remove_font_metadata 474 [[ -n ${FONT} ]] && remove_font_metadata
475} 475}
476 476
477# @FUNCTION: xorg-2_pkg_postinst 477# @FUNCTION: xorg-2_pkg_postinst

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20