Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libmatroska: ChangeLog libmatroska-1.3.0.ebuild
Date: Mon, 26 Sep 2011 00:33:36
Message-Id: 20110926003324.4B23120036@flycatcher.gentoo.org
1 radhermit 11/09/26 00:33:24
2
3 Modified: ChangeLog
4 Added: libmatroska-1.3.0.ebuild
5 Log:
6 Version bump. Update to EAPI 4 and add static-libs use flag (bug #381663).
7
8 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.98 media-libs/libmatroska/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmatroska/ChangeLog?rev=1.98&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmatroska/ChangeLog?rev=1.98&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmatroska/ChangeLog?r1=1.97&r2=1.98
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libmatroska/ChangeLog,v
20 retrieving revision 1.97
21 retrieving revision 1.98
22 diff -u -r1.97 -r1.98
23 --- ChangeLog 24 Sep 2011 17:06:11 -0000 1.97
24 +++ ChangeLog 26 Sep 2011 00:33:24 -0000 1.98
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/libmatroska
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmatroska/ChangeLog,v 1.97 2011/09/24 17:06:11 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmatroska/ChangeLog,v 1.98 2011/09/26 00:33:24 radhermit Exp $
30 +
31 +*libmatroska-1.3.0 (26 Sep 2011)
32 +
33 + 26 Sep 2011; Tim Harder <radhermit@g.o> +libmatroska-1.3.0.ebuild:
34 + Version bump. Update to EAPI 4 and add static-libs use flag (bug #381663).
35
36 24 Sep 2011; Raúl Porcel <armin76@g.o> libmatroska-1.2.0.ebuild:
37 alpha/ia64/sparc stable wrt #376399
38
39
40
41 1.1 media-libs/libmatroska/libmatroska-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmatroska/libmatroska-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmatroska/libmatroska-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libmatroska-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmatroska/libmatroska-1.3.0.ebuild,v 1.1 2011/09/26 00:33:24 radhermit Exp $
51
52 EAPI="4"
53
54 inherit flag-o-matic eutils toolchain-funcs
55
56 DESCRIPTION="Extensible multimedia container format based on EBML"
57 HOMEPAGE="http://www.matroska.org/"
58 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="static-libs"
64 RESTRICT="test"
65
66 DEPEND=">=dev-libs/libebml-1.2.1"
67 RDEPEND="${DEPEND}"
68
69 S="${WORKDIR}/${P}/make/linux"
70
71 src_prepare() {
72 epatch "${FILESDIR}/${PN}-1.0.0-respectflags.patch"
73 }
74
75 src_compile() {
76 local targets="sharedlib"
77 use static-libs && targets+=" staticlib"
78
79 #fixes locale for gcc3.4.0 to close bug 52385
80 append-flags $(test-flags -finput-charset=ISO8859-15)
81
82 emake PREFIX=/usr \
83 LIBEBML_INCLUDE_DIR=/usr/include/ebml \
84 LIBEBML_LIB_DIR=/usr/$(get_libdir) \
85 CXX="$(tc-getCXX)" \
86 AR="$(tc-getAR)" \
87 ${targets}
88 }
89
90 src_install() {
91 local targets="install_sharedlib install_headers"
92 use static-libs && targets+=" install_staticlib"
93
94 emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" ${targets}
95 dodoc "${WORKDIR}/${P}/ChangeLog"
96 }