| 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/vdr-plugin-2.eclass,v 1.1 2012/04/29 13:05:34 hd_brummy Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.2 2012/04/29 15:03:09 hd_brummy Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: vdr-plugin-2.eclass |
5 | # @ECLASS: vdr-plugin-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # vdr@gentoo.org |
7 | # vdr@gentoo.org |
| 8 | # @BLURB: common vdr plugin ebuild functions |
8 | # @BLURB: common vdr plugin ebuild functions |
| … | |
… | |
| 233 | |
233 | |
| 234 | gettext_missing() { |
234 | gettext_missing() { |
| 235 | # plugins without converting to gettext |
235 | # plugins without converting to gettext |
| 236 | |
236 | |
| 237 | local GETTEXT_MISSING=$( grep xgettext Makefile ) |
237 | local GETTEXT_MISSING=$( grep xgettext Makefile ) |
| 238 | if [ -z ${GETTEXT_MISSING} ]; then |
238 | if [[ -z ${GETTEXT_MISSING} ]]; then |
| 239 | dev_check "Plugin isn't converted to gettext handling \n" |
239 | dev_check "Plugin isn't converted to gettext handling \n" |
| 240 | fi |
240 | fi |
| 241 | } |
241 | } |
| 242 | |
242 | |
| 243 | linguas_support() { |
243 | linguas_support() { |