summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kanyremote/kanyremote-6.2.ebuild')
-rw-r--r--kde-misc/kanyremote/kanyremote-6.2.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/kde-misc/kanyremote/kanyremote-6.2.ebuild b/kde-misc/kanyremote/kanyremote-6.2.ebuild
index ae4087f6547e..5211c7b08e5b 100644
--- a/kde-misc/kanyremote/kanyremote-6.2.ebuild
+++ b/kde-misc/kanyremote/kanyremote-6.2.ebuild
@@ -1,11 +1,11 @@
# 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.2 2013/09/05 18:45:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.2.ebuild,v 1.3 2013/09/11 15:21:14 kensington Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit autotools python-single-r1 base
+inherit autotools python-r1 base
DESCRIPTION="KDE frontend to Anyremote"
HOMEPAGE="http://anyremote.sourceforge.net/"
@@ -16,18 +16,18 @@ SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="bluetooth"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
RDEPEND="${PYTHON_DEPS}
>=app-mobilephone/anyremote-6.0[bluetooth?]
- dev-python/PyQt4[X]
- kde-base/pykde4
- bluetooth? ( dev-python/pybluez )
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+ kde-base/pykde4:4[${PYTHON_USEDEP}]
+ bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}] )
"
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}"/
@@ -41,3 +41,9 @@ src_prepare() {
# workaround to bluetooth check when bluetooth use flag is disabled
! use bluetooth && epatch "${FILESDIR}/disable_bluetooth.patch"
}
+
+src_install() {
+ default
+
+ python_replicate_script "${D}"/usr/bin/kanyremote
+}