From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 10ECC59CA9 for ; Sun, 27 Mar 2016 04:52:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABDB821C00F; Sun, 27 Mar 2016 04:52:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7E4221C00F for ; Sun, 27 Mar 2016 04:52:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1924A340BBD for ; Sun, 27 Mar 2016 04:52:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFECB869 for ; Sun, 27 Mar 2016 04:52:04 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1459054297.6a7affbd5b76ff483e6c8de31c090dab1509a239.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcec/libcec-3.0.1.ebuild X-VCS-Directories: dev-libs/libcec/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 6a7affbd5b76ff483e6c8de31c090dab1509a239 X-VCS-Branch: master Date: Sun, 27 Mar 2016 04:52:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7ab6bea2-b89a-4b14-a12d-158a6b11714e X-Archives-Hash: 433ebbf124d5b21c52840854530d5320 commit: 6a7affbd5b76ff483e6c8de31c090dab1509a239 Author: Mike Frysinger gentoo org> AuthorDate: Sun Mar 27 04:49:25 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Mar 27 04:51:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7affbd dev-libs/libcec: fix python libdir install #577612 dev-libs/libcec/libcec-3.0.1.ebuild | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/dev-libs/libcec/libcec-3.0.1.ebuild b/dev-libs/libcec/libcec-3.0.1.ebuild index 0c343ba..8a53575 100644 --- a/dev-libs/libcec/libcec-3.0.1.ebuild +++ b/dev-libs/libcec/libcec-3.0.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI="5" + PYTHON_COMPAT=( python2_7 python3_4 ) inherit cmake-utils eutils linux-info python-single-r1 @@ -10,10 +11,10 @@ inherit cmake-utils eutils linux-info python-single-r1 DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" HOMEPAGE="http://libcec.pulse-eight.com" SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="~arm ~amd64 ~x86" - +KEYWORDS="~amd64 ~arm ~x86" IUSE="cubox exynos python raspberry-pi +xrandr" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -39,6 +40,11 @@ pkg_setup() { } src_prepare() { + # Do not hardcode the python libpath #577612 + sed -i \ + -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \ + src/libcec/cmake/CheckPlatformSupport.cmake || die + cmake-utils_src_prepare use python || comment_add_subdirectory "src/pyCecClient" } @@ -46,9 +52,10 @@ src_prepare() { src_configure() { local mycmakeargs=( $(cmake-utils_useno python SKIP_PYTHON_WRAPPER) - $(cmake-utils_use_has exynos EXYNOS_API) \ + $(cmake-utils_use_has exynos EXYNOS_API) $(cmake-utils_use_has cubox TDA955X_API) $(cmake-utils_use_has raspberry-pi RPI_API) ) + use python && mycmakeargs+=( -DPYTHON_SITEDIR="$(python_get_sitedir)" ) cmake-utils_src_configure }