1 |
commit: 6389eb1983c2da04ad43a9cbb535bcc0dbd6c1ae |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 10 02:03:47 2019 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 10 08:41:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6389eb19 |
7 |
|
8 |
media-video/mediainfo: version bump to 19.04 |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
media-video/mediainfo/Manifest | 1 + |
13 |
media-video/mediainfo/mediainfo-19.04.ebuild | 80 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest |
17 |
index d20a07c014f..d592ca38d09 100644 |
18 |
--- a/media-video/mediainfo/Manifest |
19 |
+++ b/media-video/mediainfo/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST mediainfo_18.08.1.tar.xz 1392800 BLAKE2B 426c9b560e31c10e5ba1a3d2a02e7a3cf2e89410e64ec800ff2881939d8774205eb134bfa5685866705e3fe424954edce91cdfea60e060249bb5cb7f10fa4da3 SHA512 ff807138a253dfe8ea79d568a0c742e9391709e1e0ae3c5d0ce0e5345f2306057b541e5eb2bdd6bf0032f287b2387dfc21a506698ccd2c81a9f70679cf518480 |
22 |
DIST mediainfo_18.12.tar.xz 1397888 BLAKE2B 11ee571136c2f4e82af210c0a345284c1188ef501c3ea8bd0ebad3808334d388f83abbe0e36118bc3752465ffbe989396be3c3578d124736a4579cb1fb64a031 SHA512 f5e70b075516ffa21f41d049b64f00275387366e5bad4bb331211db9e7449035bea2acbe37bf7074499ed56a01d45b8e94b078ca52334591f4dd9b985d3cc3a0 |
23 |
+DIST mediainfo_19.04.tar.xz 1732860 BLAKE2B d4bded273b8dce2be2c578d263f2d442ad5b4a37f5d8b292d34dd80ed7fe83fbacce69a4ce740f9527f2fdb9a304b6dd91c96bfe747c023ce0dddac2244eb7f4 SHA512 cb6cb3c4bc3a037267684bd850babe3ca5998954f93e86d5b25aad7c4641918546a012cf7c6df4ef8d6017c85ab159dc5ae0b18f166385f8c5cc940a6fb0b3ce |
24 |
|
25 |
diff --git a/media-video/mediainfo/mediainfo-19.04.ebuild b/media-video/mediainfo/mediainfo-19.04.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..255a3010c59 |
28 |
--- /dev/null |
29 |
+++ b/media-video/mediainfo/mediainfo-19.04.ebuild |
30 |
@@ -0,0 +1,80 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+WX_GTK_VER="3.0" |
36 |
+ |
37 |
+inherit gnome2-utils xdg-utils autotools wxwidgets |
38 |
+ |
39 |
+DESCRIPTION="MediaInfo supplies technical and tag information about media files" |
40 |
+HOMEPAGE="https://mediaarea.net/mediainfo/ https://github.com/MediaArea/MediaInfo" |
41 |
+SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="curl mms wxwidgets" |
47 |
+ |
48 |
+RDEPEND="sys-libs/zlib |
49 |
+ >=media-libs/libzen-0.4.37 |
50 |
+ ~media-libs/lib${P}[curl=,mms=] |
51 |
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ virtual/pkgconfig" |
54 |
+ |
55 |
+S=${WORKDIR}/MediaInfo |
56 |
+ |
57 |
+pkg_setup() { |
58 |
+ TARGETS="CLI" |
59 |
+ if use wxwidgets; then |
60 |
+ TARGETS+=" GUI" |
61 |
+ setup-wxwidgets |
62 |
+ fi |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ local target |
69 |
+ for target in ${TARGETS}; do |
70 |
+ cd "${S}"/Project/GNU/${target} || die |
71 |
+ sed -i -e "s:-O2::" configure.ac || die |
72 |
+ eautoreconf |
73 |
+ done |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local target |
78 |
+ for target in ${TARGETS}; do |
79 |
+ cd "${S}"/Project/GNU/${target} || die |
80 |
+ local args="" |
81 |
+ [[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui" |
82 |
+ econf ${args} |
83 |
+ done |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ local target |
88 |
+ for target in ${TARGETS}; do |
89 |
+ cd "${S}"/Project/GNU/${target} || die |
90 |
+ default |
91 |
+ done |
92 |
+} |
93 |
+src_install() { |
94 |
+ local target |
95 |
+ for target in ${TARGETS}; do |
96 |
+ cd "${S}"/Project/GNU/${target} || die |
97 |
+ default |
98 |
+ dodoc "${S}"/History_${target}.txt |
99 |
+ done |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ gnome2_icon_cache_update |
104 |
+ xdg_desktop_database_update |
105 |
+} |
106 |
+ |
107 |
+pkg_postrm() { |
108 |
+ gnome2_icon_cache_update |
109 |
+ xdg_desktop_database_update |
110 |
+} |