From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libde265/
Date: Fri, 3 May 2024 11:20:43 +0000 (UTC) [thread overview]
Message-ID: <1714735052.f80c722f81bc42138bdc85f2f713ea3fa1e14dff.sam@gentoo> (raw)
commit: f80c722f81bc42138bdc85f2f713ea3fa1e14dff
Author: Christopher Fore <csfore <AT> posteo <DOT> net>
AuthorDate: Sat Jan 20 16:16:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 3 11:17:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80c722f
media-libs/libde265: add 1.0.15, security bump
Bump libsdl dependency to libsdl2
Bug: https://bugs.gentoo.org/905099
Signed-off-by: Christopher Fore <csfore <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/34683
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libde265/Manifest | 1 +
media-libs/libde265/libde265-1.0.15.ebuild | 95 ++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/media-libs/libde265/Manifest b/media-libs/libde265/Manifest
index 3b7a130d30a9..77849b62d7ca 100644
--- a/media-libs/libde265/Manifest
+++ b/media-libs/libde265/Manifest
@@ -1 +1,2 @@
DIST libde265-1.0.11.tar.gz 845996 BLAKE2B 91711132757a10f0f277800525ee6f6a3902604cc969b8756232b15b581d830951d70bccd57d7731b3ad670a3b7a0d2c22e9578f3763da65b3cdeb016422568b SHA512 2ce28558c66e20714c07bf3011bc10dccabb770649903616bc32f1c4f18beba559ef7e0e42365ead77d7e813316b8c051039dc393cd351221cbab7248b3fa34c
+DIST libde265-1.0.15.tar.gz 846016 BLAKE2B b968a46dd56c3dda7da0e24289ccf24d08baf382771794dafacba942de41b7458b3a515e22abe2f35465bac731e67f29b409dbc95ced3531a211e6e40a1ea774 SHA512 375d8e781108247e0e8b4d7a036d20cc5d0670bdbf6ddb40a6d3dbf912fa776d2f001fb762301cb97e4d43be29eb415b0cdbfc6e07aa18b3f2346f7409c64fce
diff --git a/media-libs/libde265/libde265-1.0.15.ebuild b/media-libs/libde265/libde265-1.0.15.ebuild
new file mode 100644
index 000000000000..ba775f376734
--- /dev/null
+++ b/media-libs/libde265/libde265-1.0.15.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/strukturag/libde265/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Open h.265 video codec implementation"
+HOMEPAGE="https://github.com/strukturag/libde265"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="enc265 dec265 sdl tools debug cpu_flags_x86_sse4_1 cpu_flags_arm_neon cpu_flags_arm_thumb"
+# IUSE+=" sherlock265" # Require libvideogfx or libswscale
+
+RDEPEND="
+ dec265? (
+ sdl? ( media-libs/libsdl2 )
+ )"
+
+# Sherlock265 require libvideogfx or libswscale
+#RDEPEND+="
+# sherlock265? (
+# media-libs/libsdl
+# dev-qt/qtcore:5
+# dev-qt/qtgui:5
+# dev-qt/qtwidgets:5
+# media-libs/libswscale
+# )
+#"
+
+DEPEND="${RDEPEND}"
+BDEPEND="dec265? ( virtual/pkgconfig )"
+
+# Sherlock265 require libvideogfx or libswscale
+#BDEPEND+=" sherlock265? ( virtual/pkgconfig )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.2-qtbindir.patch )
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ # without this, headers would be missing and make would fail
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --enable-log-error
+ ax_cv_check_cflags___msse4_1=$(usex cpu_flags_x86_sse4_1)
+ ax_cv_check_cflags___mfpu_neon=$(usex cpu_flags_arm_neon)
+ $(use_enable cpu_flags_arm_thumb thumb)
+ $(use_enable debug log-info)
+ $(use_enable debug log-debug)
+ $(use_enable debug log-trace)
+ $(multilib_native_use_enable enc265 encoder)
+ $(multilib_native_use_enable dec265)
+ )
+
+ # myeconfargs+=( $(multilib_native_use_enable sherlock265) ) # Require libvideogfx or libswscale
+ myeconfargs+=( --disable-sherlock265 )
+
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ default
+
+ if multilib_is_native_abi; then
+ # Remove useless, unready and test tools
+ rm "${ED}"/usr/bin/{tests,gen-enc-table,yuv-distortion} || die
+ if ! use tools; then
+ rm "${ED}"/usr/bin/{bjoentegaard,block-rate-estim,rd-curves} || die
+ rm "${ED}"/usr/bin/acceleration_speed || die
+ fi
+ else
+ # Remove all non-native binary tools
+ rm "${ED}"/usr/bin/* || die
+ fi
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete || die
+ einstalldocs
+}
next reply other threads:[~2024-05-03 11:20 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 11:20 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-01 5:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libde265/ Arthur Zamarin
2025-08-30 14:05 Arthur Zamarin
2025-08-30 7:33 Arthur Zamarin
2025-08-30 1:06 Sam James
2025-08-29 19:03 Sam James
2025-06-17 0:16 Sam James
2024-08-10 15:41 Michał Górny
2024-08-09 8:50 Jakov Smolić
2024-08-05 11:35 Jakov Smolić
2024-08-05 10:34 Jakov Smolić
2024-08-05 10:34 Jakov Smolić
2024-05-03 11:20 Sam James
2023-10-23 4:14 John Helmert III
2023-04-26 4:03 Sam James
2023-04-26 3:53 Sam James
2023-04-26 3:53 Sam James
2023-04-26 3:53 Sam James
2023-04-26 3:53 Sam James
2023-03-11 4:34 John Helmert III
2023-01-06 8:10 Sam James
2023-01-06 1:27 Sam James
2023-01-05 23:48 Sam James
2023-01-05 23:48 Sam James
2023-01-05 20:31 Arthur Zamarin
2022-11-04 2:24 Sam James
2022-05-25 9:10 WANG Xuerui
2022-05-25 9:10 WANG Xuerui
2021-09-07 3:05 Sam James
2021-04-25 9:31 Sam James
2021-02-13 20:59 Conrad Kostecki
2021-02-13 19:18 Sam James
2021-02-03 0:01 Sam James
2021-02-01 13:33 Sam James
2020-12-29 13:38 David Seifert
2020-12-29 13:38 David Seifert
2020-11-12 15:17 Sam James
2020-11-12 6:51 Joonas Niilola
2020-11-12 0:35 Thomas Deutschmann
2020-07-30 3:50 Sam James
2020-07-27 15:09 Craig Andrews
2020-04-26 9:21 Mikle Kolyada
2019-12-26 12:56 Georgy Yakovlev
2019-12-26 12:56 Georgy Yakovlev
2019-07-24 23:09 Aaron Bauman
2018-09-21 12:41 Thomas Deutschmann
2018-09-21 7:41 Agostino Sarubbo
2018-09-19 17:35 Thomas Deutschmann
2018-09-12 13:49 Andreas Sturmlechner
2018-09-12 13:32 Andreas Sturmlechner
2018-09-08 22:04 Thomas Deutschmann
2017-11-20 19:56 Andreas Sturmlechner
2017-11-20 19:56 Andreas Sturmlechner
2017-07-30 9:38 Michał Górny
2016-12-07 7:39 Yixun Lan
2016-12-05 7:58 Yixun Lan
2015-11-09 3:03 Yixun Lan
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=1714735052.f80c722f81bc42138bdc85f2f713ea3fa1e14dff.sam@gentoo \
--to=sam@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