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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 13 10:05:57 2011 UTC (7 years, 5 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove automagic dependency on curl (fixes bug #366987) and remove old.

(Portage version: 2.2.0_alpha33/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.7.0.ebuild,v 1.1 2011/04/27 18:24:14 radhermit Exp $
4
5 EAPI=4
6
7 inherit 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.2.0
20 >=media-libs/libmatroska-1.1.0
21 >=dev-libs/boost-1.36.0
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 local myconf
38
39 use pch || myconf="${myconf} --disable-precompiled-headers"
40
41 if use wxwidgets ; then
42 WX_GTK_VER="2.8"
43 need-wxwidgets unicode
44 myconf="${myconf} --with-wx-config=${WX_CONFIG}"
45 fi
46
47 econf \
48 $(use_enable lzo) \
49 $(use_enable bzip2 bz2) \
50 $(use_enable wxwidgets) \
51 $(use_enable debug) \
52 --disable-qt \
53 ${myconf} \
54 --with-boost-regex=boost_regex \
55 --with-boost-filesystem=boost_filesystem \
56 --with-boost-system=boost_system
57 }
58
59 src_compile() {
60 rake || die "rake failed"
61 }
62
63 src_install() {
64 # Don't run strip while installing stuff, leave to portage the job.
65 DESTDIR="${D}" rake install || die
66
67 dodoc AUTHORS ChangeLog README TODO
68 doman doc/man/*.1
69 }

  ViewVC Help
Powered by ViewVC 1.1.20