Skip to content

Commit

Permalink
media-libs/libbluray: Bring 9999 in sync with latest release
Browse files Browse the repository at this point in the history
The ebuild had fallen behind.

Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
chewi committed Sep 21, 2018
1 parent 87b9431 commit 9027bbe
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions media-libs/libbluray/libbluray-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ else
SRC_URI="https://downloads.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
fi

inherit autotools java-pkg-opt-2 flag-o-matic eutils multilib-minimal
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 udf utils +xml"
IUSE="aacs bdplus +fontconfig java static-libs +truetype utils +xml"

COMMON_DEPEND="
xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )
Expand All @@ -44,7 +44,7 @@ DOCS=( ChangeLog README.txt )

src_prepare() {
default

unset JDK_HOME #621992
if use java ; then
export JDK_HOME="$(java-config -g JAVA_HOME)"

Expand All @@ -61,19 +61,18 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--disable-optimizations \
$(multilib_native_use_enable utils examples) \
$(multilib_native_use_enable java bdjava) \
$(multilib_native_use_enable java bdjava-jar) \
$(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/
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
Expand All @@ -87,5 +86,5 @@ multilib_src_install() {

multilib_src_install_all() {
einstalldocs
prune_libtool_files
find "${D}" -name '*.la' -delete || die
}

0 comments on commit 9027bbe

Please sign in to comment.