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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu May 10 07:08:49 2012 UTC (6 years, 2 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old.

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-4.4.0.ebuild,v 1.7 2011/08/05 13:56:25 hwoarang Exp $
4
5 EAPI=3
6
7 inherit flag-o-matic wxwidgets
8
9 DESCRIPTION="Tools to create, alter, and inspect Matroska files"
10 HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
11 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"
16 IUSE="bzip2 debug lzo pch wxwidgets"
17
18 RDEPEND="
19 >=dev-libs/libebml-1.0.0
20 >=media-libs/libmatroska-1.0.0
21 dev-libs/boost
22 dev-libs/expat
23 media-libs/flac
24 media-libs/libogg
25 media-libs/libvorbis
26 sys-apps/file
27 sys-libs/zlib
28 bzip2? ( app-arch/bzip2 )
29 lzo? ( dev-libs/lzo )
30 wxwidgets? ( x11-libs/wxGTK:2.8[X] )
31 "
32 DEPEND="${RDEPEND}
33 dev-ruby/rake
34 "
35
36 src_configure() {
37 append-flags -DBOOST_FILESYSTEM_VERSION=2
38 local myconf
39
40 use pch || myconf="${myconf} --disable-precompiled-headers"
41
42 if use wxwidgets ; then
43 WX_GTK_VER="2.8"
44 need-wxwidgets unicode
45 myconf="${myconf} --with-wx-config=${WX_CONFIG}"
46 fi
47
48 econf \
49 $(use_enable lzo) \
50 $(use_enable bzip2 bz2) \
51 $(use_enable wxwidgets) \
52 $(use_enable debug) \
53 --disable-qt \
54 ${myconf} \
55 --with-boost-regex=boost_regex \
56 --with-boost-filesystem=boost_filesystem \
57 --with-boost-system=boost_system
58 }
59
60 src_compile() {
61 rake || die "rake failed"
62 }
63
64 src_install() {
65 # Don't run strip while installing stuff, leave to portage the job.
66 DESTDIR="${D}" rake install || die
67
68 dodoc AUTHORS ChangeLog README TODO || die
69 doman doc/man/*.1 || die
70 }

  ViewVC Help
Powered by ViewVC 1.1.20