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

Diff of /eclass/eutils.eclass

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

Revision 1.176 Revision 1.177
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.176 2005/05/25 22:07:31 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.177 2005/05/26 15:13:36 carlo Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
858 *) 858 *)
859 type= 859 type=
860 ;; 860 ;;
861 esac 861 esac
862 fi 862 fi
863 863 if [ "${SLOT}" == "0" ] ; then
864 local desktop_name="${PN}"
865 else
866 local desktop_name="${PN}-${SLOT}"
867 fi
864 local desktop=${T}/${exec%% *}-${P}.desktop 868 local desktop=${T}/${exec%% *}-${desktop_name}.desktop
865 869
866echo "[Desktop Entry] 870echo "[Desktop Entry]
867Encoding=UTF-8 871Encoding=UTF-8
868Version=0.9.2 872Version=0.9.2
869Name=${name} 873Name=${name}

Legend:
Removed from v.1.176  
changed lines
  Added in v.1.177

  ViewVC Help
Powered by ViewVC 1.1.20