summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-04 21:54:49 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-04 21:54:49 +0000
commitf7dc779dbff78026b0210e57be1ff3d4792458cd (patch)
tree0edb3225710f64a682dd5e7d19022e9705ad72e6 /media-libs/libmediainfo
parentstable ppc, bug 355107 (diff)
downloadgentoo-2-f7dc779dbff78026b0210e57be1ff3d4792458cd.tar.gz
gentoo-2-f7dc779dbff78026b0210e57be1ff3d4792458cd.tar.bz2
gentoo-2-f7dc779dbff78026b0210e57be1ff3d4792458cd.zip
Version bump. Update to EAPI 4, use autotools-utils eclass, bump libzen dependency, and don't force -O2 by default.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmediainfo')
-rw-r--r--media-libs/libmediainfo/ChangeLog8
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.42.ebuild74
2 files changed, 81 insertions, 1 deletions
diff --git a/media-libs/libmediainfo/ChangeLog b/media-libs/libmediainfo/ChangeLog
index e962e3bb532f..f30e4f47ceb2 100644
--- a/media-libs/libmediainfo/ChangeLog
+++ b/media-libs/libmediainfo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libmediainfo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediainfo/ChangeLog,v 1.9 2011/01/31 19:06:53 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediainfo/ChangeLog,v 1.10 2011/03/04 21:54:49 radhermit Exp $
+
+*libmediainfo-0.7.42 (04 Mar 2011)
+
+ 04 Mar 2011; Tim Harder <radhermit@gentoo.org> +libmediainfo-0.7.42.ebuild:
+ Version bump. Update to EAPI 4, use autotools-utils eclass, bump libzen
+ dependency, and don't force -O2 by default.
31 Jan 2011; Christian Faulhammer <fauli@gentoo.org>
libmediainfo-0.7.36-r1.ebuild:
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.42.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.42.ebuild
new file mode 100644
index 000000000000..9d050b0b5a14
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.42.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediainfo/libmediainfo-0.7.42.ebuild,v 1.1 2011/03/04 21:54:49 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools-utils multilib eutils
+
+MY_PN="MediaInfo"
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="http://mediainfo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mediainfo/source/${PN}/${PV}/${PN}_${PV}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl debug doc libmms static-libs"
+
+RDEPEND="sys-libs/zlib
+ >=media-libs/libzen-0.4.18[static-libs=]
+ curl? ( net-misc/curl )
+ libmms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+S="${WORKDIR}/${MY_PN}Lib/Project/GNU/Library"
+
+src_prepare() {
+ # Fix linking problem for bug #343125
+ EPATCH_OPTS="-p1 -d ${WORKDIR}/${MY_PN}Lib" epatch "${FILESDIR}"/${PN}-0.7.41-curl.patch
+
+ # Don't force -O2 by default
+ sed -i -e "s:-O2::" configure.ac
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs
+ myeconfargs=(
+ $(use_with curl libcurl)
+ $(use_with libmms)
+ $(use_enable static-libs staticlibs)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc; then
+ cd "${WORKDIR}/${MY_PN}Lib/Source/Doc"
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${S}"/${PN}.pc
+
+ for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do
+ insinto /usr/include/${MY_PN}/${x}
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h
+ done
+
+ dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
+ fi
+}