summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2012-08-26 18:52:30 +0000
committerChris Reffett <creffett@gentoo.org>2012-08-26 18:52:30 +0000
commit389ea750c77f911d3a26c3f222b40febb628d807 (patch)
tree7211682d5159400fcd54e6d22fab59fa39a7711b /kde-misc/kanyremote
parentalpha/ia64/s390/sh/sparc stable wrt #419473 (diff)
downloadgentoo-2-389ea750c77f911d3a26c3f222b40febb628d807.tar.gz
gentoo-2-389ea750c77f911d3a26c3f222b40febb628d807.tar.bz2
gentoo-2-389ea750c77f911d3a26c3f222b40febb628d807.zip
Bump 6.0.1 to EAPI 4, fix the most problematic .desktop validation issue.
(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/kanyremote')
-rw-r--r--kde-misc/kanyremote/ChangeLog5
-rw-r--r--kde-misc/kanyremote/kanyremote-6.0.1.ebuild18
2 files changed, 15 insertions, 8 deletions
diff --git a/kde-misc/kanyremote/ChangeLog b/kde-misc/kanyremote/ChangeLog
index 73742cbdebbe..16f95ff4e06c 100644
--- a/kde-misc/kanyremote/ChangeLog
+++ b/kde-misc/kanyremote/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for kde-misc/kanyremote
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/ChangeLog,v 1.26 2012/08/17 17:58:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/ChangeLog,v 1.27 2012/08/26 18:52:30 creffett Exp $
+
+ 26 Aug 2012; Chris Reffett <creffett@gentoo.org> kanyremote-6.0.1.ebuild:
+ Bump 6.0.1 to EAPI 4, fix the most problematic .desktop validation issue.
*kanyremote-6.0.1 (17 Aug 2012)
diff --git a/kde-misc/kanyremote/kanyremote-6.0.1.ebuild b/kde-misc/kanyremote/kanyremote-6.0.1.ebuild
index 6ea8db5681ad..99493f1a8ef6 100644
--- a/kde-misc/kanyremote/kanyremote-6.0.1.ebuild
+++ b/kde-misc/kanyremote/kanyremote-6.0.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.0.1.ebuild,v 1.1 2012/08/17 17:58:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.0.1.ebuild,v 1.2 2012/08/26 18:52:30 creffett Exp $
-EAPI="2"
+EAPI=4
PYTHON_DEPEND="2"
inherit autotools python base
@@ -16,14 +16,16 @@ SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="bluetooth"
-RDEPEND=">=app-mobilephone/anyremote-6.0[bluetooth?]
- dev-python/PyQt4[X]
- kde-base/pykde4
- bluetooth? ( dev-python/pybluez )"
+RDEPEND="
+ >=app-mobilephone/anyremote-6.0[bluetooth?]
+ dev-python/PyQt4[X]
+ kde-base/pykde4
+ bluetooth? ( dev-python/pybluez )
+"
DEPEND="${RDEPEND}
sys-devel/gettext"
-pkg_setup () {
+pkg_setup() {
python_set_active_version 2
}
@@ -31,6 +33,8 @@ src_prepare() {
# using gettextize no-interactive example from dev-util/bless package
cp $(type -p gettextize) "${T}"/
sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
+ sed -e "/Encoding=UTF-8/d" \
+ -i kanyremote.desktop || die "fixing .desktop file failed"
"${T}"/gettextize -f --no-changelog > /dev/null
#fix documentation directory wrt bug #316087
sed -i "s/doc\/${PN}/doc\/${PF}/g" Makefile.am