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 3B046158009 for ; Tue, 20 Jun 2023 20:00:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7480DE08C3; Tue, 20 Jun 2023 20:00:20 +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 505AAE08C3 for ; Tue, 20 Jun 2023 20:00:20 +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 3408E340D5F for ; Tue, 20 Jun 2023 20:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83C28990 for ; Tue, 20 Jun 2023 20:00:17 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1687291198.2a729de7fdceb4f00b81b2b059660d488ca847d9.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/moonlight/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/moonlight/files/moonlight-9999-automagic.patch X-VCS-Directories: net-misc/moonlight/files/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 2a729de7fdceb4f00b81b2b059660d488ca847d9 X-VCS-Branch: master Date: Tue, 20 Jun 2023 20:00: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: d7cb3025-736a-47e8-ab90-5bcdd3c81d64 X-Archives-Hash: 971cb3327730290fd1b13a28025a1daf commit: 2a729de7fdceb4f00b81b2b059660d488ca847d9 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Jun 20 10:46:59 2023 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Jun 20 19:59:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a729de7 net-misc/moonlight: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/31550 Signed-off-by: James Le Cuirot gentoo.org> .../moonlight/files/moonlight-9999-automagic.patch | 136 --------------------- 1 file changed, 136 deletions(-) diff --git a/net-misc/moonlight/files/moonlight-9999-automagic.patch b/net-misc/moonlight/files/moonlight-9999-automagic.patch deleted file mode 100644 index 1a2b56ceea7a..000000000000 --- a/net-misc/moonlight/files/moonlight-9999-automagic.patch +++ /dev/null @@ -1,136 +0,0 @@ -From 3bd5c3728b5469e88dcba794e371e9b028c47df8 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sat, 3 Jun 2023 17:51:00 +0100 -Subject: [PATCH] Allow forced disabling of features instead of relying on - pkg-config - -So-called "automagic" behaviour is considered unhelpful by -distributions. A user may unintentionally build Moonlight with VDPAU -support simply because they had that library installed, only for the -whole application to break when they uninstall the library later. This -could happen on any distribution, but it should especially be avoided on -source-based distributions, where the user would not expect the package -manager to encounter such issues. - -This commit is best viewed without whitespace changes. ---- - app/app.pro | 92 +++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 57 insertions(+), 35 deletions(-) - -diff --git a/app/app.pro b/app/app.pro -index 82d941e7..85f38dd4 100644 ---- a/app/app.pro -+++ b/app/app.pro -@@ -65,52 +65,74 @@ unix:!macx { - CONFIG += link_pkgconfig - PKGCONFIG += openssl sdl2 SDL2_ttf opus - -- packagesExist(libavcodec) { -- PKGCONFIG += libavcodec libavutil -- CONFIG += ffmpeg -- -- packagesExist(libva) { -- packagesExist(libva-x11) { -- CONFIG += libva-x11 -+ !disable-ffmpeg { -+ packagesExist(libavcodec) { -+ PKGCONFIG += libavcodec libavutil -+ CONFIG += ffmpeg -+ -+ !disable-libva { -+ packagesExist(libva) { -+ !disable-x11 { -+ packagesExist(libva-x11) { -+ CONFIG += libva-x11 -+ } -+ } -+ !disable-wayland { -+ packagesExist(libva-wayland) { -+ CONFIG += libva-wayland -+ } -+ } -+ !disable-libdrm { -+ packagesExist(libva-drm) { -+ CONFIG += libva-drm -+ } -+ } -+ CONFIG += libva -+ } - } -- packagesExist(libva-wayland) { -- CONFIG += libva-wayland -+ -+ !disable-libvdpau { -+ packagesExist(vdpau) { -+ CONFIG += libvdpau -+ } - } -- packagesExist(libva-drm) { -- CONFIG += libva-drm -+ -+ !disable-mmal { -+ packagesExist(mmal) { -+ PKGCONFIG += mmal -+ CONFIG += mmal -+ } - } -- CONFIG += libva -- } - -- packagesExist(vdpau) { -- CONFIG += libvdpau -- } -+ !disable-libdrm { -+ packagesExist(libdrm) { -+ PKGCONFIG += libdrm -+ CONFIG += libdrm -+ } -+ } - -- packagesExist(mmal) { -- PKGCONFIG += mmal -- CONFIG += mmal -+ !disable-cuda { -+ packagesExist(ffnvcodec) { -+ PKGCONFIG += ffnvcodec -+ CONFIG += cuda -+ } -+ } - } - -- packagesExist(libdrm) { -- PKGCONFIG += libdrm -- CONFIG += libdrm -+ !disable-wayland { -+ packagesExist(wayland-client) { -+ CONFIG += wayland -+ PKGCONFIG += wayland-client -+ } - } - -- packagesExist(ffnvcodec) { -- PKGCONFIG += ffnvcodec -- CONFIG += cuda -+ !disable-x11 { -+ packagesExist(x11) { -+ DEFINES += HAS_X11 -+ PKGCONFIG += x11 -+ } - } - } -- -- packagesExist(wayland-client) { -- CONFIG += wayland -- PKGCONFIG += wayland-client -- } -- -- packagesExist(x11) { -- DEFINES += HAS_X11 -- PKGCONFIG += x11 -- } - } - win32 { - LIBS += -llibssl -llibcrypto -lSDL2 -lSDL2_ttf -lavcodec -lavutil -lopus -ldxgi -ld3d11 --- -2.40.1 -