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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0124C158030 for ; Tue, 28 Feb 2023 15:00:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C3B4E01E4; Tue, 28 Feb 2023 15:00:52 +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 42D78E01E4 for ; Tue, 28 Feb 2023 15:00:52 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27C9D340D02 for ; Tue, 28 Feb 2023 15:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AE4B75 for ; Tue, 28 Feb 2023 15:00:49 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1677596018.96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mpv/mpv-0.35.1.ebuild media-video/mpv/mpv-9999.ebuild X-VCS-Directories: media-video/mpv/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea X-VCS-Branch: master Date: Tue, 28 Feb 2023 15:00:49 +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: 0f7d1157-ff8f-4798-906a-6b0b497199a5 X-Archives-Hash: 59bfecbf97d34e0f3aef8d6583494392 commit: 96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea Author: Ionen Wolkens gentoo org> AuthorDate: Tue Feb 28 12:55:02 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Feb 28 14:53:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fb6735 media-video/mpv: don't unnecessarily pass -I/-L for raspberry-pi If meson.build doesn't find the pkg-config file, it'll fail. So there's no sense in adding this ourselves. mpv already looks for the .pc file in /opt/vc for userland-bin, and meson considers SYSROOT even with absolute paths (cross works). Prefix is untested (would need more setting up to try this on arm), may or may not need to use PKG_CONFIG_PATH so it can find brcmegl.pc depending on how meson handles it -- but either way is unlikely to work given userland-bin's .pc are not modified to include EPREFIX (not going to worry unless someone actually uses this configuration). Signed-off-by: Ionen Wolkens gentoo.org> media-video/mpv/mpv-0.35.1.ebuild | 5 ----- media-video/mpv/mpv-9999.ebuild | 5 ----- 2 files changed, 10 deletions(-) diff --git a/media-video/mpv/mpv-0.35.1.ebuild b/media-video/mpv/mpv-0.35.1.ebuild index bcd28382376d..5ea6dc240af6 100644 --- a/media-video/mpv/mpv-0.35.1.ebuild +++ b/media-video/mpv/mpv-0.35.1.ebuild @@ -147,11 +147,6 @@ src_configure() { fi fi - if use raspberry-pi; then - append-cflags -I"${ESYSROOT}"/opt/vc/include - append-ldflags -L"${ESYSROOT}"/opt/vc/lib - fi - mpv_feature_multi() { local use set for use in ${1} ${2}; do diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 11323310aeb0..34293c859ac9 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -147,11 +147,6 @@ src_configure() { fi fi - if use raspberry-pi; then - append-cflags -I"${ESYSROOT}"/opt/vc/include - append-ldflags -L"${ESYSROOT}"/opt/vc/lib - fi - mpv_feature_multi() { local use set for use in ${1} ${2}; do