summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-03-02 06:55:12 +0000
committerTim Harder <radhermit@gentoo.org>2013-03-02 06:55:12 +0000
commit0bcedb95af9c6141f9168e248bcb410e96c67599 (patch)
tree8e458b4b95d87670d04ef4f55bfd0b79e2111ba8 /media-video/mediainfo
parentVersion bump. Add myself and upstream info to metadata. (diff)
downloadgentoo-2-0bcedb95af9c6141f9168e248bcb410e96c67599.tar.gz
gentoo-2-0bcedb95af9c6141f9168e248bcb410e96c67599.tar.bz2
gentoo-2-0bcedb95af9c6141f9168e248bcb410e96c67599.zip
Version bump. Add myself and upstream info to metadata.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r--media-video/mediainfo/ChangeLog10
-rw-r--r--media-video/mediainfo/mediainfo-0.7.62.ebuild70
-rw-r--r--media-video/mediainfo/metadata.xml9
3 files changed, 86 insertions, 3 deletions
diff --git a/media-video/mediainfo/ChangeLog b/media-video/mediainfo/ChangeLog
index 67ec574cb086..54930a2d75c1 100644
--- a/media-video/mediainfo/ChangeLog
+++ b/media-video/mediainfo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mediainfo
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.63 2012/12/22 10:20:16 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/ChangeLog,v 1.64 2013/03/02 06:55:12 radhermit Exp $
+
+*mediainfo-0.7.62 (02 Mar 2013)
+
+ 02 Mar 2013; Tim Harder <radhermit@gentoo.org> +mediainfo-0.7.62.ebuild,
+ metadata.xml:
+ Version bump. Add myself and upstream info to metadata.
22 Dec 2012; Tim Harder <radhermit@gentoo.org> -mediainfo-0.7.58.ebuild,
-mediainfo-0.7.59.ebuild, -mediainfo-0.7.60.ebuild:
diff --git a/media-video/mediainfo/mediainfo-0.7.62.ebuild b/media-video/mediainfo/mediainfo-0.7.62.ebuild
new file mode 100644
index 000000000000..f1df287362b5
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-0.7.62.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.62.ebuild,v 1.1 2013/03/02 06:55:12 radhermit Exp $
+
+EAPI=5
+WX_GTK_VER="2.8"
+
+inherit eutils autotools 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 mms wxwidgets"
+
+RDEPEND="sys-libs/zlib
+ media-libs/libzen
+ ~media-libs/lib${P}[curl=,mms=]
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+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
+ cd "${S}"/Project/GNU/${target}
+ local args=""
+ [[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui"
+ econf ${args}
+ done
+}
+
+src_compile() {
+ local target
+ for target in ${TARGETS}; do
+ cd "${S}"/Project/GNU/${target}
+ default
+ done
+}
+src_install() {
+ local target
+ for target in ${TARGETS}; do
+ cd "${S}"/Project/GNU/${target}
+ default
+ dodoc "${S}"/History_${target}.txt
+ if [[ ${target} == "GUI" ]]; then
+ newicon "${S}"/Source/Resource/Image/MediaInfo.png ${PN}.png
+ make_desktop_entry ${PN}-gui MediaInfo ${PN} "AudioVideo;GTK"
+ fi
+ done
+}
diff --git a/media-video/mediainfo/metadata.xml b/media-video/mediainfo/metadata.xml
index d9df1878d8e2..c64521e27569 100644
--- a/media-video/mediainfo/metadata.xml
+++ b/media-video/mediainfo/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>video</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <herd>video</herd>
+ <upstream>
+ <remote-id type="sourceforge">mediainfo</remote-id>
+ </upstream>
</pkgmetadata>