/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

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

Revision 1.440 Revision 1.441
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/eutils.eclass,v 1.440 2014/11/15 09:49:10 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.441 2014/12/30 07:24:52 williamh Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1080 size=${2%%x*} 1080 size=${2%%x*}
1081 else 1081 else
1082 size=${2} 1082 size=${2}
1083 fi 1083 fi
1084 case ${size} in 1084 case ${size} in
1085 16|22|24|32|36|48|64|72|96|128|192|256) 1085 16|22|24|32|36|48|64|72|96|128|192|256|512)
1086 size=${size}x${size};; 1086 size=${size}x${size};;
1087 scalable) 1087 scalable)
1088 ;; 1088 ;;
1089 *) 1089 *)
1090 eerror "${size} is an unsupported icon size!" 1090 eerror "${size} is an unsupported icon size!"

Legend:
Removed from v.1.440  
changed lines
  Added in v.1.441

  ViewVC Help
Powered by ViewVC 1.1.20