| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 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/kde4-base.eclass,v 1.76 2010/10/27 21:24:22 dilfridge Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.77 2010/11/24 23:54:55 dilfridge Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: kde4-base.eclass |
5 | # @ECLASS: kde4-base.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # kde@gentoo.org |
7 | # kde@gentoo.org |
| 8 | # @BLURB: This eclass provides functions for kde 4.X ebuilds |
8 | # @BLURB: This eclass provides functions for kde 4.X ebuilds |
| … | |
… | |
| 654 | # Inject library dependencies |
654 | # Inject library dependencies |
| 655 | if [[ -n ${KMLOADLIBS} ]] ; then |
655 | if [[ -n ${KMLOADLIBS} ]] ; then |
| 656 | load_library_dependencies |
656 | load_library_dependencies |
| 657 | fi |
657 | fi |
| 658 | |
658 | |
| 659 | # Hack for manuals relying on outdated DTD |
659 | # Hack for manuals relying on outdated DTD, only outside kde-base/koffice/... |
|
|
660 | if [ -z ${KDEBASE} ]; then |
| 660 | find "${S}" -name "*.docbook" \ |
661 | find "${S}" -name "*.docbook" \ |
| 661 | -exec sed -i -r \ |
662 | -exec sed -i -r \ |
| 662 | -e 's:-//KDE//DTD DocBook XML V4\.1(\..)?-Based Variant V1\.[01]//EN:-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN:g' {} + \ |
663 | -e 's:-//KDE//DTD DocBook XML V4\.1(\..)?-Based Variant V1\.[01]//EN:-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN:g' {} + \ |
| 663 | || die 'failed to fix DocBook variant version' |
664 | || die 'failed to fix DocBook variant version' |
|
|
665 | fi |
| 664 | } |
666 | } |
| 665 | |
667 | |
| 666 | # @FUNCTION: kde4-base_src_configure |
668 | # @FUNCTION: kde4-base_src_configure |
| 667 | # @DESCRIPTION: |
669 | # @DESCRIPTION: |
| 668 | # Function for configuring the build of KDE4 applications. |
670 | # Function for configuring the build of KDE4 applications. |