summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-04 21:59:29 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-04 21:59:29 +0000
commit90f0b8a835b0cf25b39f80fb420c1d645f4c7dbc (patch)
tree4892a9b9ad5b9a986a1bd6c11df26977e8b601c6 /media-video/mediainfo
parentAdd ~mips, bug 354309 (diff)
downloadgentoo-2-90f0b8a835b0cf25b39f80fb420c1d645f4c7dbc.tar.gz
gentoo-2-90f0b8a835b0cf25b39f80fb420c1d645f4c7dbc.tar.bz2
gentoo-2-90f0b8a835b0cf25b39f80fb420c1d645f4c7dbc.zip
Version bump. Update to EAPI 4, use autotools-utils eclass, and don't force -O2 by default.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r--media-video/mediainfo/ChangeLog8
-rw-r--r--media-video/mediainfo/mediainfo-0.7.42.ebuild73
2 files changed, 80 insertions, 1 deletions
diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog
index 2e9ec84945cb..bc6739c97b5f 100644
--- a/media-video/mediainfo/ChangeLog
+++ b/media-video/mediainfo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mediainfo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.14 2011/02/11 02:44:15 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.15 2011/03/04 21:59:29 radhermit Exp $
+
+*mediainfo-0.7.42 (04 Mar 2011)
+
+ 04 Mar 2011; Tim Harder <radhermit@gentoo.org> +mediainfo-0.7.42.ebuild:
+ Version bump. Update to EAPI 4, use autotools-utils eclass, and don't force
+ -O2 by default.
11 Feb 2011; Tim Harder <radhermit@gentoo.org> -mediainfo-0.7.36.ebuild:
Remove old
diff --git a/media-video/mediainfo/mediainfo-0.7.42.ebuild b/media-video/mediainfo/mediainfo-0.7.42.ebuild
new file mode 100644
index 000000000000..57394567dd54
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-0.7.42.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.42.ebuild,v 1.1 2011/03/04 21:59:29 radhermit Exp $
+
+EAPI="4"
+WX_GTK_VER="2.8"
+
+inherit autotools-utils wxwidgets multilib
+
+DESCRIPTION="MediaInfo supplies technical and tag information about media files"
+HOMEPAGE="http://mediainfo.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/source/${PN}/${PV}/${PN}_${PV}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl debug libmms wxwidgets"
+
+RDEPEND="sys-libs/zlib
+ media-libs/libzen
+ ~media-libs/lib${P}[curl=,libmms=]
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+S="${WORKDIR}/MediaInfo"
+
+pkg_setup() {
+ TARGETS="CLI"
+ use wxwidgets && TARGETS+=" GUI"
+}
+
+src_prepare() {
+ local target
+ for target in ${TARGETS}; do
+ cd "${S}/Project/GNU/${target}"
+ sed -i -e "s:-O2::" configure.ac
+ eautoreconf
+ done
+}
+
+src_configure() {
+ local target
+ for target in ${TARGETS}; do
+ ECONF_SOURCE="${S}/Project/GNU/${target}"
+ [[ ${target} == "GUI" ]] && local myeconfargs=( --with-wxwidgets --with-wx-gui )
+ autotools-utils_src_configure
+ done
+}
+
+src_compile() {
+ local target
+ for target in ${TARGETS}; do
+ ECONF_SOURCE="${S}/Project/GNU/${target}"
+ autotools-utils_src_compile
+ done
+}
+src_install() {
+ local target
+ for target in ${TARGETS}; do
+ ECONF_SOURCE="${S}/Project/GNU/${target}"
+ autotools-utils_src_install
+ dodoc "${S}"/History_${target}.txt
+ if [[ ${target} == "GUI" ]]; then
+ newicon "${S}"/Source/Ressource/Image/MediaInfo.png ${PN}.png
+ make_desktop_entry ${PN}-gui MediaInfo ${PN} "AudioVideo;GTK"
+ fi
+ done
+
+ dodoc "${S}"/*.html
+}