diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /media-libs/libbluray | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r-- | media-libs/libbluray/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libbluray/libbluray-1.2.0.ebuild | 88 |
2 files changed, 90 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index 46a945ab548f..ab45b24bd1e6 100644 --- a/media-libs/libbluray/Manifest +++ b/media-libs/libbluray/Manifest @@ -1,5 +1,7 @@ AUX libbluray-jars.patch 1371 BLAKE2B 1c32115ec03db19b849248bcdbe4b9868527717b279d9222ad94bf4c3875522db75ba585566b0609d1a27cbd4e25066832b19351acf05f5b00295ed5364c2984 SHA512 2b376149680edf6891f2129de2fc074dfc32a236d8eb19b3d899e1f7d3ac98eaf8cdf6e13c7b548ab59354c558e2c149f06d85c1c5be61c5e05cc5ec4382d86d DIST libbluray-1.1.2.tar.bz2 745779 BLAKE2B 04803f67d9b0732df54e85d960539280ce26755c5874ae90cc8d787036ad279fca8c508695ea0607eed1183eea7b0be9326999dda473dc864fa4da131a27af40 SHA512 5a82af6c1840a1dcb31d06d90203c68e2c4f0bbadc9212eb0bb2776d42b0ab3793a769ebe07b3051be151e8b15876874d5a0658292f72b7126dd915a1ada3fe7 +DIST libbluray-1.2.0.tar.bz2 747265 BLAKE2B d9f0d1c321faa9008431b17aecba495e44d2795cea2973f9772b5be2c0193af53e3c947b9dd0b2d4d22c4085e163461252f895618e98491184d85eb7fbf5bd54 SHA512 d10413b6b86ff2d2e7c4b0103546f2142727cc5209ddb7b227aa74e27384f2e0b9abee37bf8ccc5b0cdfcaeebfb0669cf20903a247df278a8ad6dbd27469d324 EBUILD libbluray-1.1.2.ebuild 2015 BLAKE2B 7868fbdee506dfe595682abe6c973f25b01738372b7d993a6ed5fba63b23cee19edc1346ef222fe867c4b40275dd7461c567e2f9fe35651ecafe50a78f4e451f SHA512 4ffd3f4ee84ac1302c4a1c1f3d1fe965db06f6c1dd4ef57b607b5284ec2f3cbd2a2a15b9b67141600b409d610785258c96d6048cc90690f646b7cfa6c1f230cd +EBUILD libbluray-1.2.0.ebuild 2022 BLAKE2B 1a36cc160a632da7342e1b6b8d5fbcccd2f44053a7edefe1a68459d5a1470026a3e5a0788dbc09447eddf542e3f26d76d67f9025eb05d027848899f2c3aa3ad6 SHA512 3a8282cee39504ca4eee2e6f0748e603806010fdb6887a10dfa1e78ebe64c940185106d25df845f6f2c1bac00243393fab83c56a8c1c8f92db37097573b008d6 EBUILD libbluray-9999.ebuild 2022 BLAKE2B e4809bc9c8afb1eca5917ebd4958c6d60133e5a4cb75971f6def95432cc1d055674ab91515ecf1df74b9b2797d54be9afbc1ca1bb25f60a7c0547676f071c1ae SHA512 9ebfd3ca32b2bdfb487714c382e73263c916803a1d25d5c01efd03dfeb8a0c8c929c3b6a0b86209c068ed45480ed09a32489b56bb852addcc39d95f15805a294 MISC metadata.xml 540 BLAKE2B 1385b09e4a4a1a2ffe572ca02cc50ae5808a2d283841128258a906742ab8fd67d48b1a677d601990d84a587cc18e9ae68409bf6e9af40e084c05da6f73988aef SHA512 181c79234a6c7a88d6df5b8e2de071fd7746505b153a1f2d92c4d6bffb95cbfaa3f276656b95786e02bc7c097d1fdce65afcc953c569bd82639707c843b1e575 diff --git a/media-libs/libbluray/libbluray-1.2.0.ebuild b/media-libs/libbluray/libbluray-1.2.0.ebuild new file mode 100644 index 000000000000..a977ea88e85f --- /dev/null +++ b/media-libs/libbluray/libbluray-1.2.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ "${PV#9999}" != "${PV}" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://code.videolan.org/videolan/libbluray.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://downloads.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2" +fi + +inherit autotools java-pkg-opt-2 flag-o-matic 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 static-libs +truetype utils +xml" + +COMMON_DEPEND=" + xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] ) + fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${COMMON_DEPEND} + aacs? ( >=media-libs/libaacs-0.6.0[${MULTILIB_USEDEP}] ) + bdplus? ( media-libs/libbdplus[${MULTILIB_USEDEP}] ) + java? ( >=virtual/jre-1.6 ) +" +DEPEND=" + ${COMMON_DEPEND} + java? ( >=virtual/jdk-1.6 ) +" +BDEPEND=" + java? ( + >=virtual/jdk-1.6 + dev-java/ant-core + ) + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-jars.patch +) + +DOCS=( + ChangeLog + README.txt +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + use java || unset JDK_HOME # Bug #621992. + + 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_enable static-libs static) \ + $(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 "${D}" -name '*.la' -delete || die +} |