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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 15 07:26:48 2009 UTC (9 years, 5 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove unused versions
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.4.1.ebuild,v 1.1 2008/12/18 14:38:16 beandog Exp $
4
5 EAPI="1"
6 inherit eutils wxwidgets flag-o-matic qt4 autotools
7
8 DESCRIPTION="Tools to create, alter, and inspect Matroska files"
9 HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
10 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
15 IUSE="wxwindows flac bzip2 lzo qt4 debug"
16
17 DEPEND=">=dev-libs/libebml-0.7.7
18 >=media-libs/libmatroska-0.8.1
19 media-libs/libogg
20 media-libs/libvorbis
21 dev-libs/expat
22 sys-libs/zlib
23 dev-libs/boost
24 wxwindows? ( =x11-libs/wxGTK-2.8* )
25 flac? ( media-libs/flac )
26 bzip2? ( app-arch/bzip2 )
27 lzo? ( dev-libs/lzo )
28 qt4? ( || ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* ) )"
29
30 pkg_setup() {
31 WX_GTK_VER="2.8"
32 if use wxwindows; then
33 need-wxwidgets unicode
34 fi
35 }
36
37 src_unpack() {
38 unpack ${A}
39 cd "${S}"
40 eautoreconf
41 }
42
43 src_compile() {
44 use wxwindows && myconf="--with-wx-config=${WX_CONFIG}"
45 econf \
46 $(use_enable lzo) \
47 $(use_enable bzip2 bz2) \
48 $(use_enable wxwindows wxwidgets) \
49 $(use_enable debug) \
50 $(use_with flac) \
51 $(use_enable qt4 qt) \
52 ${myconf} \
53 || die "./configure died"
54
55 # Don't run strip while installing stuff, leave to portage the job.
56 emake STRIP="true" || die "make failed"
57 }
58
59 src_install() {
60 emake DESTDIR="${D}" STRIP="true" install || die "make install failed"
61 dodoc AUTHORS ChangeLog README TODO
62 dohtml doc/mkvmerge-gui.html doc/images/*
63 docinto examples
64 dodoc examples/*
65 }

  ViewVC Help
Powered by ViewVC 1.1.20