diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-03-12 20:43:12 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-03-12 20:43:12 +0000 |
commit | 8e0fb5eefe13c6c2168cbf9152beaf5ff8b30be3 (patch) | |
tree | 327d017d7bf009baf4088a099ae69d37de4491c2 /media-video/mkvtoolnix | |
parent | quoting (diff) | |
download | gentoo-2-8e0fb5eefe13c6c2168cbf9152beaf5ff8b30be3.tar.gz gentoo-2-8e0fb5eefe13c6c2168cbf9152beaf5ff8b30be3.tar.bz2 gentoo-2-8e0fb5eefe13c6c2168cbf9152beaf5ff8b30be3.zip |
Version bump, bug 213190
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-video/mkvtoolnix')
-rw-r--r-- | media-video/mkvtoolnix/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-2.2.0.ebuild | 70 |
2 files changed, 77 insertions, 2 deletions
diff --git a/media-video/mkvtoolnix/ChangeLog b/media-video/mkvtoolnix/ChangeLog index fe55e4dbaa64..ec67ab32c30b 100644 --- a/media-video/mkvtoolnix/ChangeLog +++ b/media-video/mkvtoolnix/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mkvtoolnix -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.82 2007/12/10 08:25:48 aballier Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.83 2008/03/12 20:43:12 beandog Exp $ + +*mkvtoolnix-2.2.0 (12 Mar 2008) + + 12 Mar 2008; Steve Dibb <beandog@gentoo.org> +mkvtoolnix-2.2.0.ebuild: + Version bump, bug 213190 10 Dec 2007; Alexis Ballier <aballier@gentoo.org> mkvtoolnix-2.1.0.ebuild: add support for unicode wxwidgets, thanks to Ryan Hill for the patch, bug diff --git a/media-video/mkvtoolnix/mkvtoolnix-2.2.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-2.2.0.ebuild new file mode 100644 index 000000000000..94ec89ada78d --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-2.2.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-2.2.0.ebuild,v 1.1 2008/03/12 20:43:12 beandog Exp $ + +inherit eutils wxwidgets flag-o-matic qt4 autotools + +DESCRIPTION="Tools to create, alter, and inspect Matroska files" +HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix" +SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="wxwindows flac bzip2 lzo qt4 debug unicode" + +DEPEND=">=dev-libs/libebml-0.7.7 + >=media-libs/libmatroska-0.8.1 + media-libs/libogg + media-libs/libvorbis + dev-libs/expat + dev-libs/libpcre + sys-libs/zlib + wxwindows? ( =x11-libs/wxGTK-2.6* ) + flac? ( media-libs/flac ) + bzip2? ( app-arch/bzip2 ) + lzo? ( dev-libs/lzo ) + qt4? ( $(qt4_min_version 4.0.0) )" + +pkg_setup() { + WX_GTK_VER="2.6" + if use wxwindows; then + use unicode && need-wxwidgets unicode || need-wxwidgets ansi + fi + + if ! built_with_use --missing true dev-libs/libpcre cxx; then + eerror "To build ${PN} you need the C++ bindings for pcre." + eerror "Please enable the cxx USE flag for dev-libs/libpcre" + die "Missing PCRE C++ bindings." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + eautoreconf +} + +src_compile() { + use wxwindows && myconf="--with-wx-config=${WX_CONFIG}" + econf \ + $(use_enable lzo) \ + $(use_enable bzip2 bz2) \ + $(use_enable wxwindows wxwidgets) \ + $(use_enable debug) \ + $(use_with flac) \ + $(use_enable qt4 qt) \ + ${myconf} \ + || die "./configure died" + + # Don't run strip while installing stuff, leave to portage the job. + emake STRIP="true" || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" STRIP="true" install || die "make install failed" + dodoc AUTHORS ChangeLog README TODO + dohtml doc/mkvmerge-gui.html doc/images/* + docinto examples + dodoc examples/* +} |