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

Contents of /media-video/mkvtoolnix/mkvtoolnix-5.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 29 05:34:16 2012 UTC (2 years, 2 months ago) by radhermit
Branch: MAIN
Revision bump to properly install GUI help files (bug #398041 by Chris Mayo).

(Portage version: 2.2.0_alpha108/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.0.1.ebuild,v 1.3 2012/02/10 05:38:55 radhermit Exp $
4
5 EAPI=4
6
7 inherit wxwidgets autotools
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.2
20 >=media-libs/libmatroska-1.3.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_prepare() {
37 # Disable automagic curl dep used for online update checking
38 sed -i -e '/curl/d' configure.in
39 export CURL_CFLAGS="" CURL_LIBS=""
40
41 eautoreconf
42 }
43
44 src_configure() {
45 local myconf
46
47 use pch || myconf+=" --disable-precompiled-headers"
48
49 if use wxwidgets ; then
50 WX_GTK_VER="2.8"
51 need-wxwidgets unicode
52 myconf+=" --with-wx-config=${WX_CONFIG}"
53 fi
54
55 econf \
56 $(use_enable lzo) \
57 $(use_enable bzip2 bz2) \
58 $(use_enable wxwidgets) \
59 $(use_enable debug) \
60 --disable-qt \
61 ${myconf} \
62 --docdir=/usr/share/doc/${PF} \
63 --with-boost-regex=boost_regex \
64 --with-boost-filesystem=boost_filesystem \
65 --with-boost-system=boost_system
66 }
67
68 src_compile() {
69 rake || die "rake failed"
70 }
71
72 src_install() {
73 # Don't run strip while installing stuff, leave to portage the job.
74 DESTDIR="${D}" rake install || die
75
76 dodoc AUTHORS ChangeLog README TODO
77 doman doc/man/*.1
78
79 docompress -x /usr/share/doc/${PF}/guide
80 }

  ViewVC Help
Powered by ViewVC 1.1.20