diff options
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r-- | media-libs/libbluray/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libbluray/libbluray-1.3.0-r1.ebuild | 83 | ||||
-rw-r--r-- | media-libs/libbluray/libbluray-9999.ebuild | 31 |
3 files changed, 99 insertions, 19 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index b14e9131619e..19a71f8c8ddd 100644 --- a/media-libs/libbluray/Manifest +++ b/media-libs/libbluray/Manifest @@ -1,7 +1,9 @@ AUX libbluray-jars.patch 1371 BLAKE2B 1c32115ec03db19b849248bcdbe4b9868527717b279d9222ad94bf4c3875522db75ba585566b0609d1a27cbd4e25066832b19351acf05f5b00295ed5364c2984 SHA512 2b376149680edf6891f2129de2fc074dfc32a236d8eb19b3d899e1f7d3ac98eaf8cdf6e13c7b548ab59354c558e2c149f06d85c1c5be61c5e05cc5ec4382d86d DIST libbluray-1.2.0.tar.bz2 747265 BLAKE2B d9f0d1c321faa9008431b17aecba495e44d2795cea2973f9772b5be2c0193af53e3c947b9dd0b2d4d22c4085e163461252f895618e98491184d85eb7fbf5bd54 SHA512 d10413b6b86ff2d2e7c4b0103546f2142727cc5209ddb7b227aa74e27384f2e0b9abee37bf8ccc5b0cdfcaeebfb0669cf20903a247df278a8ad6dbd27469d324 DIST libbluray-1.2.1.tar.bz2 751063 BLAKE2B af353e03a70b0202776c2190d927506225bbe1147fe5bfb19039839f5d82d0beb4fd7c2813a9ce10a2bc6f9d07e2a2080b54f1442e02e5f8e72564a5bcaf0a2a SHA512 e9eeee433034266e88c05ae3469c0bd2bf700d7f16e17ad706f48426c143c823e83c16ab79a637f1e85e4eb858aa0577630671f87ba35d179db2a1d8bc8545c4 +DIST libbluray-1.3.0.tar.bz2 754069 BLAKE2B d4c699ce28d2e5b1d4dda461a1359d3a446afe72368e9d76066ca4d5c49d1f24b4bcec307608d96913d0c668168a86267416b9db37ad942628c2926b79ec47d9 SHA512 3d5145e6fd7de099c07f937282112c7abb12a5590b7c0b965b00bddee3837ddfd1a30076aaa6d6278d07a5beee3856f602125983ae075ab30eceb6ac1bd9bcdc EBUILD libbluray-1.2.0.ebuild 2056 BLAKE2B 812ebe0d1aaab6226efa607b79bf8c04f792f7261900b5dcb0a4024b3bfa16d5fe688422bfd3503cd7dc79364bfcad3342d5aaed7bfdbe6abcd429f85607aca9 SHA512 de7cb76efd10b6a5ef3e906bb17c78fbec7bff47d11bf20073b8316e70d6938b8dd87f9aac1f7c7433fe0689c4ea5122848e22901fbe3a46bc9b48c3295ad05d EBUILD libbluray-1.2.1.ebuild 2022 BLAKE2B 8c0219e09ebd99b7184e13c36530721479c996c213cebe6990cad3172f152365c141c3e6046d31c6315e97313c1486732f8c855001353a6493aff52ac3e0b57e SHA512 682887926431df5790ef7c1a01a7a91a47100852184ce4d98b80bb9396a268fcb5918ff47b67906d94cdba83463bf73bba95e5a149a33408423546e36c5a59fe -EBUILD libbluray-9999.ebuild 2022 BLAKE2B e4809bc9c8afb1eca5917ebd4958c6d60133e5a4cb75971f6def95432cc1d055674ab91515ecf1df74b9b2797d54be9afbc1ca1bb25f60a7c0547676f071c1ae SHA512 9ebfd3ca32b2bdfb487714c382e73263c916803a1d25d5c01efd03dfeb8a0c8c929c3b6a0b86209c068ed45480ed09a32489b56bb852addcc39d95f15805a294 +EBUILD libbluray-1.3.0-r1.ebuild 2026 BLAKE2B 8b8f85f69de138fc2ce2d3e3ecaaa9ccd0d79dc1dcff733653f5d5753e549842eef35d7209463becf588773f7a3a9ffc0644857490aada84990f0e3baa65e8ba SHA512 0a0f35bbae2bd34f7296e0f073819be0794e39e73bf1277a8cdaea07984f749f426829eba911b0b5d9274a8b47f44ead1ae5186ab1dd1ad4f77255071bb0efaf +EBUILD libbluray-9999.ebuild 2007 BLAKE2B 478fd75959be666b511ca485c1bceea124b70282273dcdb687c9ae1e6b98d0bc6c7e92fa0ccbb020a29370202c248dc7ec1a0b2b5eaf4269714db18cae12344f SHA512 5a168560da9a4db8f929596176889e3ac7d6ea34c9c9ca2f39f37550909e45502976933d08456dcfe67c815a41564105321aa5f3bfde5e4f52680814b45590f6 MISC metadata.xml 540 BLAKE2B 1385b09e4a4a1a2ffe572ca02cc50ae5808a2d283841128258a906742ab8fd67d48b1a677d601990d84a587cc18e9ae68409bf6e9af40e084c05da6f73988aef SHA512 181c79234a6c7a88d6df5b8e2de071fd7746505b153a1f2d92c4d6bffb95cbfaa3f276656b95786e02bc7c097d1fdce65afcc953c569bd82639707c843b1e575 diff --git a/media-libs/libbluray/libbluray-1.3.0-r1.ebuild b/media-libs/libbluray/libbluray-1.3.0-r1.ebuild new file mode 100644 index 000000000000..7e8ef811ae39 --- /dev/null +++ b/media-libs/libbluray/libbluray-1.3.0-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 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" + +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.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 "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/libbluray/libbluray-9999.ebuild b/media-libs/libbluray/libbluray-9999.ebuild index e0edf9695213..6781e565d5d8 100644 --- a/media-libs/libbluray/libbluray-9999.ebuild +++ b/media-libs/libbluray/libbluray-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,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" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" SRC_URI="https://downloads.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2" fi @@ -20,37 +20,32 @@ 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} + dev-libs/libudfread[${MULTILIB_USEDEP}] aacs? ( >=media-libs/libaacs-0.6.0[${MULTILIB_USEDEP}] ) bdplus? ( media-libs/libbdplus[${MULTILIB_USEDEP}] ) - java? ( >=virtual/jre-1.6 ) + 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=" - ${COMMON_DEPEND} - java? ( >=virtual/jdk-1.6 ) + ${RDEPEND} + java? ( >=virtual/jdk-1.8:* ) " BDEPEND=" + virtual/pkgconfig java? ( - >=virtual/jdk-1.6 dev-java/ant-core + >=virtual/jdk-1.8:* ) - virtual/pkgconfig " PATCHES=( "${FILESDIR}"/${PN}-jars.patch ) -DOCS=( - ChangeLog - README.txt -) +DOCS=( ChangeLog README.txt ) src_prepare() { default @@ -84,5 +79,5 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs - find "${D}" -name '*.la' -delete || die + find "${ED}" -name '*.la' -delete || die } |