aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2017-02-17 10:38:28 +0000
committerStuart Shelton <stuart@shelton.me>2017-02-17 10:38:28 +0000
commit03007f5673223e61284c4a5ee9228e9ad78fe195 (patch)
tree7b908fde70a7eadc9860255ba54da284a9d89724 /media-libs
parentUpdate dev-libs/openssl-1.0.2k (diff)
downloadsrcshelton-03007f5673223e61284c4a5ee9228e9ad78fe195.tar.gz
srcshelton-03007f5673223e61284c4a5ee9228e9ad78fe195.tar.bz2
srcshelton-03007f5673223e61284c4a5ee9228e9ad78fe195.zip
Update media-libs/raspberrypi-userland-9999
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/raspberrypi-userland/Manifest4
-rw-r--r--media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules3
-rw-r--r--media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch15
-rw-r--r--media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild22
4 files changed, 35 insertions, 9 deletions
diff --git a/media-libs/raspberrypi-userland/Manifest b/media-libs/raspberrypi-userland/Manifest
index 8cb8b181..e4aec280 100644
--- a/media-libs/raspberrypi-userland/Manifest
+++ b/media-libs/raspberrypi-userland/Manifest
@@ -1,5 +1,7 @@
+AUX 92-local-vchiq-permissions.rules 142 SHA256 44f6eadcbb0293f1ce8c7acbe7d561f6e9b277f997aaafd3a91168bb07b926c5 SHA512 b0e430adf65ccde1c3199c59e876293ffa1821a70f7d60057bb4990108fe21604e6d8c11dbdd74de50ad1fd5fad5e579ad35fb172a62ccef26bd2ff9bed5aba4 WHIRLPOOL 45bcd3fbca54592a6b9cf61ab60fb9f6ac2819fcbe2c41a2a0329188e197d9319df2da1b7c54f15bc6da91f5d495df45b074e73db792b34e19616c0ffb23ed9d
+AUX raspberrypi-userland-9999-gentoo.patch 679 SHA256 fb23424269946621a0366a0d4005feebcaf23ba498089e2dd374b66bc395ec36 SHA512 b655256358338ad2c1504953d219dac6cae4bde50c376fb64813f7f62a0197474cad3ce3ae9f6b9c8eeb3b0582f368be6eaaa66b94030eb5a099cab758c4dc4e WHIRLPOOL 3153ee6945d143af38d97145f764568283b2d4f5c020cf4be2e4e5c478598a8a0fc7c105444b441ac35bd262c02d09a45fac4a18be435acf7546ae5656ca5225
AUX raspberrypi-userland-9999-gnu_source.patch 316 SHA256 fa35755414c69631c239c2bb73b0a1b9b3ff479c6cfd72adcd1d4d7a7f9a7ba7 SHA512 df6980edc473e28a9be3d2f731e74391f705c125fad071b157cd2c1d93960ed3eca3a45a37243b6636cea463f8fe2b77efc6b1d338c0760061385198bd30285b WHIRLPOOL a35f0e17ec0fddcba07b66d00c09aeeae7a0ca47209ae178dd7baca41949146162eb4aad6b820227290849b76247abb10c8238e8b85e8eedb216d7db5c1ba6a1
AUX raspberrypi-userland-9999-pid.patch 430 SHA256 76aec99c2c51d0b3b4fdbd7c8b798d812aebb48a5a8b5ac61abaf2e7dcb16615 SHA512 5e3ac5db5434a999054e004eb7f0c0f1d772f136bae68ea82a880b6862cbfae83b6fc3314e8bb4d3b9eeaed27eb3640ae1a0fa8bcc7f0af830f15c6b2cd090aa WHIRLPOOL 68058410e902aeddf9522d164be063320345c271b594f2557d364b11060ddf51fbbeec7cc6db6baa34d387a7a6a9cc9c7db93fd14d7f8f3611e4879c36105b9e
AUX raspberrypi-userland-vcfiled.initd 296 SHA256 e6b39b4e5e3374f9433098913f2c3ce0261f6f0d761de69248911846df97a670 SHA512 8f2db646ccece647c1cfd7882b54174a2c79a20b5a7c7b0c540cf818d2a3c6ce7f54151b983699669119eb8cc5f0b26daf1848b7693ad637e17bcafd8b81f79f WHIRLPOOL f8b5165eee5d84e998bfb12b7d93877833c692e31ad0bb299e1d4932f9d7b2b02b843c57841d7678b6b62b203af18477a4f93517d358cd0f7ea15b53b6232415
EBUILD raspberrypi-userland-9999-r1.ebuild 2544 SHA256 f0b4c806891a6e014f901461c7396c6b391ba625be8b3b683d771e612f0ed719 SHA512 ac23f0e975fceec075cbc8c782275a5a993900f6cb6108e0d9d0cc64ba9345799fb467bf313854982d6da9c084be36504b7cc672a9fa603121d76b6d4cdba64d WHIRLPOOL 9d3d53d2fb6b8de40cb524e190259ed0b6261d82e97bc157c2e8870ff62d00835cea5a7dc391adbbb36610ffb4edc131414f8ced9535038f2a69dcb2e7ce74a3
-EBUILD raspberrypi-userland-9999.ebuild 1840 SHA256 ff4f3cb7c35b7ea061d2df6207e5bba5bcfed7ccb1e1a84251265cc9b0423cd6 SHA512 6bcb600ea86cf5e805509ad90dcfb882c2d748f1abcce8aeeede74d29ff0200cfa897fa2f3f357f9b9cbd936297efa10e18bf133aecc5dffd857a8f46404cdbb WHIRLPOOL bc9208c06497b989fe36a93373a531b37fd53a1698478a82aa44928c6f128623030ece9e18e7e43a08ddbbc67d0dfd0f6f481633d883314000c4409c7706cb95
+EBUILD raspberrypi-userland-9999.ebuild 1989 SHA256 5fcbf2124bfa4a43405b98d1575f733190753788af81e655fa345785d1423d4f SHA512 a4dbe3467a9cdb043ca8cebb39663f0486c09847c7ddd7a29972c28b16d6d78bf4556eb0232d742eddce203894b77694f4b4c0c88afe68cc9d3d989f8d2fb13c WHIRLPOOL d1a357a3374d1277504797605ae4a00da9a528d9dd6e4ccf9b6214d770acdc6a8c992adf8616526611751d3e16ceb924d13a01a07fdcc8672c7e66310de23416
diff --git a/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules b/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules
new file mode 100644
index 00000000..fd955029
--- /dev/null
+++ b/media-libs/raspberrypi-userland/files/92-local-vchiq-permissions.rules
@@ -0,0 +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 00000000..a5e60554
--- /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 f4affefa..7fbc61cd 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: c7448085bbb36b90fff2e51cae4e6c4c2665e754 $
+# $Id: cc5ecd0b827129cf2246d3d1da04be3a8496764d $
EAPI=5
-inherit cmake-utils flag-o-matic git-r3
+inherit cmake-utils flag-o-matic git-r3 udev
DESCRIPTION="Raspberry Pi userspace tools and libraries"
HOMEPAGE="https://github.com/raspberrypi/userland"
@@ -12,21 +12,22 @@ SRC_URI=""
LICENSE="BSD"
SLOT="0/0"
KEYWORDS="~aarch64 arm -*"
-IUSE="examples"
+IUSE="examples udev"
DEPEND=""
RDEPEND=""
EGIT_REPO_URI="https://github.com/raspberrypi/userland"
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-pid.patch
+)
+
pkg_setup() {
append-ldflags $(no-as-needed)
}
-src_prepare() {
- epatch "${FILESDIR}"/${P}-pid.patch
-}
-
src_configure() {
local -a mycmakeargs
@@ -53,6 +54,11 @@ src_install() {
"${D}"/usr/include/interface/vmcs_host/
rmdir "${D}"/usr/include/interface/vmcs_host/linux
+ if use udev; then
+ insinto "${D}"/$(get_udevdir)/rules.d
+ doins "${FILESDIR}"/92-local-vchiq-permissions.rules
+ fi
+
if use examples; then
dodir /usr/share/doc/${PF}
mv "${D}"/usr/src/hello_pi "${D}"/usr/share/doc/${PF}/