Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libbluray: ChangeLog libbluray-0.8.1.ebuild
Date: Mon, 01 Jun 2015 08:33:24
Message-Id: 20150601083318.7B1ECA19@oystercatcher.gentoo.org
1 aballier 15/06/01 08:33:18
2
3 Modified: ChangeLog
4 Added: libbluray-0.8.1.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: Alexis Ballier <aballier@g.o>
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.78 media-libs/libbluray/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libbluray/ChangeLog?rev=1.78&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libbluray/ChangeLog?rev=1.78&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libbluray/ChangeLog?r1=1.77&r2=1.78
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/libbluray/ChangeLog,v
21 retrieving revision 1.77
22 retrieving revision 1.78
23 diff -u -r1.77 -r1.78
24 --- ChangeLog 17 May 2015 20:07:55 -0000 1.77
25 +++ ChangeLog 1 Jun 2015 08:33:18 -0000 1.78
26 @@ -1,6 +1,11 @@
27 # ChangeLog for media-libs/libbluray
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libbluray/ChangeLog,v 1.77 2015/05/17 20:07:55 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libbluray/ChangeLog,v 1.78 2015/06/01 08:33:18 aballier Exp $
31 +
32 +*libbluray-0.8.1 (01 Jun 2015)
33 +
34 + 01 Jun 2015; Alexis Ballier <aballier@g.o> +libbluray-0.8.1.ebuild:
35 + version bump
36
37 17 May 2015; Pacho Ramos <pacho@g.o> libbluray-0.6.2.ebuild:
38 ppc64 stable wrt bug #526004
39
40
41
42 1.1 media-libs/libbluray/libbluray-0.8.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libbluray/libbluray-0.8.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libbluray/libbluray-0.8.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libbluray-0.8.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libbluray/libbluray-0.8.1.ebuild,v 1.1 2015/06/01 08:33:18 aballier Exp $
52
53 EAPI=5
54
55 inherit autotools java-pkg-opt-2 flag-o-matic eutils multilib-minimal
56
57 DESCRIPTION="Blu-ray playback libraries"
58 HOMEPAGE="http://www.videolan.org/developers/libbluray.html"
59 SRC_URI="http://ftp.videolan.org/pub/videolan/libbluray/${PV}/${P}.tar.bz2"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
64 IUSE="aacs bdplus +fontconfig java static-libs +truetype utils +xml"
65
66 COMMON_DEPEND="
67 xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )
68 fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
69 truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
70 "
71 RDEPEND="
72 ${COMMON_DEPEND}
73 aacs? ( >=media-libs/libaacs-0.6.0[${MULTILIB_USEDEP}] )
74 bdplus? ( media-libs/libbdplus[${MULTILIB_USEDEP}] )
75 java? ( >=virtual/jre-1.6 )
76 "
77 DEPEND="
78 ${COMMON_DEPEND}
79 java? (
80 >=virtual/jdk-1.6
81 dev-java/ant-core
82 )
83 virtual/pkgconfig
84 "
85
86 DOCS=( ChangeLog README.txt )
87
88 src_prepare() {
89 if use java ; then
90 export JDK_HOME="$(java-config -g JAVA_HOME)"
91
92 # don't install a duplicate jar file
93 sed -i '/^jar_DATA/d' Makefile.am || die
94
95 java-pkg-opt-2_src_prepare
96 fi
97
98 eautoreconf
99 }
100
101 multilib_src_configure() {
102 local myconf
103 if multilib_is_native_abi && use java; then
104 export JAVACFLAGS="$(java-pkg_javac-args)"
105 append-cflags "$(java-pkg_get-jni-cflags)"
106 myconf="--enable-bdjava"
107 else
108 myconf="--disable-bdjava"
109 fi
110
111 ECONF_SOURCE="${S}" econf \
112 --disable-optimizations \
113 $(multilib_native_use_enable utils examples) \
114 $(use_with fontconfig) \
115 $(use_with truetype freetype) \
116 $(use_enable static-libs static) \
117 $(use_with xml libxml2) \
118 ${myconf}
119 }
120
121 multilib_src_install() {
122 emake DESTDIR="${D}" install
123
124 if multilib_is_native_abi && use utils; then
125 dobin index_dump mobj_dump mpls_dump
126 cd .libs/
127 dobin bd_info bdsplice clpi_dump hdmv_test libbluray_test list_titles sound_dump
128 if use java; then
129 dobin bdj_test
130 fi
131 fi
132
133 if multilib_is_native_abi && use java; then
134 java-pkg_dojar "${BUILD_DIR}"/.libs/${PN}-j2se-${PV}.jar
135 doenvd "${FILESDIR}"/90${PN}
136 fi
137 }
138
139 multilib_src_install_all() {
140 einstalldocs
141 prune_libtool_files
142 }