Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libebml: ChangeLog libebml-1.2.2.ebuild
Date: Mon, 26 Sep 2011 00:15:42
Message-Id: 20110926001531.8BC5520036@flycatcher.gentoo.org
1 radhermit 11/09/26 00:15:31
2
3 Modified: ChangeLog
4 Added: libebml-1.2.2.ebuild
5 Log:
6 Version bump. Add static-libs use flag (bug #381661), add debug use flag, update to EAPI 4.
7
8 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.110 dev-libs/libebml/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libebml/ChangeLog?rev=1.110&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libebml/ChangeLog?rev=1.110&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libebml/ChangeLog?r1=1.109&r2=1.110
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v
20 retrieving revision 1.109
21 retrieving revision 1.110
22 diff -u -r1.109 -r1.110
23 --- ChangeLog 24 Sep 2011 16:53:21 -0000 1.109
24 +++ ChangeLog 26 Sep 2011 00:15:31 -0000 1.110
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libebml
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.109 2011/09/24 16:53:21 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.110 2011/09/26 00:15:31 radhermit Exp $
30 +
31 +*libebml-1.2.2 (26 Sep 2011)
32 +
33 + 26 Sep 2011; Tim Harder <radhermit@g.o> +libebml-1.2.2.ebuild:
34 + Version bump. Add static-libs use flag (bug #381661), add debug use flag,
35 + update to EAPI 4.
36
37 24 Sep 2011; Raúl Porcel <armin76@g.o> libebml-1.2.1.ebuild:
38 alpha/ia64/sparc stable wrt #376395
39
40
41
42 1.1 dev-libs/libebml/libebml-1.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libebml/libebml-1.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libebml/libebml-1.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libebml-1.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-1.2.2.ebuild,v 1.1 2011/09/26 00:15:31 radhermit Exp $
52
53 EAPI=4
54
55 inherit eutils multilib toolchain-funcs
56
57 DESCRIPTION="Extensible binary format library (kinda like XML)"
58 HOMEPAGE="http://www.matroska.org/"
59 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
64 IUSE="debug static-libs"
65
66 S="${WORKDIR}/${P}/make/linux"
67
68 src_prepare() {
69 epatch "${FILESDIR}"/${PN}-1.2.0-makefile-fixup.patch
70
71 sed -i -e "s:\(DEBUGFLAGS=\)-g :\1:" Makefile || die
72 }
73
74 src_compile() {
75 local targets
76 if [[ ${CHOST} != *-darwin* ]] ; then
77 targets="sharedlib"
78 else
79 targets="macholib"
80 fi
81 use static-libs && targets+=" staticlib"
82
83 # keep the prefix in here to make sure the binary is built with a correct
84 # install_name on Darwin
85 emake \
86 prefix="${EPREFIX}/usr" \
87 AR="$(tc-getAR)" \
88 CC="$(tc-getCC)" \
89 CXX="$(tc-getCXX)" \
90 $(use debug && echo DEBUG=yes || echo DEBUG=no) \
91 ${targets}
92 }
93
94 src_install() {
95 local targets="install_headers"
96 if [[ ${CHOST} != *-darwin* ]] ; then
97 targets+=" install_sharedlib"
98 else
99 targets+=" install_macholib"
100 fi
101 use static-libs && targets+=" install_staticlib"
102
103 emake \
104 DESTDIR="${D}" \
105 prefix="${EPREFIX}/usr" \
106 libdir="${EPREFIX}/usr/$(get_libdir)" \
107 ${targets}
108
109 dodoc "${WORKDIR}/${P}/ChangeLog"
110 }