From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/files/, media-libs/libbpg/
Date: Mon, 18 Sep 2023 12:37:15 +0000 (UTC) [thread overview]
Message-ID: <1694990358.3cc06aa1e8216e51a52e52f780fb5903a7f8278c.flow@gentoo> (raw)
commit: 3cc06aa1e8216e51a52e52f780fb5903a7f8278c
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:58:00 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> 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 <watermanpaint <AT> 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 <watermanpaint@posteo.net>
+--- 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.
next reply other threads:[~2023-09-18 12:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-18 12:37 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-03 19:42 [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/files/, media-libs/libbpg/ Julien Roy
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2021-03-16 10:49 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1694990358.3cc06aa1e8216e51a52e52f780fb5903a7f8278c.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox