summaryrefslogtreecommitdiff
path: root/media-libs/libbluray
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-27 15:57:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-27 15:57:47 +0100
commit3cafd803b6d89f6e823358a8d7f4a97e6d0629e1 (patch)
tree0cec79ef55ddf2fcd790270ae08081a3e158f6e8 /media-libs/libbluray
parentc70685892bc3f0b09aea1216ff278f6095f21281 (diff)
gentoo auto-resync : 27:10:2022 - 15:57:47
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r--media-libs/libbluray/Manifest2
-rw-r--r--media-libs/libbluray/libbluray-1.3.3.ebuild85
2 files changed, 87 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest
index 5c06520c2211..fd4021cf8b4b 100644
--- a/media-libs/libbluray/Manifest
+++ b/media-libs/libbluray/Manifest
@@ -3,8 +3,10 @@ AUX libbluray-jars.patch 1371 BLAKE2B 1c32115ec03db19b849248bcdbe4b9868527717b27
DIST libbluray-1.3.0.tar.bz2 754069 BLAKE2B d4c699ce28d2e5b1d4dda461a1359d3a446afe72368e9d76066ca4d5c49d1f24b4bcec307608d96913d0c668168a86267416b9db37ad942628c2926b79ec47d9 SHA512 3d5145e6fd7de099c07f937282112c7abb12a5590b7c0b965b00bddee3837ddfd1a30076aaa6d6278d07a5beee3856f602125983ae075ab30eceb6ac1bd9bcdc
DIST libbluray-1.3.1.tar.bz2 754867 BLAKE2B 471963bc5b77f9da31c2ad900e7bbb1528943d2341aa4f12471e5d9a0db6964e62e917c4f19e29115c8c129bb7f8730780b44dbb1c8939c94c686f39d8521fe8 SHA512 f39fc8a11771e8fdd5eeebf0ab23535ffab44721f64b350e5d153eee44555b31c618b6d765da114254dc83ff0ff89e84c6b185f61cdbcfedd2d47a5f6e26b75a
DIST libbluray-1.3.2.tar.bz2 757957 BLAKE2B e970e07f6ad216f7bdac866acfb87400b4fbd511ad41293f0aa93e6cc04f77bca249c78b75eb89d92e41c9a1d25df93c4cab53cdb2cfd27b8a47233bbc277cad SHA512 6f2d3a984809db33a99d2fe3618370a3fda3ef1c417b725d3c2e1f24ff21495f95a6a5f78b30b2b26bab47865f68dd08c08e8a554809d3a5225956da712dc064
+DIST libbluray-1.3.3.tar.bz2 761335 BLAKE2B 3d17e686e363b0692b7d75596089ed12dbe46006738ea23f274b2992a541e6f1b0384ac2afc785359d94f652017284668c3a044db24ef6de5625575fca956bce SHA512 fc36b4eea43f430f5f774129bd5cf075ed0128433779ad0146d59cc87e9625f4b6c31098fed1f5754b84fd08d9c8044d8d43d78c5b9c07937878cf15f517ba6f
EBUILD libbluray-1.3.0-r1.ebuild 2026 BLAKE2B afdec663eeda2df1dfda5bab20fadc416b718c0f1fa9198c9d382316f79220dd7773b3e8fc16cb37c96202fd6a2bb2004093b785caf572debe94e410fc70965e SHA512 ad3e56facfd5a192c3787096414baeaf0fd29a7f2e9550739c42ef76670aac2ff8cfd6390f46dd3fc6076b1384217c02b19d8739369fd969ad1913475a3d7b02
EBUILD libbluray-1.3.1.ebuild 2055 BLAKE2B 386214b48440b49fa436b3e48aa261a9ed7447089590189bca0aa0ed959ee7a48085a9a065c5c6095b74aee541ede6d68494d57d95ee190870e6e652295da4ed SHA512 4bf8f7fda1832f6ed9d951eeef24ef04ff6938443887cfb84d4cf6ff94021dabd989fb65d5d34f2945751a2a790a7482c636dd0c6101da86ec14b98e3a0ecd5d
EBUILD libbluray-1.3.2.ebuild 1960 BLAKE2B 66c522544ba6786b46c08f620f65c40b79d9aaf826283ec8362fa0fe4a9c0197862ce8a6e93408c6503ed7dea8931b11ee53e042e10934d7ca03a2fc9f5eef5f SHA512 ff981aa8143118a59e7eccdab56bacd0b8b9918f8eff508ecd885b78d28fb6f3348d2555c277aaea4f46e3435d7e9b63b8b84efff2d66a34ac8a580445b49650
+EBUILD libbluray-1.3.3.ebuild 1967 BLAKE2B 6c0d9471ffb0d0e1ddbcab410042d136e5d23455a97e5ed024d027b232001c6e1cfd1aefdc7bc4039004d695ed69649e8695b59418a186a921696666929124f6 SHA512 1cd12292d1918822e668961c233a7b8ffaea9216e64618c903666dc0fcf34f3858bceb3dad3cd2ae7193134b6f303efec57a14fa05a4f0e12d1cacec7c76f4e1
EBUILD libbluray-9999.ebuild 1967 BLAKE2B 6c0d9471ffb0d0e1ddbcab410042d136e5d23455a97e5ed024d027b232001c6e1cfd1aefdc7bc4039004d695ed69649e8695b59418a186a921696666929124f6 SHA512 1cd12292d1918822e668961c233a7b8ffaea9216e64618c903666dc0fcf34f3858bceb3dad3cd2ae7193134b6f303efec57a14fa05a4f0e12d1cacec7c76f4e1
MISC metadata.xml 541 BLAKE2B 5a2652471709a6c8784f756ad2d5c9bbfd1611637fede987c298e1b4588ddab74346ac0d607c36bc3fa662a1e80287d2dd9963019b52daad9cd3ac2f0ecff02f SHA512 70349aab49af818166f114ed16c0eaf4264e548e8f204d636da57086b68a17f42a6b119a2533a5fb9f6a60dc3c3a9948910536f4eaecb1a75e682d439b12d558
diff --git a/media-libs/libbluray/libbluray-1.3.3.ebuild b/media-libs/libbluray/libbluray-1.3.3.ebuild
new file mode 100644
index 000000000000..9d617a0039d2
--- /dev/null
+++ b/media-libs/libbluray/libbluray-1.3.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV#9999} != ${PV} ]] ; then
+ inherit git-r3
+ 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"
+fi
+
+inherit autotools java-pkg-opt-2 multilib-minimal
+
+DESCRIPTION="Blu-ray playback libraries"
+HOMEPAGE="https://www.videolan.org/developers/libbluray.html"
+
+LICENSE="LGPL-2.1"
+SLOT="0/2"
+IUSE="aacs bdplus +fontconfig java +truetype utils +xml"
+
+RDEPEND="
+ dev-libs/libudfread[${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}] )
+ java? ( >=virtual/jre-1.8:* )
+ truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
+ xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+ ${RDEPEND}
+ java? ( >=virtual/jdk-1.8:* )
+"
+BDEPEND="
+ virtual/pkgconfig
+ java? (
+ dev-java/ant-core
+ >=virtual/jdk-1.8:*
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-jars.patch
+)
+
+DOCS=( ChangeLog README.md )
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+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) \
+ $(use_with xml libxml2)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ multilib_is_native_abi || return
+
+ use utils &&
+ find .libs/ -type f -executable ! -name "${PN}.*" \
+ $(use java || echo '! -name bdj_test') -exec dobin {} +
+
+ use java && java-pkg_regjar "${ED}"/usr/share/${PN}/lib/*.jar
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ find "${ED}" -name '*.la' -delete || die
+}