summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-06-08 03:07:52 -0400
committerTim Harder <radhermit@gentoo.org>2017-06-08 03:09:14 -0400
commit8848129d2f3fdb8559fc56b87371e99721b0ee60 (patch)
tree1357b22c58a6ef4fb22710edf6f9319084f68f53
parentmedia-libs/libmediainfo: version bump to 0.7.96 (diff)
downloadgentoo-8848129d2f3fdb8559fc56b87371e99721b0ee60.tar.gz
gentoo-8848129d2f3fdb8559fc56b87371e99721b0ee60.tar.bz2
gentoo-8848129d2f3fdb8559fc56b87371e99721b0ee60.zip
media-video/mediainfo: version bump to 0.7.96
-rw-r--r--media-video/mediainfo/Manifest1
-rw-r--r--media-video/mediainfo/mediainfo-0.7.96.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest
index 3a6854a414f8..07b50ea5d303 100644
--- a/media-video/mediainfo/Manifest
+++ b/media-video/mediainfo/Manifest
@@ -1,2 +1,3 @@
DIST mediainfo_0.7.94.tar.xz 1319020 SHA256 2cfdf11efe10bee34a87a41a84db10c184bb0cc68f0c26a8ca635e5a56a06db9 SHA512 7976cacbf7fac6bb3c5b75ab258226bb4d4eec3137c40108607f3642301f044a7beada5a426f1be489b2de52a704224adb883463bbfcfc826a2a4aa337dc7370 WHIRLPOOL 4a54d75547989fcc7811c3535b7696b785ff77823d4f5b53cebcf3708b7b05c88312cf8ea55ac664c060bc3d53cbb74e2618c5ac901f86d64cc701a7b58c6636
DIST mediainfo_0.7.95.tar.xz 1333024 SHA256 1588586bdf5e45f415ba7472e12d17fc7e7a29ef590339902ea86825352c342e SHA512 0451a713048c709d6fc43afa43fef3a2d230c605d8bad20c2b767935fc403bda8d8cc6c3da0b113102dfcfc1174866d56d15f448a00423abab8252062feb6b06 WHIRLPOOL dedba76ec51624c17a002e98ffba0480367012c50dad20b11a249fd76ebef150b429db7bc05c98fff28140fdd9a9006cb782eb6d5534f9e62ec46262bea46497
+DIST mediainfo_0.7.96.tar.xz 1323460 SHA256 fb6f0c11656fa9e5c77bb89680d4327f163e92e78362f58483bdfd4bae125d7b SHA512 55d8a7f6a22f5b590d8a131f603bcc602e7b58d0212e3f86d5b908535bc2b20d027228f7780eeaf9baa559f406079b4f1d7c69848f6c5045406b83aa2dbe5dbd WHIRLPOOL 489876b9266a25c2e9bda4c29b25cbc44484d67c07eb6d3c3528118ef57e3699cb322068827a03f55dd36e546f53372e62c5cbc7dffd6f8345982ca94bc24701
diff --git a/media-video/mediainfo/mediainfo-0.7.96.ebuild b/media-video/mediainfo/mediainfo-0.7.96.ebuild
new file mode 100644
index 000000000000..09ae01b039f6
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-0.7.96.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER="3.0"
+
+inherit eutils autotools wxwidgets
+
+DESCRIPTION="MediaInfo supplies technical and tag information about media files"
+HOMEPAGE="http://mediaarea.net/mediainfo/ https://github.com/MediaArea/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-0.4.34
+ ~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() {
+ eapply_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
+}