summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2013-07-25 01:42:15 +0000
committerChris Reffett <creffett@gentoo.org>2013-07-25 01:42:15 +0000
commitf5f0d3e053239fb1740a14ba1dab49072893b5ee (patch)
treef712115fe5bc15210b555fe38a4c9ccf2d84cfb7 /kde-misc/kanyremote
parentVersion bump wrt bug 473318 (diff)
downloadgentoo-2-f5f0d3e053239fb1740a14ba1dab49072893b5ee.tar.gz
gentoo-2-f5f0d3e053239fb1740a14ba1dab49072893b5ee.tar.bz2
gentoo-2-f5f0d3e053239fb1740a14ba1dab49072893b5ee.zip
Version bump, migrate to python-single-r1
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 42618354)
Diffstat (limited to 'kde-misc/kanyremote')
-rw-r--r--kde-misc/kanyremote/ChangeLog7
-rw-r--r--kde-misc/kanyremote/kanyremote-6.2.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/kde-misc/kanyremote/ChangeLog b/kde-misc/kanyremote/ChangeLog
index 5241bca78d59..767aa27ae50d 100644
--- a/kde-misc/kanyremote/ChangeLog
+++ b/kde-misc/kanyremote/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kanyremote
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/ChangeLog,v 1.34 2013/04/01 11:53:00 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/ChangeLog,v 1.35 2013/07/25 01:42:15 creffett Exp $
+
+*kanyremote-6.2 (25 Jul 2013)
+
+ 25 Jul 2013; Chris Reffett <creffett@gentoo.org> +kanyremote-6.2.ebuild:
+ Version bump, migrate to python-single-r1
01 Apr 2013; Michael Palimaka <kensington@gentoo.org>
-kanyremote-6.0.1.ebuild:
diff --git a/kde-misc/kanyremote/kanyremote-6.2.ebuild b/kde-misc/kanyremote/kanyremote-6.2.ebuild
new file mode 100644
index 000000000000..8367d6861e82
--- /dev/null
+++ b/kde-misc/kanyremote/kanyremote-6.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.2.ebuild,v 1.1 2013/07/25 01:42:15 creffett Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit autotools python-single-r1 base
+
+DESCRIPTION="KDE frontend to Anyremote"
+HOMEPAGE="http://anyremote.sourceforge.net/"
+SRC_URI="mirror://sourceforge/anyremote/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluetooth"
+
+RDEPEND="${PYTHON_DEPS}
+ >=app-mobilephone/anyremote-6.0[bluetooth?]
+ dev-python/PyQt4[X]
+ kde-base/pykde4
+ bluetooth? ( dev-python/pybluez )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+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
+ eautoreconf
+ # workaround to bluetooth check when bluetooth use flag is disabled
+ ! use bluetooth && epatch "${FILESDIR}/disable_bluetooth.patch"
+}