diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
commit | 9bd54251864651f49e673a08aec9ef79cfe08f04 (patch) | |
tree | bac28788ab54849c5d28edb190a687167737e736 /media-libs/libbluray | |
parent | 6b933047f46efec1aa747570f945344254227457 (diff) |
gentoo resync : 17.12.2017
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r-- | media-libs/libbluray/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libbluray/libbluray-1.0.2.ebuild | 90 |
2 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index 8498111e1e7e..d84e67ee4771 100644 --- a/media-libs/libbluray/Manifest +++ b/media-libs/libbluray/Manifest @@ -1,8 +1,10 @@ DIST libbluray-0.9.3.tar.bz2 722686 BLAKE2B c8177b94b407c514de1b1ba3d19c9a50d0d1f364ad720a9cca06d0ff1e17408b607578bdef3fe6ba731ded477dddbbadbc9c91dfb659c05f5943e3656e04408e SHA512 1e308b85c51d43b23b186fdd2631f963d4c25de8aff29f335e131b32a175434ee21460a7aa470c508ad13662cf9052649bb4eb974dbd709eb9e6797fb84e0823 DIST libbluray-1.0.0.tar.bz2 713973 BLAKE2B 9a95a138a25a97ee08ddf91aff2d267c3608de7a672f5626536841b453d215808936fe7cc0213489e0907f65364f7cc69462e01a76061acdfc3a3a12762ccb3a SHA512 fcf2193c3b76f3436bc88ce8853cac16f29c3bb6c66447109c14202a41ea938cb6814502a8f724fb1b31add6bd36b42d3aed3eb4a8010c123537e073bd7a0be1 DIST libbluray-1.0.1.tar.bz2 719157 BLAKE2B 0c44e979b38c8d4614da3bd302334566515496b8d16578e315612ea95a0d7481e4d453ee634e0c7f0c6dd40a058f23a58432c49bd417cebf59c8d28f0fda8c4b SHA512 798d38cc95af87599af5838e5c288f2536a73b33191db8ff3774cf7eb5b835006bea83693f016d47dff551001b98527d8b1f14051f673fb3b28073b820e325d7 +DIST libbluray-1.0.2.tar.bz2 733058 BLAKE2B 6428b3cb8a2339e2c2d7f86663d6917d8484b858fb03aaf3bda6824181d072050625d37280cf011574c07316ef83103b334f654de1a6219e3a33343532cfe986 SHA512 e1360ad08aa6cc67a80efa81a09004faebbe31105f1961494f82f655e3e7378b198ee3bc534b0d0c2bfec726939b11b545cc8bbfa30794fc647432dadf71089b EBUILD libbluray-0.9.3.ebuild 2186 BLAKE2B 811d0c37422c0a9425084573f25c19be5a272a88654a227338029de63b4217a6ffe644cd88e45410fd66cd810d1931130e973ce839e8721ab3214710890ec1db SHA512 e2fa9e014338231de6f2811439f88bc861a8765eac08e25121c3200307d01dd478a537b368dd4b9a28966d4f3b2fe73f2d451369dacde8ef441400c0add68629 EBUILD libbluray-1.0.0.ebuild 2194 BLAKE2B 16b08e28b74eb2d8635092ab2a02d2225d8d69b0b100346170abef947f2a56cb3a3aba7e8a52307c0781e11b74b35ec13b11e15bf2b2e78f46c3481e7ce57976 SHA512 33d28c33eb451f6360426efcde049a9250bcc8ed63e35132f37517bc1630e9c95d189b40fc69ae642e5444ed19bd9a19f4521a92bdaa2640c62fbad8c0060952 EBUILD libbluray-1.0.1.ebuild 2202 BLAKE2B 486111965f4623e1f9b894f4533276c3e626a1152cbfb4ca0417bab5c4fc11489a7e564b6724123312bb7759e711db945cdbd4f508a0bef77df94ab65ea60353 SHA512 d6666bcc3db0d2c0407b364eccfda76710da9fb66710e93bb71707e4a5ea5941b7bcca4d06a1afa4273d20e1224496f8b60f2106f35ccfe6121efd25d1aae896 +EBUILD libbluray-1.0.2.ebuild 2222 BLAKE2B f4e1d609b4f74a4504fb02e4828ed1330c942f616a89b42ef589259e31890756fbc6b70129ba4a8f4e322041142d5469bc2eb454ea474d5e7e92bbb20367b2b7 SHA512 c1a5be48481ce60e6b6ffbd2597703ebbabc383a283f6028df586024da94ad0361c8e3e2ac8d6ad34e9c3c2b608b9eb6b5528c47d61a85b6172c4261ef299d96 EBUILD libbluray-9999.ebuild 2201 BLAKE2B 161cdc3be5991a0462a1d4fd90d361032d44e8d6c21ab4166e2db49698803b7a561a1e5f78c5dbcd95708658b46e33a968c78d0f4466387833eeb02afdde8451 SHA512 a3d54041b72299fa25da8c4ec957f77aff6f8b4f1c0be1d775172fdbf6162bcd51c36275e16b71951f1e6f267bd12bc799a99b87f97a723b74aad7522da7b81a MISC metadata.xml 606 BLAKE2B f492e640b388b4aadaad89a5e282f3c09044baee74d8698b57c554d0cef6c99ebb64c13aaefbc0d4e2dabd3d5d4c0942465ed4ed2d4d439734f6c9ad55307ade SHA512 649b1a57ebffc011f011a0adc13b3d9a04a43f74dd9e24e4a233de59cd7fa0408ab14b67db21618e1c3e7cd7d78300b181dd22f4110ced4cf4ca12ce0c4951bb diff --git a/media-libs/libbluray/libbluray-1.0.2.ebuild b/media-libs/libbluray/libbluray-1.0.2.ebuild new file mode 100644 index 000000000000..20254bb5fbc2 --- /dev/null +++ b/media-libs/libbluray/libbluray-1.0.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ "${PV#9999}" != "${PV}" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.videolan.org/git/libbluray.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + 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 + dev-java/ant-core + ) + virtual/pkgconfig +" + +DOCS=( ChangeLog README.txt ) + +src_prepare() { + default + unset JDK_HOME #621992 + if use java ; then + export JDK_HOME="$(java-config -g JAVA_HOME)" + + # don't install a duplicate jar file + sed -i '/^jar_DATA/d' Makefile.am || die + + java-pkg-opt-2_src_prepare + fi + + eautoreconf +} + +multilib_src_configure() { + 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 + + if multilib_is_native_abi && use utils; then + cd .libs/ || die + dobin index_dump mobj_dump mpls_dump bd_info bdsplice clpi_dump hdmv_test libbluray_test list_titles sound_dump + if use java; then + dobin bdj_test + fi + fi + + if multilib_is_native_abi && use java; then + java-pkg_dojar "${BUILD_DIR}"/.libs/${PN}-j2se-*.jar + fi +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} |