diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-06-21 09:35:10 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-06-21 09:35:10 +0000 |
commit | a3ea38567c638391b1b605d4ba055d19433fda77 (patch) | |
tree | a02d39ce3cf3de5b2baefc0b3165faa0fe45a553 /media-video | |
parent | stable x86, bug 226769 (diff) | |
download | gentoo-2-a3ea38567c638391b1b605d4ba055d19433fda77.tar.gz gentoo-2-a3ea38567c638391b1b605d4ba055d19433fda77.tar.bz2 gentoo-2-a3ea38567c638391b1b605d4ba055d19433fda77.zip |
revision bump to use wxgtk 2.8, bug #223737
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.4 x86_64)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mkvtoolnix/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-2.2.0-r1.ebuild | 71 |
2 files changed, 78 insertions, 1 deletions
diff --git a/media-video/mkvtoolnix/ChangeLog b/media-video/mkvtoolnix/ChangeLog index 207d7603235a..7e2c7189a91c 100644 --- a/media-video/mkvtoolnix/ChangeLog +++ b/media-video/mkvtoolnix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/mkvtoolnix # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.85 2008/05/09 10:03:35 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.86 2008/06/21 09:35:10 aballier Exp $ + +*mkvtoolnix-2.2.0-r1 (21 Jun 2008) + + 21 Jun 2008; Alexis Ballier <aballier@gentoo.org> + +mkvtoolnix-2.2.0-r1.ebuild: + revision bump to use wxgtk 2.8, bug #223737 09 May 2008; Ben de Groot <yngwin@gentoo.org> mkvtoolnix-2.1.0.ebuild, mkvtoolnix-2.2.0.ebuild: diff --git a/media-video/mkvtoolnix/mkvtoolnix-2.2.0-r1.ebuild b/media-video/mkvtoolnix/mkvtoolnix-2.2.0-r1.ebuild new file mode 100644 index 000000000000..9b8ff8f6eb97 --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-2.2.0-r1.ebuild @@ -0,0 +1,71 @@ +# 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-r1.ebuild,v 1.1 2008/06/21 09:35:10 aballier Exp $ + +EAPI="1" +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" + +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.8* ) + flac? ( media-libs/flac ) + bzip2? ( app-arch/bzip2 ) + lzo? ( dev-libs/lzo ) + qt4? ( || ( >=x11-libs/qt-4.3.0 x11-libs/qt-gui:4 ) )" + +pkg_setup() { + WX_GTK_VER="2.8" + if use wxwindows; then + need-wxwidgets unicode + 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/* +} |