summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmediainfo')
-rw-r--r--media-libs/libmediainfo/Manifest3
-rw-r--r--media-libs/libmediainfo/files/libmediainfo-0.7.63-pkgconfig.patch10
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.65.ebuild79
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.72.ebuild79
-rw-r--r--media-libs/libmediainfo/libmediainfo-0.7.73.ebuild79
-rw-r--r--media-libs/libmediainfo/metadata.xml8
6 files changed, 258 insertions, 0 deletions
diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
new file mode 100644
index 000000000000..1b052acf597e
--- /dev/null
+++ b/media-libs/libmediainfo/Manifest
@@ -0,0 +1,3 @@
+DIST libmediainfo_0.7.65.tar.bz2 1030927 SHA256 afda2ab23ff25278c502f6ab2a4adcad96240157953d77555eb425d0aa46cea6 SHA512 63c697f28048d1f545ac721fc8530ddf61a9cc83ad44d9b6020c36f087b1b75af381d33f19dc8e6555a3a599206df51ea44df812ba9383a1057889b68dd8c834 WHIRLPOOL d281f59afb1916799f3f8f296581b00e99c0b7865dc118031fb198974c6981f7a261abe78a14352d1221cadacb8da1b07a9fff00f28dd33d55164946d9375870
+DIST libmediainfo_0.7.72.tar.bz2 1640978 SHA256 a61e3d58521a6b771e45eea7f7ab8b807d4e356aa2bdce639088faa3d253aed9 SHA512 67679fada3c78426abdb394ee68b6ec5b3d59bec56fd6803c5700a6c6ee02e0cb3d2a61fc15375b44d81400337ec2944fb9d2fe5321643743f4299c0af9463a6 WHIRLPOOL 08876bbe1bb3bfa2fcfe405e7b16069bc04a844f198654309eca712d393eaf4c71fc3129323144738cd5268d897d0f28f12c1af4369c8210ba6c9dff3a7dbf32
+DIST libmediainfo_0.7.73.tar.bz2 1648742 SHA256 d350dbbdc25a52f79bcb3d5e91d0a61c68a4f429c13c80166d2e37476a62feb0 SHA512 44e4d5089e4343e503117a6e125e324551ecdc8e3ec01523dd13a66652708d2f0e8e1ab1740754524f0b9847ba317f97f123034bf0b06216ad3e60b5d0f56908 WHIRLPOOL 496e463691410bf8350c31e63e5268dc2974a6b4c9fb80661d80d8738d299f3a5813044cf5057db32aa09639cc365c347c677c0c7ce759f1b953c47fd9b379c0
diff --git a/media-libs/libmediainfo/files/libmediainfo-0.7.63-pkgconfig.patch b/media-libs/libmediainfo/files/libmediainfo-0.7.63-pkgconfig.patch
new file mode 100644
index 000000000000..f8e19216f209
--- /dev/null
+++ b/media-libs/libmediainfo/files/libmediainfo-0.7.63-pkgconfig.patch
@@ -0,0 +1,10 @@
+--- MediaInfoLib/Project/GNU/Library/configure.ac
++++ MediaInfoLib/Project/GNU/Library/configure.ac
+@@ -28,6 +28,7 @@
+ AC_LIBTOOL_WIN32_DLL
+ AC_PROG_LIBTOOL
+ AC_PROG_INSTALL
++PKG_PROG_PKG_CONFIG
+
+ dnl #########################################################################
+ dnl Configure
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.65.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.65.ebuild
new file mode 100644
index 000000000000..400a45012768
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.65.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic multilib
+
+MY_PN="MediaInfo"
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="http://mediaarea.net/mediainfo/"
+SRC_URI="mirror://sourceforge/mediainfo/${PN}_${PV}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="curl doc mms static-libs"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/tinyxml2
+ >=media-libs/libzen-0.4.28[static-libs=]
+ curl? ( net-misc/curl )
+ mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
+
+src_prepare() {
+ sed -i 's:-O2::' configure.ac || die
+ append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
+
+ epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ --with-libtinyxml2 \
+ $(use_with curl libcurl) \
+ $(use_with mms libmms) \
+ $(use_enable static-libs static) \
+ $(use_enable static-libs staticlibs)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ edos2unix ${PN}.pc #414545
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${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
+
+ insinto /usr/include/${MY_PN}DLL
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
+
+ dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
+ fi
+
+ prune_libtool_files
+}
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.72.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.72.ebuild
new file mode 100644
index 000000000000..b696e04678a7
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.72.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic multilib
+
+MY_PN="MediaInfo"
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="http://mediaarea.net/mediainfo/"
+SRC_URI="mirror://sourceforge/mediainfo/${PN}_${PV}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl doc mms static-libs"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/tinyxml2:=
+ >=media-libs/libzen-0.4.28[static-libs=]
+ curl? ( net-misc/curl )
+ mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
+
+src_prepare() {
+ sed -i 's:-O2::' configure.ac || die
+ append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
+
+ epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ --with-libtinyxml2 \
+ $(use_with curl libcurl) \
+ $(use_with mms libmms) \
+ $(use_enable static-libs static) \
+ $(use_enable static-libs staticlibs)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ edos2unix ${PN}.pc #414545
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${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
+
+ insinto /usr/include/${MY_PN}DLL
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
+
+ dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
+ fi
+
+ prune_libtool_files
+}
diff --git a/media-libs/libmediainfo/libmediainfo-0.7.73.ebuild b/media-libs/libmediainfo/libmediainfo-0.7.73.ebuild
new file mode 100644
index 000000000000..b696e04678a7
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-0.7.73.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic multilib
+
+MY_PN="MediaInfo"
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="http://mediaarea.net/mediainfo/"
+SRC_URI="mirror://sourceforge/mediainfo/${PN}_${PV}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl doc mms static-libs"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/tinyxml2:=
+ >=media-libs/libzen-0.4.28[static-libs=]
+ curl? ( net-misc/curl )
+ mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
+
+src_prepare() {
+ sed -i 's:-O2::' configure.ac || die
+ append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
+
+ epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ --with-libtinyxml2 \
+ $(use_with curl libcurl) \
+ $(use_with mms libmms) \
+ $(use_enable static-libs static) \
+ $(use_enable static-libs staticlibs)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ edos2unix ${PN}.pc #414545
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${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
+
+ insinto /usr/include/${MY_PN}DLL
+ doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
+
+ dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
+ fi
+
+ prune_libtool_files
+}
diff --git a/media-libs/libmediainfo/metadata.xml b/media-libs/libmediainfo/metadata.xml
new file mode 100644
index 000000000000..7cc6e853becc
--- /dev/null
+++ b/media-libs/libmediainfo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <upstream>
+ <remote-id type="sourceforge">mediainfo</remote-id>
+ </upstream>
+</pkgmetadata>