summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2012-11-14 16:49:30 +0000
committerDaniel Pielmeier <billie@gentoo.org>2012-11-14 16:49:30 +0000
commit0a6d13084128ca6f843d2ef74addef62431f38a0 (patch)
tree47348f79dd4b8b3b3669a23b9cdf8e661dcb5be2 /media-video/projectx/projectx-0.91.0.05.ebuild
parenthttp://my.opera.com/desktopteam/blog/2012/11/14/lets-make-a-snapshot (diff)
downloadgentoo-2-0a6d13084128ca6f843d2ef74addef62431f38a0.tar.gz
gentoo-2-0a6d13084128ca6f843d2ef74addef62431f38a0.tar.bz2
gentoo-2-0a6d13084128ca6f843d2ef74addef62431f38a0.zip
Fix desktop file. Thanks to Agostino Sarubbo in bug #443112.
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'media-video/projectx/projectx-0.91.0.05.ebuild')
-rw-r--r--media-video/projectx/projectx-0.91.0.05.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-video/projectx/projectx-0.91.0.05.ebuild b/media-video/projectx/projectx-0.91.0.05.ebuild
index c80ba7509a1f..bb83af6c0b09 100644
--- a/media-video/projectx/projectx-0.91.0.05.ebuild
+++ b/media-video/projectx/projectx-0.91.0.05.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.91.0.05.ebuild,v 1.1 2012/11/09 15:46:59 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.91.0.05.ebuild,v 1.2 2012/11/14 16:49:30 billie Exp $
EAPI=4
@@ -62,7 +62,9 @@ java_prepare() {
# patch executable and icon
sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \
- -e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die
+ -e "s:^\(Icon=\).*:\1${PN}:g" \
+ -e 's:^\(Categories=.*\):\1;:g' \
+ -e '/^Encoding=.*/d' *.desktop || die
# convert CRLF to LF
edos2unix *.txt MANIFEST.MF