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 2A6BE1581D3 for ; Fri, 3 May 2024 11:20:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67312E2A04; Fri, 3 May 2024 11:20:46 +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 40BAEE2A04 for ; Fri, 3 May 2024 11:20:46 +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 3AB6B33FEF1 for ; Fri, 3 May 2024 11:20:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 992E193E for ; Fri, 3 May 2024 11:20:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1714735052.f80c722f81bc42138bdc85f2f713ea3fa1e14dff.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libde265/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libde265/Manifest media-libs/libde265/libde265-1.0.15.ebuild X-VCS-Directories: media-libs/libde265/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f80c722f81bc42138bdc85f2f713ea3fa1e14dff X-VCS-Branch: master Date: Fri, 3 May 2024 11:20:43 +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: 3f473546-50e6-433c-a5ad-a1183a57734f X-Archives-Hash: 07aa3fc2dfbbbc54ae2ffa35e8c00924 commit: f80c722f81bc42138bdc85f2f713ea3fa1e14dff Author: Christopher Fore posteo net> AuthorDate: Sat Jan 20 16:16:02 2024 +0000 Commit: Sam James gentoo 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 posteo.net> Closes: https://github.com/gentoo/gentoo/pull/34683 Signed-off-by: Sam James 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 +}