/[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.3 - (show annotations) (download)
Sat Dec 17 12:34:33 2005 UTC (12 years, 10 months ago) by flameeyes
Branch: MAIN
Changes since 1.2: +3 -1 lines
Install examples as side of documentation, thanks to Rodrigo Severo in bug #114375.
(Portage version: 2.1_pre1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild,v 1.2 2005/12/15 21:59:03 flameeyes Exp $
4
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="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 need-wxwidgets gtk2 || die "You must compile wxGTK with X useflag."
31 fi
32 }
33
34 src_unpack() {
35 unpack ${A}
36 cd ${S}
37
38 epatch "${FILESDIR}/${P}-lzo2.patch"
39 }
40
41 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 docinto examples
57 dodoc examples/*
58 }

  ViewVC Help
Powered by ViewVC 1.1.20