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 8EA6215806E for ; Wed, 31 May 2023 07:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 910D7E08AD; Wed, 31 May 2023 07:00:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6DA6CE0895 for ; Wed, 31 May 2023 07:00:22 +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 99E2234111C for ; Wed, 31 May 2023 07:00:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D444CA79 for ; Wed, 31 May 2023 07:00:19 +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: <1685516185.42b7cbe7735ec16f2bdc96d9b32beb55295904a8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libbluray/files/, media-libs/libbluray/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libbluray/Manifest media-libs/libbluray/files/libbluray-1.3.4-fix-libudfread-option.patch media-libs/libbluray/libbluray-1.3.4.ebuild media-libs/libbluray/libbluray-9999.ebuild X-VCS-Directories: media-libs/libbluray/ media-libs/libbluray/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 42b7cbe7735ec16f2bdc96d9b32beb55295904a8 X-VCS-Branch: master Date: Wed, 31 May 2023 07:00:19 +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: aa0bf8a5-10b4-4f2b-bf05-14da5800718e X-Archives-Hash: b98a1925ada257bfa95ef110c835bb98 commit: 42b7cbe7735ec16f2bdc96d9b32beb55295904a8 Author: Sam James gentoo org> AuthorDate: Wed May 31 06:19:00 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 31 06:56:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b7cbe7 media-libs/libbluray: add 1.3.4 Signed-off-by: Sam James gentoo.org> media-libs/libbluray/Manifest | 1 + .../libbluray-1.3.4-fix-libudfread-option.patch | 25 ++++++++++++++++++++++ ...ibbluray-9999.ebuild => libbluray-1.3.4.ebuild} | 23 ++++++++++++-------- media-libs/libbluray/libbluray-9999.ebuild | 23 ++++++++++++-------- 4 files changed, 54 insertions(+), 18 deletions(-) diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index 2ac879907a62..95fa461b1eb6 100644 --- a/media-libs/libbluray/Manifest +++ b/media-libs/libbluray/Manifest @@ -1 +1,2 @@ DIST libbluray-1.3.3.tar.bz2 761335 BLAKE2B 3d17e686e363b0692b7d75596089ed12dbe46006738ea23f274b2992a541e6f1b0384ac2afc785359d94f652017284668c3a044db24ef6de5625575fca956bce SHA512 fc36b4eea43f430f5f774129bd5cf075ed0128433779ad0146d59cc87e9625f4b6c31098fed1f5754b84fd08d9c8044d8d43d78c5b9c07937878cf15f517ba6f +DIST libbluray-1.3.4.tar.bz2 756323 BLAKE2B a53b10fca6f8c049b2771c137e8900c34127554e1ebdeeec825de470b751182163cb1ff79f6dae20d772ba15c9d6c70fe332080ab93f1a47cc5f863922d22723 SHA512 94dbf3b68d1c23fe4648c153cc2f0c251886fac0a6b6bbe3a77caabaa5322682f712afe4a7b6b16ca3f06744fbc0e1ca872209a32898dcf0ae182055d335aec1 diff --git a/media-libs/libbluray/files/libbluray-1.3.4-fix-libudfread-option.patch b/media-libs/libbluray/files/libbluray-1.3.4-fix-libudfread-option.patch new file mode 100644 index 000000000000..906e92a6ec50 --- /dev/null +++ b/media-libs/libbluray/files/libbluray-1.3.4-fix-libudfread-option.patch @@ -0,0 +1,25 @@ +https://code.videolan.org/videolan/libbluray/-/merge_requests/44 + +From c1550e5cfd92229373f4cb729e2320827b9d22a8 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Wed, 31 May 2023 07:15:59 +0100 +Subject: [PATCH] configure.ac: Fix explicit --with-external-libudfread + handling + +We need "!= xno" [0] if we want the default to be *enabled*, otherwise passing +--with-external-libudfread actually ends up disabling it. + +[0] https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/External-Software.html +--- a/configure.ac ++++ b/configure.ac +@@ -316,7 +316,7 @@ AM_CONDITIONAL([BDJ_J2SE], [ test x"$BDJ_TYPE" != x"j2me" ]) + dnl bootclasspath + AC_SUBST(BDJ_BOOTCLASSPATH) + +-AS_IF([test "x$with_external_libudfread" = "xyes"], [ ++AS_IF([test "x$with_external_libudfread" != "xno"], [ + PKG_CHECK_MODULES([LIBUDFREAD], [libudfread >= 1.1.0], + [with_libudfread=yes + AC_DEFINE([HAVE_LIBUDFREAD], [1], [Define to 1 if external libudfread is to be used]) +-- +GitLab diff --git a/media-libs/libbluray/libbluray-9999.ebuild b/media-libs/libbluray/libbluray-1.3.4.ebuild similarity index 76% copy from media-libs/libbluray/libbluray-9999.ebuild copy to media-libs/libbluray/libbluray-1.3.4.ebuild index 9d617a0039d2..6445acaac890 100644 --- a/media-libs/libbluray/libbluray-9999.ebuild +++ b/media-libs/libbluray/libbluray-1.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ if [[ ${PV#9999} != ${PV} ]] ; then EGIT_REPO_URI="https://code.videolan.org/videolan/libbluray.git" else SRC_URI="https://downloads.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi inherit autotools java-pkg-opt-2 multilib-minimal @@ -21,7 +21,7 @@ SLOT="0/2" IUSE="aacs bdplus +fontconfig java +truetype utils +xml" RDEPEND=" - dev-libs/libudfread[${MULTILIB_USEDEP}] + >=dev-libs/libudfread-1.1.0[${MULTILIB_USEDEP}] aacs? ( >=media-libs/libaacs-0.6.0[${MULTILIB_USEDEP}] ) bdplus? ( media-libs/libbdplus[${MULTILIB_USEDEP}] ) fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) @@ -43,6 +43,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-jars.patch + "${FILESDIR}"/${PN}-1.3.4-fix-libudfread-option.patch ) DOCS=( ChangeLog README.md ) @@ -57,13 +58,17 @@ multilib_src_configure() { # bug #621992 use java || unset JDK_HOME - ECONF_SOURCE="${S}" econf \ - --disable-optimizations \ - $(multilib_native_use_enable utils examples) \ - $(multilib_native_use_enable java bdjava-jar) \ - $(use_with fontconfig) \ - $(use_with truetype freetype) \ + local myeconfargs=( + --disable-optimizations + --with-external-libudfread + $(multilib_native_use_enable utils examples) + $(multilib_native_use_enable java bdjava-jar) + $(use_with fontconfig) + $(use_with truetype freetype) $(use_with xml libxml2) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } multilib_src_install() { diff --git a/media-libs/libbluray/libbluray-9999.ebuild b/media-libs/libbluray/libbluray-9999.ebuild index 9d617a0039d2..6445acaac890 100644 --- a/media-libs/libbluray/libbluray-9999.ebuild +++ b/media-libs/libbluray/libbluray-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ if [[ ${PV#9999} != ${PV} ]] ; then EGIT_REPO_URI="https://code.videolan.org/videolan/libbluray.git" else SRC_URI="https://downloads.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi inherit autotools java-pkg-opt-2 multilib-minimal @@ -21,7 +21,7 @@ SLOT="0/2" IUSE="aacs bdplus +fontconfig java +truetype utils +xml" RDEPEND=" - dev-libs/libudfread[${MULTILIB_USEDEP}] + >=dev-libs/libudfread-1.1.0[${MULTILIB_USEDEP}] aacs? ( >=media-libs/libaacs-0.6.0[${MULTILIB_USEDEP}] ) bdplus? ( media-libs/libbdplus[${MULTILIB_USEDEP}] ) fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) @@ -43,6 +43,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-jars.patch + "${FILESDIR}"/${PN}-1.3.4-fix-libudfread-option.patch ) DOCS=( ChangeLog README.md ) @@ -57,13 +58,17 @@ multilib_src_configure() { # bug #621992 use java || unset JDK_HOME - ECONF_SOURCE="${S}" econf \ - --disable-optimizations \ - $(multilib_native_use_enable utils examples) \ - $(multilib_native_use_enable java bdjava-jar) \ - $(use_with fontconfig) \ - $(use_with truetype freetype) \ + local myeconfargs=( + --disable-optimizations + --with-external-libudfread + $(multilib_native_use_enable utils examples) + $(multilib_native_use_enable java bdjava-jar) + $(use_with fontconfig) + $(use_with truetype freetype) $(use_with xml libxml2) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } multilib_src_install() {