summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-12-13 23:55:12 -0500
committerTim Harder <radhermit@gentoo.org>2015-12-13 23:57:45 -0500
commit168df4246416797ae217812ddaafa1cce0c86596 (patch)
treeaef26a1dd196d7dbb0039d4a3263ab602051c057 /media-video/mediainfo
parentmedia-libs/libmediainfo: version bump to 0.7.80 (diff)
downloadgentoo-168df4246416797ae217812ddaafa1cce0c86596.tar.gz
gentoo-168df4246416797ae217812ddaafa1cce0c86596.tar.bz2
gentoo-168df4246416797ae217812ddaafa1cce0c86596.zip
media-video/mediainfo: version bump to 0.7.80
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r--media-video/mediainfo/Manifest1
-rw-r--r--media-video/mediainfo/mediainfo-0.7.80.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest
index d61ff2cd50a4..bb9d4e348034 100644
--- a/media-video/mediainfo/Manifest
+++ b/media-video/mediainfo/Manifest
@@ -1,3 +1,4 @@
DIST mediainfo_0.7.65.tar.bz2 2246510 SHA256 f035ae99eb160b1dd3129443574671631302810d71310dc72ceaa8f7a4c7e80d SHA512 6dc37cbecbe347dbe3fd2d1206b347c70a8fd2e8cd061537f015bd7510db94c1c8e84dfe74bafad3e00e2d13545a43509acf262d5db57e041ff3d7577a5d82e8 WHIRLPOOL 40a17113bc70277d9c6886430147d9e0025851b2d0bb9fd8310cc046165ce4b722d436b14e932976bc05456ba1fdf7194bf4d4b4ddba038ee0edd531635c4825
DIST mediainfo_0.7.72.tar.bz2 1293016 SHA256 2173f7e5224233374925ee60ba99d37519e2f7402e2145177c76e3f899a85813 SHA512 e40c16a4dd5c9bd35d6424d6ab962d39f863633726d0deec1a7c37a122778a5b4dcc390a821aeda7bba2b84ff3f6e19d6cae744839dc31b15f08d1c2245bf12b WHIRLPOOL 144f669c69fd29aa9fe3b306ed897362c6adf013f920cb8ca852a6dccdbf626879b07432f422d80679a4ac0325c16a42f95017fba4ff40dd634fe7177961f45e
DIST mediainfo_0.7.73.tar.bz2 1467006 SHA256 a7cae29ac45a642c6747746db150382ed88e42891b3b0bcfa59648d8838fab92 SHA512 46bfcacac8fb554ee1adbe5afb65d94330dea520bfea69fb4a0099e7da9159eedfc79023a6ca300443abfdc06caa1d455ad920957bbdb6307450ced0128dcd41 WHIRLPOOL 4fd45fd4d218bab60ea7935c0743b8ccfd218eb7790d314172f89bef1b8d33b397cfcf86bbd38de57c7c9f92bf30bbc27e262959f249506d8da00ef64c2add98
+DIST mediainfo_0.7.80.tar.xz 1293796 SHA256 2030a3075111c78282579c15eea8e5215717f19a8014490045d157b6098f3c8a SHA512 1ffaf931a21fa8cbd15a67d033d60a22b2ecba24870740d7a241f130303cca883c9df7b333b860a0a4a6ff6647418b4eb142cfbb97d4aad7725f5ad2ebbf7384 WHIRLPOOL b072a42564387860c5179f43e1233abb2406e0e21446f1a9391bdc5ca21fc8ab534cc15b38ddb4aa79ccdb79c976256db2edbad2852433aa64c9959fbc7e1003
diff --git a/media-video/mediainfo/mediainfo-0.7.80.ebuild b/media-video/mediainfo/mediainfo-0.7.80.ebuild
new file mode 100644
index 000000000000..4aacf7ba3219
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-0.7.80.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+WX_GTK_VER="3.0"
+
+inherit eutils autotools wxwidgets multilib
+
+DESCRIPTION="MediaInfo supplies technical and tag information about media files"
+HOMEPAGE="http://mediaarea.net/mediainfo/"
+SRC_URI="http://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz"
+
+LICENSE="BSD-2"
+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() {
+ epatch_user
+
+ 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
+}