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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE327158041 for ; Sun, 24 Mar 2024 21:03:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09135E2A0D; Sun, 24 Mar 2024 21:03:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1132E2A0D for ; Sun, 24 Mar 2024 21:03:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F5FD34309E for ; Sun, 24 Mar 2024 21:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2EFA15DB for ; Sun, 24 Mar 2024 21:03:17 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1711314163.5a805aa0a4c97faa764fc5cad1b1195eb21ccfe2.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/raspberrypi-userland/Manifest media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild X-VCS-Directories: media-libs/raspberrypi-userland/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5a805aa0a4c97faa764fc5cad1b1195eb21ccfe2 X-VCS-Branch: master Date: Sun, 24 Mar 2024 21:03:17 +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: 55d4bfbd-ede0-45df-9083-b07528a835bb X-Archives-Hash: 78d03964ea28583349e5d9177fa985e9 commit: 5a805aa0a4c97faa764fc5cad1b1195eb21ccfe2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Mar 7 14:05:12 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 24 21:02:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a805aa0 media-libs/raspberrypi-userland: drop 0_pre20160424 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/raspberrypi-userland/Manifest | 1 - .../raspberrypi-userland-0_pre20160424.ebuild | 115 --------------------- 2 files changed, 116 deletions(-) diff --git a/media-libs/raspberrypi-userland/Manifest b/media-libs/raspberrypi-userland/Manifest index 29025c84702d..14ea7065276c 100644 --- a/media-libs/raspberrypi-userland/Manifest +++ b/media-libs/raspberrypi-userland/Manifest @@ -1,2 +1 @@ -DIST raspberrypi-userland-0_pre20160424.tar.gz 32933952 BLAKE2B 4a2d40200a6a4d673be277a0958f768342a2777c28b14b4c7fcac1dbc9c59f2ef2485234f11fbd228aea6bbcf4982a3fd1d4825268af60be91665ea6fee6922d SHA512 04a71837b1247ecbbe479b3b09b5705638a9e576dc99a1ab2200727509195a4a2f2a9b184e3c23ce3933a3236b260afc8bd2b75bc218567b386445bdd8208a5b DIST raspberrypi-userland-0_pre20201022.tar.gz 32958590 BLAKE2B 01733a24822d80c5bf9aa3e0feefc3e9437390a465d7a4184d0a9c6a68446e91515d3d6d398ff516d9fd1bdcd4a885512d358a4ed1d24d9b94bdc72d81db84d3 SHA512 1813224068b8a8e569c874a8ffb354f1ac86e95b482caaad18b9703a187baaea60f1f87dfbb0c7e4b3cb2eb875abbcc82aedba410646a3c1df0208bd73aaf9f9 diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild deleted file mode 100644 index 7f5d733485a6..000000000000 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake udev - -DESCRIPTION="Raspberry Pi userspace tools and libraries" -HOMEPAGE="https://github.com/raspberrypi/userland" - -if [[ ${PV} == 9999* ]]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/${PN/-//}.git" -else - GIT_COMMIT="dff5760" - SRC_URI="https://github.com/raspberrypi/userland/tarball/${GIT_COMMIT} -> ${P}.tar.gz" - KEYWORDS="arm" - S="${WORKDIR}/raspberrypi-userland-${GIT_COMMIT}" -fi - -RDEPEND=" - !media-libs/raspberrypi-userland-bin - wayland? ( dev-libs/wayland )" - -DEPEND=" - ${RDEPEND} - wayland? ( virtual/pkgconfig )" - -IUSE="examples wayland" -LICENSE="BSD" -SLOT="0" - -# TODO: -# * port vcfiled init script -# * stuff is still installed to hardcoded /opt/vc location, investigate whether -# anything else depends on it being there -# * live ebuild - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - git-2_src_unpack - else - default - fi -} - -src_prepare() { - default - - # init script for Debian, not useful on Gentoo - sed -i "/DESTINATION \/etc\/init.d/,+2d" interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die - - # wayland egl support - eapply "${FILESDIR}"/next-resource-handle.patch - - cmake_src_prepare -} - -src_install() { - cmake_src_install - - # provide OpenGL ES v1 according to https://github.com/raspberrypi/firmware/issues/78 - dosym libGLESv2.so /opt/vc/lib/libGLESv1_CM.so - - doenvd "${FILESDIR}"/04${PN} - - udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules" - - # enable dynamic switching of the GL implementation - dodir /usr/lib/opengl - dosym ../../../opt/vc /usr/lib/opengl/${PN} - - # tell eselect opengl that we do not have libGL - touch "${ED}"/opt/vc/.gles-only || die - - insinto /opt/vc/lib/pkgconfig - doins "${FILESDIR}"/bcm_host.pc - doins "${FILESDIR}"/egl.pc - doins "${FILESDIR}"/glesv2.pc - if use wayland; then - # Missing wayland-egl version from the patch; claim 9.0 (a mesa version) for now, so gst-plugins-bad wayland-egl check is happy - sed -i -e 's/Version: /Version: 9.0/' "${ED}/opt/vc/lib/pkgconfig/wayland-egl.pc" || die - doins "${ED}"/opt/vc/lib/pkgconfig/wayland-egl.pc # Maybe move? - fi - - # some #include instructions are wrong so we need to fix them - einfo "Fixing #include \"vcos_platform_types.h\"" - for file in $(grep -l "#include \"vcos_platform_types.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vcos_platform_types.h\"%#include \"interface/vcos/pthreads/vcos_platform_types.h\"%g" ${file} || die - done - - einfo "Fixing #include \"vcos_platform.h\"" - for file in $(grep -l "#include \"vcos_platform.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vcos_platform.h\"%#include \"interface/vcos/pthreads/vcos_platform.h\"%g" ${file} || die - done - - einfo "Fixing #include \"vchost_config.h\"" - for file in $(grep -l "#include \"vchost_config.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vchost_config.h\"%#include \"interface/vmcs_host/linux/vchost_config.h\"%g" ${file} || die - done - - if use examples; then - dodir /usr/share/doc/${PF}/examples - mv "${D}"/opt/vc/src/hello_pi "${D}"/usr/share/doc/${PF}/examples/ || die - fi - - rm -rfv "${D}"/opt/vc/src || die -} - -pkg_postinst() { - udev_reload -}