summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-03 12:57:29 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-03 12:57:29 +0000
commit6abe5ac6bdfc69939efe87118374fdf77da664b5 (patch)
treea01e5c6f142249dec9ddf99cc97bf632f4192daa /media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
parentSpecify LICENSE more precisely. (diff)
downloadhistorical-6abe5ac6bdfc69939efe87118374fdf77da664b5.tar.gz
historical-6abe5ac6bdfc69939efe87118374fdf77da664b5.tar.bz2
historical-6abe5ac6bdfc69939efe87118374fdf77da664b5.zip
Fix QA issues with desktop files
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild')
-rw-r--r--media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild b/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
index f9a92678e654..636133d123e0 100644
--- a/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
+++ b/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild,v 1.2 2012/06/17 05:48:42 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild,v 1.3 2012/11/03 12:57:24 pinkbyte Exp $
EAPI="4"
LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW"
LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN"
-inherit cmake-utils
+inherit base cmake-utils
DESCRIPTION="Qt4 GUI front-end for mplayer2"
HOMEPAGE="https://github.com/lachs0r/SMPlayer2"
@@ -31,6 +31,12 @@ RDEPEND="${DEPEND}
media-video/mplayer2[libass,png]
"
+src_prepare() {
+ sed -i -e '/Categories/s/KDE/KDE;/' "${PN}".desktop || die 'sed on smplayer2.desktop file failed'
+ sed -i -e '/Categories/s/KDE/KDE;/' "${PN}"_enqueue.desktop || die 'sed on smplayer2_enqueue.desktop file failed'
+ base_src_prepare
+}
+
src_configure() {
# linguas
local langs x