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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 25 08:17:16 2012 UTC (6 years, 7 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-5.2.1.ebuild,v 1.1 2012/01/06 08:02:06 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 qt4 wxwidgets"
17
18 RDEPEND="
19 >=dev-libs/libebml-1.2.2
20 >=media-libs/libmatroska-1.3.0
21 >=dev-libs/boost-1.46.0
22 dev-libs/expat
23 media-libs/flac
24 media-libs/libogg
25 media-libs/libvorbis
26 sys-apps/file
27 >=sys-devel/gcc-4.6
28 sys-libs/zlib
29 bzip2? ( app-arch/bzip2 )
30 lzo? ( dev-libs/lzo )
31 qt4? (
32 x11-libs/qt-core:4
33 x11-libs/qt-gui:4
34 )
35 wxwidgets? ( x11-libs/wxGTK:2.8[X] )
36 "
37 DEPEND="${RDEPEND}
38 dev-ruby/rake
39 dev-util/pkgconfig
40 "
41
42 src_configure() {
43 local myconf
44
45 use pch || myconf+=" --disable-precompiled-headers"
46
47 if use wxwidgets ; then
48 WX_GTK_VER="2.8"
49 need-wxwidgets unicode
50 myconf+=" --with-wx-config=${WX_CONFIG}"
51 fi
52
53 econf \
54 $(use_enable bzip2 bz2) \
55 $(use_enable debug) \
56 $(use_enable lzo) \
57 $(use_enable qt4 qt) \
58 $(use_enable wxwidgets) \
59 ${myconf} \
60 --with-boost-regex=boost_regex \
61 --with-boost-filesystem=boost_filesystem \
62 --with-boost-system=boost_system \
63 --without-curl
64 }
65
66 src_compile() {
67 rake || die "rake failed"
68 }
69
70 src_install() {
71 # Don't run strip while installing stuff, leave to portage the job.
72 DESTDIR="${D}" rake install || die
73
74 dodoc AUTHORS ChangeLog README TODO
75 doman doc/man/*.1
76 }

  ViewVC Help
Powered by ViewVC 1.1.20