/[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.2 - (hide annotations) (download)
Thu Dec 15 21:59:03 2005 UTC (12 years, 10 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +10 -9 lines
Added patch to link against lzo2 (bug #112372). Also dropped gtk2 useflag as wxGTK 2.6 defaults to building only gtk2 version.
(Portage version: 2.0.53)

1 flameeyes 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.2 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild,v 1.1 2005/10/30 23:37:24 flameeyes Exp $
4 flameeyes 1.1
5     inherit eutils wxwidgets
6    
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.1 fi
32     }
33    
34 flameeyes 1.2 src_unpack() {
35     unpack ${A}
36     cd ${S}
37    
38     epatch "${FILESDIR}/${P}-lzo2.patch"
39     }
40    
41 flameeyes 1.1 src_compile() {
42     econf \
43     $(use_enable lzo) \
44     $(use_enable bzip2 bz2) \
45     $(use_enable wxwindows gui) \
46     $(use_with flac) \
47     || die "./configure died"
48    
49     emake || die "make failed"
50     }
51    
52     src_install() {
53     einstall || die "make install failed"
54     dodoc AUTHORS ChangeLog README TODO
55     dohtml doc/mkvmerge-gui.html doc/images/*
56     }

  ViewVC Help
Powered by ViewVC 1.1.20