/[gentoo-x86]/media-libs/libmatroska/libmatroska-1.2.0.ebuild
Gentoo

Contents of /media-libs/libmatroska/libmatroska-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Jun 9 00:07:40 2012 UTC (2 years, 2 months ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
inherit multilib for get_libdir

(Portage version: 2.2.0_alpha110_p4/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmatroska/libmatroska-1.2.0.ebuild,v 1.7 2011/11/20 10:22:44 xarthisius Exp $
4
5 EAPI="2"
6
7 inherit flag-o-matic eutils multilib toolchain-funcs
8
9 DESCRIPTION="Extensible multimedia container format based on EBML"
10 HOMEPAGE="http://www.matroska.org/"
11 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
16 IUSE=""
17 RESTRICT="test"
18
19 DEPEND=">=dev-libs/libebml-1.2.1"
20 RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}/${P}/make/linux"
23
24 src_prepare() {
25 epatch "${FILESDIR}/${PN}-1.0.0-respectflags.patch"
26 }
27
28 src_compile() {
29 #fixes locale for gcc3.4.0 to close bug 52385
30 append-flags $(test-flags -finput-charset=ISO8859-15)
31
32 emake PREFIX=/usr \
33 LIBEBML_INCLUDE_DIR=/usr/include/ebml \
34 LIBEBML_LIB_DIR=/usr/$(get_libdir) \
35 CXX="$(tc-getCXX)" || die "make failed"
36 }
37
38 src_install() {
39 emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" install || die "make install failed"
40 dodoc "${WORKDIR}/${P}/ChangeLog"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20