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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Oct 3 01:05:00 2006 UTC (11 years, 10 months ago) by beandog
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.1.1-r1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-1.6.5.ebuild,v 1.5 2006/08/30 18:21:09 zzam Exp $
4
5 inherit eutils wxwidgets flag-o-matic
6
7 DESCRIPTION="Tools to create, alter, and inspect Matroska files"
8 HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
9 SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="wxwindows flac bzip2 lzo"
15
16 DEPEND=">=dev-libs/libebml-0.7.5
17 >=media-libs/libmatroska-0.8.0
18 media-libs/libogg
19 media-libs/libvorbis
20 dev-libs/expat
21 sys-libs/zlib
22 wxwindows? ( =x11-libs/wxGTK-2.6* )
23 flac? ( >=media-libs/flac-1.1.0 )
24 bzip2? ( app-arch/bzip2 )
25 lzo? ( dev-libs/lzo )"
26
27 pkg_setup() {
28 WX_GTK_VER="2.6"
29 if use wxwindows; then
30 need-wxwidgets gtk2 || die "You must compile wxGTK with X useflag."
31 # wxWidgets does not like --as-needed
32 filter-ldflags -Wl,--as-needed --as-needed
33 fi
34
35 # filter out -fforce-addr as it leads to segfaults, see Bug #113396
36 filter-flags -fforce-addr
37 }
38
39 src_compile() {
40 # Don't run strip while installing stuff, leave to portage the job.
41 econf \
42 $(use_enable lzo) \
43 $(use_enable bzip2 bz2) \
44 $(use_enable wxwindows gui) \
45 $(use_with flac) \
46 || die "./configure died"
47
48 emake STRIP="true" || die "make failed"
49 }
50
51 src_install() {
52 einstall STRIP="true" || die "make install failed"
53 dodoc AUTHORS ChangeLog README TODO
54 dohtml doc/mkvmerge-gui.html doc/images/*
55 docinto examples
56 dodoc examples/*
57 }

  ViewVC Help
Powered by ViewVC 1.1.20