summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-07-15 19:26:28 +0000
committerJohannes Huber <johu@gentoo.org>2012-07-15 19:26:28 +0000
commit1a97cc2e1ada6d592159219e197e823a7027f692 (patch)
treee835401ae361b656c8f9a21881a3124b1ba53b83 /kde-misc
parent[bump] dev-perl/App-Nopaste-0.340.0 (diff)
downloadgentoo-2-1a97cc2e1ada6d592159219e197e823a7027f692.tar.gz
gentoo-2-1a97cc2e1ada6d592159219e197e823a7027f692.tar.bz2
gentoo-2-1a97cc2e1ada6d592159219e197e823a7027f692.zip
Respect LINGUAS. Add missing dep. Remove old.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/miniplayer/ChangeLog7
-rw-r--r--kde-misc/miniplayer/miniplayer-2.3.ebuild20
-rw-r--r--kde-misc/miniplayer/miniplayer-2.4.ebuild19
3 files changed, 23 insertions, 23 deletions
diff --git a/kde-misc/miniplayer/ChangeLog b/kde-misc/miniplayer/ChangeLog
index 19204f155f61..1344a8d54515 100644
--- a/kde-misc/miniplayer/ChangeLog
+++ b/kde-misc/miniplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/miniplayer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/miniplayer/ChangeLog,v 1.4 2012/05/31 22:11:25 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/miniplayer/ChangeLog,v 1.5 2012/07/15 19:26:28 johu Exp $
+
+ 15 Jul 2012; Johannes Huber <johu@gentoo.org> -miniplayer-2.3.ebuild,
+ miniplayer-2.4.ebuild:
+ Respect LINGUAS. Add missing dep. Remove old.
*miniplayer-2.4 (31 May 2012)
@@ -24,4 +28,3 @@
16 Jan 2012; Johannes Huber <johu@gentoo.org> +metadata.xml,
+miniplayer-2.1.ebuild:
New ebuild. Initial import from kde overlay.
-
diff --git a/kde-misc/miniplayer/miniplayer-2.3.ebuild b/kde-misc/miniplayer/miniplayer-2.3.ebuild
deleted file mode 100644
index 44549a7ceffe..000000000000
--- a/kde-misc/miniplayer/miniplayer-2.3.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/miniplayer/miniplayer-2.3.ebuild,v 1.1 2012/04/01 08:32:39 johu Exp $
-
-EAPI=4
-
-inherit kde4-base
-
-DESCRIPTION="Multimedia Player Plasmoid"
-HOMEPAGE="http://kde-look.org/content/show.php?content=95501"
-SRC_URI="http://kde-look.org/CONTENT/content-files/95501-${P}.tar.bz2"
-
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~x86"
-SLOT="4"
-IUSE="debug"
-
-RDEPEND="
- $(add_kdebase_dep plasma-workspace)
-"
diff --git a/kde-misc/miniplayer/miniplayer-2.4.ebuild b/kde-misc/miniplayer/miniplayer-2.4.ebuild
index 2ec4feb8e06b..1c2a1d18f901 100644
--- a/kde-misc/miniplayer/miniplayer-2.4.ebuild
+++ b/kde-misc/miniplayer/miniplayer-2.4.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/miniplayer/miniplayer-2.4.ebuild,v 1.1 2012/05/31 22:11:25 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/miniplayer/miniplayer-2.4.ebuild,v 1.2 2012/07/15 19:26:28 johu Exp $
EAPI=4
+KDE_LINGUAS_DIR="applet/locale"
+KDE_LINGUAS="de et pl pt ru sv uk"
inherit kde4-base
DESCRIPTION="Multimedia player plasmoid"
@@ -15,6 +17,21 @@ KEYWORDS="~amd64 ~x86"
SLOT="4"
IUSE="debug"
+DEPEND="
+ media-libs/phonon
+"
RDEPEND="
+ ${DEPEND}
$(add_kdebase_dep plasma-workspace)
"
+
+src_prepare() {
+ local lang
+ for lang in ${KDE_LINGUAS} ; do
+ if ! use linguas_${lang} ; then
+ rm ${KDE_LINGUAS_DIR}/${lang}.mo
+ fi
+ done
+
+ kde4-base_src_prepare
+}