-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/raspberrypi-userland: add versioned snapshot
- Loading branch information
1 parent
afaa44d
commit 00bfbe2
Showing
3 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
AUX 04raspberrypi-userland 80 BLAKE2B cf3b819e4cd50f50b9efaf95c654567f607e0bc36e341ec705ebe449f99817bbb39d166013e60de8705024cb6f56cb6ba18e33f4417c5607a058147f7777cc1b SHA512 fc934a7aa367dcd787c9158d07f59866b8e04034928303a949b2c4fa45577afcc0b31c5a3e7b08defcfc040e601a51728fc5ccd9a6c0dd60e2c1cb2fd00107d9 | ||
AUX 92-local-vchiq-permissions.rules 142 BLAKE2B 962d9eb744717cf7a685fb7ab8a0e68f964a3ca7c0d49d2b93102d66bb3d20d84a433097fc7b510f609b8b762ae0f7ede32954b9c2ec055d5dbaa4d07b06af81 SHA512 b0e430adf65ccde1c3199c59e876293ffa1821a70f7d60057bb4990108fe21604e6d8c11dbdd74de50ad1fd5fad5e579ad35fb172a62ccef26bd2ff9bed5aba4 | ||
AUX bcm_host.pc 338 BLAKE2B 2afdd23a6b200a04650c4ea0b669b14e4f6aac9f2fbcbc77a606615cd17b9a4651b4bba8d367ea7dfc1366873cdc9aef41baae5723f610b462ee58fbc3e3e7cc SHA512 d13ebe21288fc8cb29643a3564415006899490334c8a2d4601632d5a7b681e1f1ee97cc7b8d6b8840b28432dc8dd0b090e0c592dc07c99e3cc72ad9fbce0933b | ||
AUX egl.pc 227 BLAKE2B e3b205358a0891f58d95fbd0494e6d6a07c550363b60373c0f3b14686b5c3967dfa7e76fb2a65ca703c770f7bd9e5ba2232e1932ebebdd799fb99555afa55402 SHA512 15e2cdf73be35640a951a7e841963902bb056d96025b52c1551359ec7671baf710699c642a08a5543d52d27f424d900e2fd1d584976a056a54a20116b59a21f6 | ||
AUX glesv2.pc 230 BLAKE2B eb3405f7e867b7e8d1ecde9498ac396c11931dac0bb03ae1e78a3bb6ed376b468917ed6363f08341934f1b97ed3df00bfc9c0af22e6e5aa7c91def517df586e7 SHA512 a821afcf22d52ea48b4b94b3f4317553bed2ed2e1aadee2862b4d925ee3c78cc0d3a023c62842758de5c2b168dfc8b1ba6838ccb9b0749aef9fc782aa33fa8ec | ||
AUX next-resource-handle.patch 12535 BLAKE2B b7dbf4152f92ce7bbbf9d2b8b72fddc8cf2f32e576b2d8096b0b17ac89a4cc8ab2cfd0e11137b8da3b2c7b7414d02855a14e1dbffd77d26e087989184ab88001 SHA512 f0368ffff54f989f2541f1891fe3b244d9ff4f2fc464adf2387c04045aca2f1e1f35622d2bd6c6d42e9581c45c417d1961e235b063d892b17e7dbe3e4724f5c5 | ||
AUX raspberrypi-userland-include.patch 1484 BLAKE2B 7563874b54b168bd4858ecb65112ef48a7e010feae7a68c22f6d3f47dc1b855222df124df808fd6be427fea5763a9afd4c55ae2e3223c7bd55aa95333e55fe88 SHA512 fe73bcd1182b36e8ccaf81f0d7717f299a482545f08b352af8ead80f134a7be0f5269adb6972a1979a390046b9b94cab55c7a50a493740c72c5084e0e4995baf | ||
AUX raspberrypi-userland-libdir.patch 12348 BLAKE2B ed0dcc454b13589244204cf2cb26d9e38b75887c2d4d1ec4db02e7d4a206661f0ae4fc9d06467e353310a6b69f49a72a53b2882acab6a3959d57c7c0d34434b5 SHA512 213f04d859a0134143cf0e98650ed69096934c1600577d28bb24d62272f9da7ca12d0f3b59a19d3ff06a5fc67547f8e5a8684738b534bfa6e429722b320fee9f | ||
DIST raspberrypi-userland-0_pre20201022.tar.gz 32957266 BLAKE2B b2f3b276db25f9185ac4c5db3ceb1e76b785e4692c724c4ec2442cb3dd7552ca612536f87852eb3b7561187bf6bb3552c46325f7dde90a0f82f68300ea67cc21 SHA512 12e66b2ba23a927ac09226c5f9a9300e83b0cf9935cccba95be1eaf7149b1ae55db0241a1fde95986af935478fba31e2021160daa1ed600d949e8c3f0452c50f | ||
EBUILD raspberrypi-userland-0_pre20201022.ebuild 1364 BLAKE2B 2a664fc8417e9331acc977d9b69f8c43af7715ddc4c23178c3dc8e26963a9499a47a4a728666690e892f6714f5401b7ee42dea28ecdff9c823b8e16faa66ed69 SHA512 29c71e8f10b6ca93d3c0604b6b57f0f8c4cac1747096bf0d21d1596745906b8a2b5152da35091f4ac9b54e4502d7338dd631401225b5c0434086b3f64d7a6e10 | ||
EBUILD raspberrypi-userland-9999.ebuild 1364 BLAKE2B 22a09caf6a7731214890bdaaf3a794634e3825e4a7224df2ad20bae41b77763997066efe05233ffcc551e31e090fdda72cc937e5fddf98f5fb7370140077361f SHA512 1be6a39dad2d70b8dcab27f96ca40ec0cb7d9e301832ab397a01f846bde93a34bbce03c22392404ce91790498889f3d29b2f2aaf8a2a13f64b1bf49639888bc3 | ||
MISC metadata.xml 351 BLAKE2B ba576d7f61b104574b6a6691584dd75e632a637ded0bce055a267822a86574e35a6d71f5bb3616939af1a964aa007cbe49fd5cf3b64939b387dc0d46d356fc82 SHA512 f0d9ddcb8e1e7df5ff767f33824c5f2b6ab5a9afc508e1d39864a046f2ffc05665011a1a08e2624dd41d6e1c150ed0d14ce888401cb5c52069eb4a8958d167e2 |
60 changes: 60 additions & 0 deletions
60
media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=5 | ||
inherit cmake-utils flag-o-matic udev | ||
|
||
if [[ ${PV} == 9999* ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/${PN/-//}.git" | ||
SRC_URI="" | ||
else | ||
#We base our versioning off Raspbian's | ||
#Go to https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-userland/ | ||
#Example: | ||
#libraspberrypi-bin-dbgsym_2+git20201022~151804+e432bc3-1_arm64.deb | ||
#"e432bc3" is the git commit to plug in below. | ||
GIT_COMMIT="e432bc3" | ||
SRC_URI="https://github.com/raspberrypi/userland/tarball/${GIT_COMMIT} -> ${P}.tar.gz" | ||
KEYWORDS="~arm64 ~arm" | ||
S="${WORKDIR}/raspberrypi-userland-${GIT_COMMIT}" | ||
fi | ||
|
||
|
||
DESCRIPTION="Raspberry Pi userspace tools and libraries" | ||
HOMEPAGE="https://github.com/raspberrypi/userland" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="acct-group/video | ||
!media-libs/raspberrypi-userland-bin" | ||
|
||
#Install in $(get_libdir) | ||
#See https://github.com/raspberrypi/userland/pull/650 | ||
PATCHES=( "${FILESDIR}/${PN}-libdir.patch" ) | ||
#Don't install includes that collide. | ||
PATCHES+=( "${FILESDIR}/${PN}-include.patch" ) | ||
|
||
pkg_setup() { | ||
append-ldflags $(no-as-needed) | ||
|
||
mycmakeargs=( | ||
-DVMCS_INSTALL_PREFIX="/usr" | ||
-DARM64=$(usex arm64 ON OFF) | ||
) | ||
} | ||
|
||
src_prepare() { | ||
cmake-utils_src_prepare | ||
sed -i \ | ||
-e 's:DESTINATION ${VMCS_INSTALL_PREFIX}/src:DESTINATION ${VMCS_INSTALL_PREFIX}/'"share/doc/${PF}:" \ | ||
"${S}/makefiles/cmake/vmcs.cmake" || die "Failed sedding makefiles/cmake/vmcs.cmake" | ||
} | ||
|
||
src_install() { | ||
cmake-utils_src_install | ||
udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters