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 E566015808B for ; Sat, 26 Mar 2022 00:23:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 077E2E090E; Sat, 26 Mar 2022 00:23:46 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF2ACE0918 for ; Sat, 26 Mar 2022 00:23:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAAE6343512 for ; Sat, 26 Mar 2022 00:23:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66B1D343 for ; Sat, 26 Mar 2022 00:23:43 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1648254209.188e2babf5476ceea5a11d70e233e13a1a4b2b5c.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/nv-codec-headers/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r1.ebuild media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1.ebuild X-VCS-Directories: media-libs/nv-codec-headers/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 188e2babf5476ceea5a11d70e233e13a1a4b2b5c X-VCS-Branch: master Date: Sat, 26 Mar 2022 00:23:43 +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: b0d0e66a-c110-4ce6-9fa1-c64ad66d2cb6 X-Archives-Hash: 3248be58e60ca6261d6e447dfb432556 commit: 188e2babf5476ceea5a11d70e233e13a1a4b2b5c Author: Matt Turner gentoo org> AuthorDate: Sat Mar 26 00:14:05 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Mar 26 00:23:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188e2bab media-libs/nv-codec-headers: Remove multilib The package installs only headers, as you might intuit from its name. Signed-off-by: Matt Turner gentoo.org> ....1.5.1.ebuild => nv-codec-headers-11.1.5.1-r1.ebuild} | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r1.ebuild similarity index 80% rename from media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1.ebuild rename to media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r1.ebuild index a6586dda664b..8f5074f5440f 100644 --- a/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1.ebuild +++ b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.1-r1.ebuild @@ -3,8 +3,6 @@ EAPI=8 -inherit multilib-minimal - DESCRIPTION="FFmpeg version of headers required to interface with Nvidias codec APIs" HOMEPAGE="https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git" SRC_URI="https://github.com/FFmpeg/nv-codec-headers/releases/download/n${PV}/${P}.tar.gz" @@ -15,15 +13,13 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=">=x11-drivers/nvidia-drivers-470.57.02[${MULTILIB_USEDEP}]" -src_prepare() { - default - multilib_copy_sources -} - -multilib_src_compile() { +src_compile() { emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" } -multilib_src_install() { - emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install +src_install() { + emake PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)" DESTDIR="${ED}" install + + mkdir -p "${ED}"/usr/share || die + mv "${ED}/usr/$(get_libdir)/pkgconfig" "${ED}"/usr/share/ || die }