From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CEB7138334 for ; Tue, 1 Jan 2019 14:10:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC27FE0BA3; Tue, 1 Jan 2019 14:10:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92342E0BA3 for ; Tue, 1 Jan 2019 14:10:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7B11335CE9 for ; Tue, 1 Jan 2019 14:10:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9E0B326 for ; Tue, 1 Jan 2019 14:10:46 +0000 (UTC) From: "Ian Whyman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Whyman" Message-ID: <1546351833.967b252cdab700984444709e7c1f8f09983df58e.thev00d00@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcec/Manifest dev-libs/libcec/libcec-4.0.4.ebuild X-VCS-Directories: dev-libs/libcec/ X-VCS-Committer: thev00d00 X-VCS-Committer-Name: Ian Whyman X-VCS-Revision: 967b252cdab700984444709e7c1f8f09983df58e X-VCS-Branch: master Date: Tue, 1 Jan 2019 14:10:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17e483ad-08cc-462b-88c7-0ac4257ffae1 X-Archives-Hash: ac299d94108b69f108a22f5b137bec78 commit: 967b252cdab700984444709e7c1f8f09983df58e Author: Ian Whyman gentoo org> AuthorDate: Tue Jan 1 14:10:14 2019 +0000 Commit: Ian Whyman gentoo org> CommitDate: Tue Jan 1 14:10:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967b252c dev-libs/libcec: Bump to 4.0.4 Closes: https://bugs.gentoo.org/673584 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Ian Whyman gentoo.org> dev-libs/libcec/Manifest | 1 + dev-libs/libcec/libcec-4.0.4.ebuild | 81 +++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/dev-libs/libcec/Manifest b/dev-libs/libcec/Manifest index 8f7754a6131..046b38aebd6 100644 --- a/dev-libs/libcec/Manifest +++ b/dev-libs/libcec/Manifest @@ -1,2 +1,3 @@ DIST libcec-3.1.0.tar.gz 1097121 BLAKE2B f216c03c26fd51366282d649d18ca969f362438a2803a7a15dc2aa1ec7caeb4e2a9f02b74e569da4d4c6aa24427ec5bd1870a230dc9c0bc575938c3929a7772b SHA512 e06f65d85ee268ec23380186d11e53f3e477bf25b955c9314cc13555eedeffee902dc8a0f3005248250c584760ab68c461b087b305dc4ef463da628ee1ab433b DIST libcec-4.0.2.tar.gz 334995 BLAKE2B bdbebeb339ce39f2f740805c4c627cc5190cc0dd57d0d87e3d3aa4ba8feeba103336d035fb8b282358f2e08fa470111be43df4df48870be0e9aa93f35434d0ef SHA512 7bb80965cd1bef713f59bff136dc4a7f1172c4a9bdb8e2f59c6bcc5b74110848c0b2912263280ea68177908a688127e8d7208fc43ce6e65d589343b85395a0bb +DIST libcec-4.0.4.tar.gz 344976 BLAKE2B ce88730ee6e9f57a3f874dd47343e8bb12bd9d3644b58703f0b797bfe656fa25461e6847db4023fec92d9e9740f0e58b59a203258d39d8883b8ae9cde147f455 SHA512 8991ba96fe9a87e5e1f63ff87f77fc0fc3b735c537e2ee6cb004fdc264d75cecd043e39b49cf9e64aeadd24bb1fb57911d9c4bd6c494d9ba4035d7320c268116 diff --git a/dev-libs/libcec/libcec-4.0.4.ebuild b/dev-libs/libcec/libcec-4.0.4.ebuild new file mode 100644 index 00000000000..38c70e8e920 --- /dev/null +++ b/dev-libs/libcec/libcec-4.0.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +MY_PV=${PV/_p/-} +MY_P=${PN}-${MY_PV} + +inherit cmake-utils linux-info python-single-r1 toolchain-funcs + +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/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="cubox exynos python raspberry-pi +xrandr" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="virtual/udev + >=dev-libs/libplatform-2.0.0 + sys-libs/ncurses:= + raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 ) + xrandr? ( x11-libs/libXrandr ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + virtual/pkgconfig" + +CONFIG_CHECK="~USB_ACM" + +S="${WORKDIR}/${PN}-${MY_P}" + +pkg_pretend() { + linux-info_pkg_setup +} + +pkg_setup() { + linux-info_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_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 + + use python || cmake_comment_add_subdirectory "src/pyCecClient" +} + +src_configure() { + local mycmakeargs=( + -DSKIP_PYTHON_WRAPPER=$(usex !python) + -DHAVE_EXYNOS_API=$(usex exynos) + -DHAVE_TDA995X_API=$(usex cubox) + -DHAVE_RPI_API=$(usex raspberry-pi) + ) + use python && mycmakeargs+=( + -DPYTHON_SITEDIR="$(python_get_sitedir)" + ) + + # raspberrypi-userland itself does not provide .pc file so using + # bcm_host.pc instead + use raspberry-pi && mycmakeargs+=( + -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \ + -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host) + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + elog "You will need to ensure the user running your CEC client has" + elog "read/write access to the device. You can ensure this by adding" + elog "them to the uucp group" +}