/[gentoo-x86]/media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild
Gentoo

Contents of /media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Jan 5 16:34:38 2006 UTC (12 years, 9 months ago) by flameeyes
Branch: MAIN
Changes since 1.3: +5 -3 lines
Filter --as-needed flag as wxWidgets does not like it.
(Portage version: 2529-svn)

1 flameeyes 1.4 # Copyright 1999-2006 Gentoo Foundation
2 flameeyes 1.1 # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.4 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild,v 1.3 2005/12/17 12:34:33 flameeyes Exp $
4 flameeyes 1.1
5 flameeyes 1.4 inherit eutils wxwidgets flag-o-matic
6 flameeyes 1.1
7     DESCRIPTION="Tools to create, alter, and inspect Matroska files"
8     HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
9     SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~amd64 ~ppc ~x86"
14 flameeyes 1.2 IUSE="wxwindows flac bzip2 lzo"
15 flameeyes 1.1
16     DEPEND=">=dev-libs/libebml-0.7.3
17     >=media-libs/libmatroska-0.7.5
18     media-libs/libogg
19     media-libs/libvorbis
20     dev-libs/expat
21     sys-libs/zlib
22     wxwindows? ( =x11-libs/wxGTK-2.6* )
23     flac? ( >=media-libs/flac-1.1.0 )
24     bzip2? ( app-arch/bzip2 )
25     lzo? ( dev-libs/lzo )"
26    
27     pkg_setup() {
28     WX_GTK_VER="2.6"
29     if use wxwindows; then
30 flameeyes 1.2 need-wxwidgets gtk2 || die "You must compile wxGTK with X useflag."
31 flameeyes 1.4 # wxWidgets does not like --as-needed
32     filter-ldflags -Wl,--as-needed --as-needed
33 flameeyes 1.1 fi
34     }
35    
36 flameeyes 1.2 src_unpack() {
37     unpack ${A}
38     cd ${S}
39    
40     epatch "${FILESDIR}/${P}-lzo2.patch"
41     }
42    
43 flameeyes 1.1 src_compile() {
44     econf \
45     $(use_enable lzo) \
46     $(use_enable bzip2 bz2) \
47     $(use_enable wxwindows gui) \
48     $(use_with flac) \
49     || die "./configure died"
50    
51     emake || die "make failed"
52     }
53    
54     src_install() {
55     einstall || die "make install failed"
56     dodoc AUTHORS ChangeLog README TODO
57     dohtml doc/mkvmerge-gui.html doc/images/*
58 flameeyes 1.3 docinto examples
59     dodoc examples/*
60 flameeyes 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20