From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/, media-libs/raspberrypi-userland/files/
Date: Sun, 12 Feb 2017 14:34:18 +0000 (UTC) [thread overview]
Message-ID: <1486910027.a18a8c4cbfc39c02825851d24e9e9ab777c4706b.tupone@gentoo> (raw)
commit: a18a8c4cbfc39c02825851d24e9e9ab777c4706b
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 14:33:47 2017 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 14:33:47 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18a8c4c
media-libs/raspberrypi-userland: Fix devices permissions
Not using anymore eselect opengl (includes not compatible)
Package-Manager: portage-2.3.3
.../files/92-local-vchiq-permissions.rules | 2 ++
.../files/raspberrypi-userland-9999-gentoo.patch | 15 +++++++++++++
.../raspberrypi-userland-9999.ebuild | 26 +++++++++-------------
3 files changed, 27 insertions(+), 16 deletions(-)
diff --git a/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules b/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules
index bacea0e066..fd95502940 100644
--- a/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules
+++ b/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules
@@ -1 +1,3 @@
SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"
+SUBSYSTEM=="vc-sm",GROUP="video",MODE="0660"
+SUBSYSTEM=="bcm2708_vcio",GROUP="video",MODE="0660"
diff --git a/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch b/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch
new file mode 100644
index 0000000000..a5e60554cd
--- /dev/null
+++ b/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch
@@ -0,0 +1,15 @@
+--- raspberrypi-userland-9999/host_applications/linux/apps/dtoverlay/CMakeLists.txt.old 2017-02-04 19:01:38.944537134 +0100
++++ raspberrypi-userland-9999/host_applications/linux/apps/dtoverlay/CMakeLists.txt 2017-02-04 19:02:09.634401479 +0100
+@@ -22,12 +22,4 @@
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dtparam DESTINATION bin)
+
+ set(DTOVERLAY_SCRIPTS dtoverlay-pre dtoverlay-post)
+-foreach(_script ${DTOVERLAY_SCRIPTS})
+- add_custom_command(
+- TARGET dtoverlay
+- COMMAND ${CMAKE_COMMAND}
+- -E copy ${CMAKE_CURRENT_SOURCE_DIR}/${_script}
+- ${CMAKE_BINARY_DIR}/../../bin/${_script}
+- )
+-endforeach()
+ install(PROGRAMS ${DTOVERLAY_SCRIPTS} DESTINATION bin)
diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
index c7448085bb..cc5ecd0b82 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit cmake-utils git-r3
+inherit cmake-utils flag-o-matic git-r3
DESCRIPTION="Raspberry Pi userspace tools and libraries"
HOMEPAGE="https://github.com/raspberrypi/userland"
@@ -19,6 +19,12 @@ RDEPEND=""
EGIT_REPO_URI="https://github.com/raspberrypi/userland"
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+pkg_setup() {
+ append-ldflags $(no-as-needed)
+}
+
src_configure() {
local mycmakeargs=(
-DVMCS_INSTALL_PREFIX="/usr"
@@ -30,20 +36,8 @@ src_configure() {
src_install() {
cmake-utils_src_install
- dodir /usr/lib/opengl/raspberrypi/lib
- touch "${D}"/usr/lib/opengl/raspberrypi/.gles-only
- mv "${D}"/usr/lib/lib{EGL,GLESv2}* \
- "${D}"/usr/lib/opengl/raspberrypi/lib
-
- dodir /usr/lib/opengl/raspberrypi/include
- mv "${D}"/usr/include/{EGL,GLES,GLES2,KHR,WF} \
- "${D}"/usr/lib/opengl/raspberrypi/include
- mv "${D}"/usr/include/interface/vcos/pthreads/* \
- "${D}"/usr/include/interface/vcos/
- rmdir "${D}"/usr/include/interface/vcos/pthreads
- mv "${D}"/usr/include/interface/vmcs_host/linux/* \
- "${D}"/usr/include/interface/vmcs_host/
- rmdir "${D}"/usr/include/interface/vmcs_host/linux
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}"/92-local-vchiq-permissions.rules
dodir /usr/share/doc/${PF}
mv "${D}"/usr/src/hello_pi "${D}"/usr/share/doc/${PF}/
next reply other threads:[~2017-02-12 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-12 14:34 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-16 19:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/, media-libs/raspberrypi-userland/files/ Sam James
2019-03-24 23:55 Andrey Utkin
2016-10-19 19:43 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486910027.a18a8c4cbfc39c02825851d24e9e9ab777c4706b.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox