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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 28 12:46:01 2011 UTC (7 years, 1 month ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.9.9.ebuild,v 1.4 2010/02/24 20:04:17 ssuominen 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="wxwidgets 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 wxwidgets? ( 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 )"
29 RDEPEND="${DEPEND}"
30
31 pkg_setup() {
32 WX_GTK_VER="2.8"
33 if use wxwidgets; then
34 need-wxwidgets unicode
35 fi
36 }
37
38 src_unpack() {
39 unpack ${A}
40 cd "${S}"
41
42 eautoreconf
43 }
44
45 src_compile() {
46 use wxwidgets && myconf="--with-wx-config=${WX_CONFIG}"
47 econf \
48 $(use_enable lzo) \
49 $(use_enable bzip2 bz2) \
50 $(use_enable wxwidgets) \
51 $(use_enable debug) \
52 $(use_with flac) \
53 $(use_enable qt4 qt) \
54 ${myconf} \
55 --with-boost-regex=boost_regex
56
57 # Don't run strip while installing stuff, leave to portage the job.
58 emake STRIP="true" || die "make failed"
59 }
60
61 src_install() {
62 emake DESTDIR="${D}" STRIP="true" install || die "make install failed"
63 dodoc AUTHORS ChangeLog README TODO
64 doman doc/man/mkv{merge,extract,info}.1 doc/man/mmg.1 || die "doman failed"
65 dohtml doc/mkvmerge-gui.html
66 docinto images
67 dohtml doc/images/*
68 docinto examples
69 dohtml examples/*
70 }

  ViewVC Help
Powered by ViewVC 1.1.20