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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 25 19:04:21 2007 UTC (11 years, 3 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove unused version
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-2.0.0.ebuild,v 1.1 2007/01/22 19:34:23 aballier Exp $
4
5 inherit eutils wxwidgets flag-o-matic qt4
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 ~ppc64 ~x86"
14 IUSE="wxwindows flac bzip2 lzo qt4 debug"
15
16 DEPEND=">=dev-libs/libebml-0.7.7
17 >=media-libs/libmatroska-0.8.0
18 media-libs/libogg
19 media-libs/libvorbis
20 dev-libs/expat
21 dev-libs/libpcre
22 sys-libs/zlib
23 wxwindows? ( =x11-libs/wxGTK-2.6* )
24 flac? ( media-libs/flac )
25 bzip2? ( app-arch/bzip2 )
26 lzo? ( dev-libs/lzo )
27 qt4? ( $(qt4_min_version 4.0.0) )"
28
29 pkg_setup() {
30 WX_GTK_VER="2.6"
31 if use wxwindows; then
32 need-wxwidgets gtk2
33 fi
34 }
35
36 src_compile() {
37 use wxwindows && myconf="--with-wx-config=${WX_CONFIG}"
38 # Don't run strip while installing stuff, leave to portage the job.
39 econf \
40 $(use_enable lzo) \
41 $(use_enable bzip2 bz2) \
42 $(use_enable wxwindows gui) \
43 $(use_enable debug) \
44 $(use_with flac) \
45 $(use_enable qt4 qt) \
46 ${myconf} \
47 || die "./configure died"
48
49 emake STRIP="true" || die "make failed"
50 }
51
52 src_install() {
53 emake DESTDIR="${D}" STRIP="true" install || 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