From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D8031138BED for ; Tue, 6 Oct 2015 09:16:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5D94E0782; Tue, 6 Oct 2015 09:16:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E7A6E0782 for ; Tue, 6 Oct 2015 09:16:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE98B340885 for ; Tue, 6 Oct 2015 09:16:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75AD6A72 for ; Tue, 6 Oct 2015 09:16:02 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1444122947.731b168797fbf9f80905f6ba074e7822c0632832.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libbluray/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libbluray/Manifest media-libs/libbluray/libbluray-0.9.0.ebuild X-VCS-Directories: media-libs/libbluray/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 731b168797fbf9f80905f6ba074e7822c0632832 X-VCS-Branch: master Date: Tue, 6 Oct 2015 09:16:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2779e87f-479f-44c1-bf0f-151a3c858329 X-Archives-Hash: 065abf4a6b282e0f9d9883fdae7cdaee commit: 731b168797fbf9f80905f6ba074e7822c0632832 Author: Alexis Ballier gentoo org> AuthorDate: Tue Oct 6 09:15:47 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Oct 6 09:15:47 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731b1687 media-libs/libbluray: Bump to 0.9.0. Package-Manager: portage-2.2.22 media-libs/libbluray/Manifest | 1 + media-libs/libbluray/libbluray-0.9.0.ebuild | 94 +++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/media-libs/libbluray/Manifest b/media-libs/libbluray/Manifest index 64ba7ec..5fad57f 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 0000000..805d248 --- /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 +}