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 17627158089 for ; Mon, 18 Sep 2023 12:37:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84E4F2BC08E; Mon, 18 Sep 2023 12:37:19 +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 65BAB2BC080 for ; Mon, 18 Sep 2023 12:37:19 +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 82403335D43 for ; Mon, 18 Sep 2023 12:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B7AA11E8 for ; Mon, 18 Sep 2023 12:37:15 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1694990358.3cc06aa1e8216e51a52e52f780fb5903a7f8278c.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/files/, media-libs/libbpg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/libbpg/files/libbpg-0.9.8-remove-unused-cmake-var.patch media-libs/libbpg/libbpg-0.9.8-r1.ebuild X-VCS-Directories: media-libs/libbpg/files/ media-libs/libbpg/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 3cc06aa1e8216e51a52e52f780fb5903a7f8278c X-VCS-Branch: master Date: Mon, 18 Sep 2023 12:37:15 +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: 6bab24f3-17fc-4731-93ef-eb9b7ca1d5f8 X-Archives-Hash: 93fac84e26036b85a7b4f4e5dc311b63 commit: 3cc06aa1e8216e51a52e52f780fb5903a7f8278c Author: Lucio Sauer posteo net> AuthorDate: Sun Sep 17 20:58:00 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Sep 17 22:39:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cc06aa1 media-libs/libbpg: remove unused CMake variable MAIN12 is the compile time switch to toggle between bit depths of 12 and 10 bits. MAIN10 was unused. Closes: https://bugs.gentoo.org/840377 Signed-off-by: Lucio Sauer posteo.net> .../files/libbpg-0.9.8-remove-unused-cmake-var.patch | 14 ++++++++++++++ media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 5 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/media-libs/libbpg/files/libbpg-0.9.8-remove-unused-cmake-var.patch b/media-libs/libbpg/files/libbpg-0.9.8-remove-unused-cmake-var.patch new file mode 100644 index 0000000000..1f84061665 --- /dev/null +++ b/media-libs/libbpg/files/libbpg-0.9.8-remove-unused-cmake-var.patch @@ -0,0 +1,14 @@ +MAIN12 (now) acts as a compile time switch between the bit depths of 12 and 10 bits. +Not yet upstreamed as of 2023-09-17. +Author: Lucio Sauer +--- a/Makefile ++++ b/Makefile +@@ -115,7 +115,7 @@ endif + x265.out: + mkdir -p x265.out/8bit x265.out/10bit x265.out/12bit + cd x265.out/12bit && cmake ../../x265/source $(CMAKE_OPTS) -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON +- cd x265.out/10bit && cmake ../../x265/source $(CMAKE_OPTS) -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN10=ON ++ cd x265.out/10bit && cmake ../../x265/source $(CMAKE_OPTS) -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF + cd x265.out/8bit && cmake ../../x265/source $(CMAKE_OPTS) -DLINKED_10BIT=ON -DLINKED_12BIT=ON -DENABLE_SHARED=OFF -DENABLE_CLI=OFF + + # use this target to manually rebuild x265 diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild index cd838d7e28..f26e4d095b 100644 --- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild +++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild @@ -34,10 +34,11 @@ KEYWORDS="~amd64 ~x86" IUSE="bpgview jctvc" PATCHES=( - "${FILESDIR}"/${P}-remove-forced-options.patch - "${FILESDIR}"/${P}-dont-strip-bins.patch "${FILESDIR}"/${P}-add-chost.patch "${FILESDIR}"/${P}-add-fpic.patch + "${FILESDIR}"/${P}-dont-strip-bins.patch + "${FILESDIR}"/${P}-remove-forced-options.patch + "${FILESDIR}"/${P}-remove-unused-cmake-var.patch ) # Libnuma is a dependency of the default (x265) encoder.