summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-07 02:55:54 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-07 02:55:54 +0000
commitc810162299782da3314e209abb26fd3249241e3e (patch)
tree98abb3d84ce0b064ea42453e006eb79e2b108a71 /eclass/eutils.eclass
parentmake_desktop_entry: fix tab/space corruption (diff)
downloadhistorical-c810162299782da3314e209abb26fd3249241e3e.tar.gz
historical-c810162299782da3314e209abb26fd3249241e3e.tar.bz2
historical-c810162299782da3314e209abb26fd3249241e3e.zip
make_desktop_entry: place media-gfx into Graphics only, not AudioVideo;Graphics
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass20
1 files changed, 13 insertions, 7 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 2f610d4dffb3..8076fbca67fe 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.338 2010/03/07 02:52:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.339 2010/03/07 02:55:54 vapier Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -937,13 +937,19 @@ make_desktop_entry() {
media)
case ${catmin} in
- gfx) type=Graphics;;
- radio) type=Tuner;;
- sound) type=Audio;;
- tv) type=TV;;
- video) type=Video;;
+ gfx)
+ type=Graphics
+ ;;
+ *)
+ case ${catmin} in
+ radio) type=Tuner;;
+ sound) type=Audio;;
+ tv) type=TV;;
+ video) type=Video;;
+ esac
+ type="AudioVideo;${type}"
+ ;;
esac
- type="AudioVideo;${type}"
;;
net)