summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-10-06 11:15:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-10-06 11:15:47 +0200
commit731b168797fbf9f80905f6ba074e7822c0632832 (patch)
tree4d8f7c84a6e770db2af0ce604b650fa4ce896095 /media-libs/libbluray
parentmedia-libs/libbluray: remove old. (diff)
downloadgentoo-731b168797fbf9f80905f6ba074e7822c0632832.tar.gz
gentoo-731b168797fbf9f80905f6ba074e7822c0632832.tar.bz2
gentoo-731b168797fbf9f80905f6ba074e7822c0632832.zip
media-libs/libbluray: Bump to 0.9.0.
Package-Manager: portage-2.2.22
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r--media-libs/libbluray/Manifest1
-rw-r--r--media-libs/libbluray/libbluray-0.9.0.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest
index 64ba7ec423db..5fad57fc6f7a 100644
--- a/media-libs/libbluray/Manifest
+++ b/media-libs/libbluray/Manifest
@@ -1,2 +1,3 @@
DIST libbluray-0.6.2.tar.bz2 582227 SHA256 8ca410c8a4a1e2e8344014a67e2c908182cff3e04ece4e3b9ef196cf6bca5cd0 SHA512 20fbc5f34d7d025efaac1b6398c18b94b603a52bfb6dd0f021059d3bd4c3cf785e715698cd09e5d1c97a7ed11bbd146b29aa363650620eef1efca08053fc033a WHIRLPOOL 5e69fe4042d709677635fdc6569a2b14a34ff93ef672b3138bffde3a492ca5b38d960ed3bec814444b5dc4b4491f108ed50d64c2c8d956164dfedd0a43b8f506
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
diff --git a/media-libs/libbluray/libbluray-0.9.0.ebuild b/media-libs/libbluray/libbluray-0.9.0.ebuild
new file mode 100644
index 000000000000..805d248c84dc
--- /dev/null
+++ b/media-libs/libbluray/libbluray-0.9.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools java-pkg-opt-2 flag-o-matic eutils multilib-minimal
+
+DESCRIPTION="Blu-ray playback libraries"
+HOMEPAGE="http://www.videolan.org/developers/libbluray.html"
+SRC_URI="http://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+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() {
+ 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() {
+ local myconf
+ if multilib_is_native_abi && use java; then
+ export JAVACFLAGS="$(java-pkg_javac-args)"
+ append-cflags "$(java-pkg_get-jni-cflags)"
+ myconf="--enable-bdjava"
+ else
+ myconf="--disable-bdjava"
+ fi
+
+ ECONF_SOURCE="${S}" econf \
+ --disable-optimizations \
+ $(multilib_native_use_enable utils examples) \
+ $(use_with fontconfig) \
+ $(use_with truetype freetype) \
+ $(use_enable static-libs static) \
+ $(use_with xml libxml2) \
+ ${myconf}
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ if multilib_is_native_abi && use utils; then
+ dobin index_dump mobj_dump mpls_dump
+ cd .libs/
+ dobin 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-${PV}.jar
+ doenvd "${FILESDIR}"/90${PN}
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}