summaryrefslogtreecommitdiff
path: root/media-libs/libbluray
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libbluray
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libbluray')
-rw-r--r--media-libs/libbluray/Manifest10
-rw-r--r--media-libs/libbluray/libbluray-0.9.3.ebuild91
-rw-r--r--media-libs/libbluray/libbluray-1.0.0.ebuild91
-rw-r--r--media-libs/libbluray/libbluray-1.0.1.ebuild90
-rw-r--r--media-libs/libbluray/libbluray-9999.ebuild91
-rw-r--r--media-libs/libbluray/metadata.xml15
6 files changed, 388 insertions, 0 deletions
diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest
new file mode 100644
index 000000000000..bf2620ea23b9
--- /dev/null
+++ b/media-libs/libbluray/Manifest
@@ -0,0 +1,10 @@
+DIST libbluray-0.9.3.tar.bz2 722686 SHA256 a6366614ec45484b51fe94fcd1975b3b8716f90f038a33b24d59978de3863ce0 SHA512 1e308b85c51d43b23b186fdd2631f963d4c25de8aff29f335e131b32a175434ee21460a7aa470c508ad13662cf9052649bb4eb974dbd709eb9e6797fb84e0823 WHIRLPOOL b121e75b68738c057ea3e5240523ca2c427c60436e3f12b5ed0817a673ec26573ea45d5d788e464f234eaa254fadcd583b81c2d30970131e2b5eb46b4c279632
+DIST libbluray-1.0.0.tar.bz2 713973 SHA256 f7e3add335c7bbef45824fcd2249a9bf293868598c13f8479352c44ec95374cc SHA512 fcf2193c3b76f3436bc88ce8853cac16f29c3bb6c66447109c14202a41ea938cb6814502a8f724fb1b31add6bd36b42d3aed3eb4a8010c123537e073bd7a0be1 WHIRLPOOL 333d100a8a7214277f07f763b2e41df0289cec4e3f7a713c562e225328b0379996fa5acb716b8e5d365f842a065b9a010ec617dc72c1a018556ff9d06ab65dca
+DIST libbluray-1.0.1.tar.bz2 719157 SHA256 0f9f9a1db2f48cafc70ed2596ff3594b597e2027408f5f2be6191c245d67853a SHA512 798d38cc95af87599af5838e5c288f2536a73b33191db8ff3774cf7eb5b835006bea83693f016d47dff551001b98527d8b1f14051f673fb3b28073b820e325d7 WHIRLPOOL 209b3e61b48af5350f952ee595ad6644d36205e9a8fa671c31bddc847f68e6969e3aaff96cc51752c9f54e5dacedf0b1ab1daa5fa508bda8bb85b2e66527878f
+EBUILD libbluray-0.9.3.ebuild 2180 SHA256 b15fc5cbaba988ad9887fef459609e42060d3cd3a4b87ea2a3df46b15d12ecf7 SHA512 19861d642051abbe6ea654eb49586ab852b2393429646783e78d5205f181b783b6fa034adfe11d31c65c6bb154b427dab4a66b62001bb2a9ac72ec92f5989bf2 WHIRLPOOL 8e8c4b4e5c1e5a4217743d0b4769065cde14540e3b782d50484d2b23879374b8738020f13a9b71b852499f5ee04b3683782076c50986f88e7f03ce882064e4d6
+EBUILD libbluray-1.0.0.ebuild 2188 SHA256 ca2959ad07a2bc9a1f78a4a7b96f902c152b06ba821ed04b0d908cef0a6e09b3 SHA512 592ad7ca5f60d9524956bc5b7994c4eeaeaf06fd1b3c45e1f2b7785c8899e4903b37334c2ac1f36146be5aafb00b938889b98a586a05281558b20d1313807554 WHIRLPOOL c30b4270b636e003620b1971233400b4580d9710be8b8a23d240ae5420344aad4b579cdd9157d40ba2cdd72b5fb91a66f2fdfba6ce74c192563a29751ba0aee3
+EBUILD libbluray-1.0.1.ebuild 2173 SHA256 d058ebdbbdcaa2190e7a0438fd0d280ae8b8930cef029c5386b10316817fbca2 SHA512 bbe2f4616cc3384bc3e2c6c7d91c08db2d0a0ff5e52ca1e2cc7e217014a5e603621f05850bdd5cf77808a45f3888feb61f27b4f6290475cd30c49f4dde08d2dc WHIRLPOOL 1f43cfb097b700165481a80ebca72472d94b059e2e3ae427da5dac33105499fd3b8bacda87544fe2a6c3d5a7d791f7e50cfd816c80200cc93e0a243724d3192f
+EBUILD libbluray-9999.ebuild 2195 SHA256 c0a9f11d9ed7a4c86d939b97c4960331e64566fee0a04587bd59a72fb8bafa32 SHA512 f2540db0815f4973942928b5f64d36d1eab34d07cd143eb2b4421e3a81c9be20068dbba1a178f7fd5e16ff371ba3075915be43421ccf306b36ffa65647aed5ce WHIRLPOOL 60b74f72a169890a18b26341419a52fc99b054affd5e6d5266d8b76fae5cc32b3f0526658fc8048d3c0d6f6d56f2e993242bf3daf8789a5022ceaf4097b147d9
+MISC ChangeLog 6077 SHA256 2fc69fe08a62f4c2486b3eea94def6d47583276559d084257d239297dbcdd1ef SHA512 6e5904892dc817c0cfaea48eefa57a6d2e4dee3d2505a649fd39167b3481d9a4eccfab1f7061113af0218a328f0d859c75c6e6262eeb02a9d16454a6838f0684 WHIRLPOOL 96797232852c3ef2a77b32825dc41f521d7884a859cf852a1a8fcc770a7d06359273db0c4bee26480af4abf8ceccd9ba0ffd570c3ae4f9f776342ae2eb517c7f
+MISC ChangeLog-2015 11713 SHA256 b30b4bca0df8cc05459e42bd6c54ddb7cccaecb7dd2ac3550d692ff0de0e3f8e SHA512 6be82909f4e4cf712874db7ca0798e187ea4396fbc82d0b4228220db557f4a720e52f5258920563da4d9228f65896ef0f7b02b29dce64ca27bcedbf24139d208 WHIRLPOOL 2891df94e12e7c959be4b1446052d230f0b69315389817c8e1d3e7719bbe4f967f086eee818fffb8784b33512f054dd869d093a4c7f594b6e7e54b5ecdcf53ac
+MISC metadata.xml 621 SHA256 d8f7718a3aac35c99323ef1cab9456b7fa1139782a240ffc32e586b25a37ba2d SHA512 815b2bdc883bb9e7d9d380d70ebc66f47fde686f9dc466ba2a4a19296f70df52323239bcece1f64dbc98f261c1bb27be7d7066754a253afba037f89c3147f9f5 WHIRLPOOL 7b8123184238eefb9ead4ed3f076a4b20c3db05f33525d03e4765c0ad33e431fadf1af5c46e354c0b1175a677314e3c2b6d692c5a168fa12c47c9a45858346c2
diff --git a/media-libs/libbluray/libbluray-0.9.3.ebuild b/media-libs/libbluray/libbluray-0.9.3.ebuild
new file mode 100644
index 000000000000..960d6e3c9fe2
--- /dev/null
+++ b/media-libs/libbluray/libbluray-0.9.3.ebuild
@@ -0,0 +1,91 @@
+# 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 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
+ SRC_URI="https://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
+fi
+
+inherit autotools java-pkg-opt-2 flag-o-matic eutils multilib-minimal
+
+DESCRIPTION="Blu-ray playback libraries"
+HOMEPAGE="https://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() {
+ default
+
+ 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
+}
diff --git a/media-libs/libbluray/libbluray-1.0.0.ebuild b/media-libs/libbluray/libbluray-1.0.0.ebuild
new file mode 100644
index 000000000000..6cfaec08d3f4
--- /dev/null
+++ b/media-libs/libbluray/libbluray-1.0.0.ebuild
@@ -0,0 +1,91 @@
+# 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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+ SRC_URI="https://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
+fi
+
+inherit autotools java-pkg-opt-2 flag-o-matic eutils 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 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() {
+ default
+
+ 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
+}
diff --git a/media-libs/libbluray/libbluray-1.0.1.ebuild b/media-libs/libbluray/libbluray-1.0.1.ebuild
new file mode 100644
index 000000000000..55324a3f826d
--- /dev/null
+++ b/media-libs/libbluray/libbluray-1.0.1.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://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
+fi
+
+inherit autotools java-pkg-opt-2 flag-o-matic eutils 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
+
+ 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/
+ 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
+}
diff --git a/media-libs/libbluray/libbluray-9999.ebuild b/media-libs/libbluray/libbluray-9999.ebuild
new file mode 100644
index 000000000000..d3f8088310d8
--- /dev/null
+++ b/media-libs/libbluray/libbluray-9999.ebuild
@@ -0,0 +1,91 @@
+# 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://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
+fi
+
+inherit autotools java-pkg-opt-2 flag-o-matic eutils 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 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() {
+ default
+
+ 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
+}
diff --git a/media-libs/libbluray/metadata.xml b/media-libs/libbluray/metadata.xml
new file mode 100644
index 000000000000..e47b6ecc6bef
--- /dev/null
+++ b/media-libs/libbluray/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ <name>Gentoo Video project</name>
+ </maintainer>
+ <use>
+ <flag name="aacs">Add support for decryption of AACS</flag>
+ <flag name="bdplus">Use <pkg>media-libs/libbdplus</pkg> for BD+ decryption</flag>
+ <flag name="java">Add support for BD-J</flag>
+ <flag name="udf">Add UDF (Universal Disk Format) support</flag>
+ <flag name="utils">Install command-line utilities and examples</flag>
+ </use>
+</pkgmetadata>