summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2017-12-09 13:11:39 -0500
committerCraig Andrews <candrews@gentoo.org>2017-12-16 00:40:11 -0500
commit007154e9f09da768ebc42a4ad0e88a650e3bad3f (patch)
tree49df41ae0c975a3a3b93eb135ed4328d996a5a3f
parentmedia-libs/libdvbpsi: 1.3.1 version bump (diff)
downloadgentoo-007154e9f09da768ebc42a4ad0e88a650e3bad3f.tar.gz
gentoo-007154e9f09da768ebc42a4ad0e88a650e3bad3f.tar.bz2
gentoo-007154e9f09da768ebc42a4ad0e88a650e3bad3f.zip
media-libs/libbluray: 1.0.2 version bump
Closes: https://bugs.gentoo.org/640406 Package-Manager: Portage-2.3.17, Repoman-2.3.6
-rw-r--r--media-libs/libbluray/Manifest1
-rw-r--r--media-libs/libbluray/libbluray-1.0.2.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest
index 9e784b646134..364874abafb4 100644
--- a/media-libs/libbluray/Manifest
+++ b/media-libs/libbluray/Manifest
@@ -1,3 +1,4 @@
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
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
+}