/[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.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 09:57:31 2005 UTC (13 years ago) by chriswhite
Changes since 1.1: +1 -1 lines
*** empty log message ***

1 flameeyes 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 chriswhite 1.1.1.1 # $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     IUSE="gtk2 wxwindows flac bzip2 lzo"
15    
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     if ! use gtk2 ; then
31     need-wxwidgets gtk || die "You must compile wxGTK without wx_nogtk useflag."
32     else
33     need-wxwidgets gtk2 || die "You must compile wxGTK with gtk2 useflag."
34     fi
35     elif use gtk2; then
36     einfo "You won't have gtk2 support as you requested not to use wxwindows."
37     fi
38     }
39    
40     src_compile() {
41     econf \
42     $(use_enable lzo) \
43     $(use_enable bzip2 bz2) \
44     $(use_enable wxwindows gui) \
45     $(use_with flac) \
46     || die "./configure died"
47    
48     emake || die "make failed"
49     }
50    
51     src_install() {
52     einstall || die "make install failed"
53     dodoc AUTHORS ChangeLog README TODO
54     dohtml doc/mkvmerge-gui.html doc/images/*
55     }

  ViewVC Help
Powered by ViewVC 1.1.20