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