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

Diff of /media-video/mkvtoolnix/mkvtoolnix-1.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/Attic/mkvtoolnix-1.6.0.ebuild,v 1.1 2005/10/30 23:37:24 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/Attic/mkvtoolnix-1.6.0.ebuild,v 1.2 2005/12/15 21:59:03 flameeyes Exp $
4 4
5inherit eutils wxwidgets 5inherit eutils wxwidgets
6 6
7DESCRIPTION="Tools to create, alter, and inspect Matroska files" 7DESCRIPTION="Tools to create, alter, and inspect Matroska files"
8HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix" 8HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
9SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2" 9SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
10 10
11LICENSE="GPL-2" 11LICENSE="GPL-2"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~amd64 ~ppc ~x86" 13KEYWORDS="~amd64 ~ppc ~x86"
14IUSE="gtk2 wxwindows flac bzip2 lzo" 14IUSE="wxwindows flac bzip2 lzo"
15 15
16DEPEND=">=dev-libs/libebml-0.7.3 16DEPEND=">=dev-libs/libebml-0.7.3
17 >=media-libs/libmatroska-0.7.5 17 >=media-libs/libmatroska-0.7.5
18 media-libs/libogg 18 media-libs/libogg
19 media-libs/libvorbis 19 media-libs/libvorbis
25 lzo? ( dev-libs/lzo )" 25 lzo? ( dev-libs/lzo )"
26 26
27pkg_setup() { 27pkg_setup() {
28 WX_GTK_VER="2.6" 28 WX_GTK_VER="2.6"
29 if use wxwindows; then 29 if use wxwindows; then
30 if ! use gtk2 ; then
31 need-wxwidgets gtk || die "You must compile wxGTK without wx_nogtk useflag."
32 else
33 need-wxwidgets gtk2 || die "You must compile wxGTK with gtk2 useflag." 30 need-wxwidgets gtk2 || die "You must compile wxGTK with X useflag."
34 fi
35 elif use gtk2; then
36 einfo "You won't have gtk2 support as you requested not to use wxwindows."
37 fi 31 fi
32}
33
34src_unpack() {
35 unpack ${A}
36 cd ${S}
37
38 epatch "${FILESDIR}/${P}-lzo2.patch"
38} 39}
39 40
40src_compile() { 41src_compile() {
41 econf \ 42 econf \
42 $(use_enable lzo) \ 43 $(use_enable lzo) \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20