diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-12-03 10:51:58 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-12-03 10:51:58 +0100 |
commit | 456be8e4b55c199d467710e8754fca1ac56af311 (patch) | |
tree | 04bb366494d5dbb97bec23fff53dea854d90539e /media-libs | |
parent | media-libs/libbluray: stop installing env.d file that points to wrong .jar fi... (diff) | |
download | gentoo-456be8e4b55c199d467710e8754fca1ac56af311.tar.gz gentoo-456be8e4b55c199d467710e8754fca1ac56af311.tar.bz2 gentoo-456be8e4b55c199d467710e8754fca1ac56af311.zip |
media-libs/libbluray: bump to 0.9.2
Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libbluray/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libbluray/libbluray-0.9.2.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index 419d052a3ef6..6ed3d5869e86 100644 --- a/media-libs/libbluray/Manifest +++ b/media-libs/libbluray/Manifest @@ -2,3 +2,4 @@ DIST libbluray-0.6.2.tar.bz2 582227 SHA256 8ca410c8a4a1e2e8344014a67e2c908182cff DIST libbluray-0.8.1.tar.bz2 623402 SHA256 cdbec680c5bbc2251de6ccd109cf5f798ea51db6fcb938df39283be1799efb8f SHA512 6618e01a567f0dc5d21302fc771d4155589c81703028b76f6090a2d12ef1c7e9d08d9c79312a7c8b2ca0d6c63ce980195f0866509a4f8f05f64ed6650c7f78dc WHIRLPOOL 899ffe320997d245ed76987993d7d7e1697fcea61474ad7fb664c0c519d2c6578344986e22a9fe7d23d7c458525f6effff68718619334916fbe42cccb6c5c801 DIST libbluray-0.9.0.tar.bz2 624614 SHA256 84b61da9202fa724a76ac885af69df16a5583eb11d43e940dc201833bbfd694d SHA512 12db8b9ace0629158c1ce0e5447fc154609e9f78c55ff7d830c7ee38ccafa9824bfcdbe622d7e13e8c6d74205ae648ccf2e7c7b756692acc27e48fe9e2cc95ec WHIRLPOOL 7b8191bf0adcd1c612662a9bf66d2f94ba43bda1bd5a23425aee85b486aced4c0edf0f720a17361640f7982e5794bd531bfc9efa45e883495be4acd9ae42b8cc DIST libbluray-0.9.1.tar.bz2 703068 SHA256 d9647fa55802907b33d85e9ffcc6d97e3133490f3721afd649d9b361c42f3940 SHA512 78a768d26454067f904e0c15717e81bbce624f8e13d1e8a8e84611a4fc29191860640b86633ad9611cc461d9ee84472d3388fc2429d302d87908e3900898c5a1 WHIRLPOOL 788f5714689cf08798149860a450a17b0b6abb717bfb6e0fce805c90592e01ffbb15da621c6ee2317dde88379619bb678a930ebb1c2234ac139b08fc7be0ab73 +DIST libbluray-0.9.2.tar.bz2 704357 SHA256 efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea SHA512 f7fda2ef4c0ec70eb9a38aed0e76d21d8784410cb13713e7ee66ecd23a1cc58325977b046d40c526554a4a4e4cf96706a233e15451bf34892aff201b47e25aef WHIRLPOOL 96716027cd8d62c55cdde4f05d8a3c2023c30231ae86ca3231abc52db66e8a4b7338ea3ca871cfc971b83104875429c6d4058d132c488aed09d6d50eb9b4afb1 diff --git a/media-libs/libbluray/libbluray-0.9.2.ebuild b/media-libs/libbluray/libbluray-0.9.2.ebuild new file mode 100644 index 000000000000..768289ccb938 --- /dev/null +++ b/media-libs/libbluray/libbluray-0.9.2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [ "${PV#9999}" != "${PV}" ] ; then + VCSECLASS="git-r3" + KEYWORDS="" + EGIT_REPO_URI="git://git.videolan.org/libbluray.git" + SRC_URI="" +else + VCSECLASS="" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + SRC_URI="http://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2" +fi + +inherit autotools ${VCSECLASS} java-pkg-opt-2 flag-o-matic eutils multilib-minimal + +DESCRIPTION="Blu-ray playback libraries" +HOMEPAGE="http://www.videolan.org/developers/libbluray.html" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="aacs bdplus +fontconfig java static-libs +truetype udf 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() { + 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) \ + $(use_with fontconfig) \ + $(use_with truetype freetype) \ + $(use_enable static-libs static) \ + $(use_enable udf) \ + $(use_with xml libxml2) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use utils; then + cd .libs/ + 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 + prune_libtool_files +} |