summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-03-09 22:15:03 +0000
committerZac Medico <zmedico@gentoo.org>2011-03-09 22:15:03 +0000
commit5a2b9704c16f55f5ae434b88775f09b66a266a01 (patch)
treea7a545fa9d02f37cdf933be6b008bd3e5dfcfc3b /app-text/calibre
parentadded ~amd64 (bug #357983) (diff)
downloadgentoo-2-5a2b9704c16f55f5ae434b88775f09b66a266a01.tar.gz
gentoo-2-5a2b9704c16f55f5ae434b88775f09b66a266a01.tar.bz2
gentoo-2-5a2b9704c16f55f5ae434b88775f09b66a266a01.zip
Bug #358065 - Remove more inappropriate mime types from *.desktop.
(Portage version: 2.2.0_alpha26_p8/cvs/Linux i686)
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/ChangeLog5
-rw-r--r--app-text/calibre/calibre-0.7.48.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index 347d8a1262f9..76c73b121fbd 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.136 2011/03/09 21:36:50 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.137 2011/03/09 22:15:03 zmedico Exp $
+
+ 09 Mar 2011; Zac Medico <zmedico@gentoo.org> calibre-0.7.48.ebuild:
+ Bug #358065 - Remove more inappropriate mime types from *.desktop.
09 Mar 2011; Zac Medico <zmedico@gentoo.org> calibre-0.7.48.ebuild:
Bug #358065 - Remove inappropriate mime types from *.desktop.
diff --git a/app-text/calibre/calibre-0.7.48.ebuild b/app-text/calibre/calibre-0.7.48.ebuild
index e47f6d2cc781..11ff9e4dcb9c 100644
--- a/app-text/calibre/calibre-0.7.48.ebuild
+++ b/app-text/calibre/calibre-0.7.48.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.7.48.ebuild,v 1.2 2011/03/09 21:36:50 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.7.48.ebuild,v 1.3 2011/03/09 22:15:03 zmedico Exp $
EAPI=3
PYTHON_DEPEND=2:2.7
@@ -162,8 +162,12 @@ src_install() {
# Bug #358065 - Remove inappropriate mime types from *.desktop.
sed -e "s:application/octet-stream;::g" \
+ -e "s:application/pdf;::g" \
+ -e "s:application/vnd.oasis.opendocument.text;::g" \
+ -e "s:application/xhtml+xml;::g" \
-e "s:text/html;::g" \
-e "s:text/plain;::g" \
+ -e "s:text/rtf;::g" \
-i "$HOME"/.local/share/applications/*.desktop \
|| die "sed failed"