1 |
radhermit 15/03/02 01:25:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mkvtoolnix-7.7.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.217 media-video/mkvtoolnix/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?rev=1.217&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?rev=1.217&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?r1=1.216&r2=1.217 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v |
20 |
retrieving revision 1.216 |
21 |
retrieving revision 1.217 |
22 |
diff -u -r1.216 -r1.217 |
23 |
--- ChangeLog 8 Feb 2015 23:54:40 -0000 1.216 |
24 |
+++ ChangeLog 2 Mar 2015 01:25:15 -0000 1.217 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-video/mkvtoolnix |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.216 2015/02/08 23:54:40 radhermit Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.217 2015/03/02 01:25:15 radhermit Exp $ |
30 |
+ |
31 |
+*mkvtoolnix-7.7.0 (02 Mar 2015) |
32 |
+ |
33 |
+ 02 Mar 2015; Tim Harder <radhermit@g.o> +mkvtoolnix-7.7.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*mkvtoolnix-7.6.0 (08 Feb 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/mkvtoolnix/mkvtoolnix-7.7.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-7.7.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-7.7.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mkvtoolnix-7.7.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-7.7.0.ebuild,v 1.1 2015/03/02 01:25:15 radhermit Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
WX_GTK_VER="3.0" |
54 |
inherit eutils multilib toolchain-funcs versionator wxwidgets multiprocessing autotools |
55 |
|
56 |
DESCRIPTION="Tools to create, alter, and inspect Matroska files" |
57 |
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix" |
58 |
SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.xz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
63 |
IUSE="debug pch qt5 wxwidgets" |
64 |
|
65 |
ruby_atom() { |
66 |
local ruby_slot=${1/ruby/} |
67 |
ruby_slot="${ruby_slot:0:1}.${ruby_slot:1:2}" |
68 |
echo "dev-lang/ruby:${ruby_slot}" |
69 |
} |
70 |
|
71 |
# hacks to avoid using the ruby eclasses since this requires something similar |
72 |
# to the python-any-r1 eclass for ruby which currently doesn't exist |
73 |
RUBY_IMPLS=( ruby22 ruby21 ruby20 ) |
74 |
RUBY_BDEPS="$(for ruby_impl in "${RUBY_IMPLS[@]}"; do |
75 |
echo "( $(ruby_atom ${ruby_impl}) virtual/rubygems[ruby_targets_${ruby_impl}] )"; done)" |
76 |
|
77 |
RDEPEND=" |
78 |
>=dev-libs/libebml-1.3.1:= |
79 |
>=media-libs/libmatroska-1.4.2:= |
80 |
>=dev-libs/boost-1.46.0:= |
81 |
dev-libs/pugixml |
82 |
media-libs/flac |
83 |
media-libs/libogg |
84 |
media-libs/libvorbis |
85 |
sys-apps/file |
86 |
>=sys-devel/gcc-4.6 |
87 |
sys-libs/zlib |
88 |
qt5? ( |
89 |
dev-qt/qtcore:5 |
90 |
dev-qt/qtgui:5 |
91 |
dev-qt/qtwidgets:5 |
92 |
) |
93 |
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) |
94 |
" |
95 |
DEPEND="${RDEPEND} |
96 |
|| ( ${RUBY_BDEPS} ) |
97 |
sys-devel/gettext |
98 |
virtual/pkgconfig |
99 |
" |
100 |
|
101 |
pkg_pretend() { |
102 |
# http://bugs.gentoo.org/419257 |
103 |
local ver=4.6 |
104 |
local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support." |
105 |
if ! version_is_at_least ${ver} $(gcc-version); then |
106 |
eerror ${msg} |
107 |
die ${msg} |
108 |
fi |
109 |
} |
110 |
|
111 |
src_prepare() { |
112 |
local ruby_impl |
113 |
for ruby_impl in "${RUBY_IMPLS[@]}"; do |
114 |
if has_version "$(ruby_atom ${ruby_impl})"; then |
115 |
export RUBY=${ruby_impl} |
116 |
break |
117 |
fi |
118 |
done |
119 |
|
120 |
[[ -z ${RUBY} ]] && die "No available ruby implementations to build with" |
121 |
|
122 |
epatch "${FILESDIR}"/${PN}-5.8.0-boost-configure.patch |
123 |
eautoreconf |
124 |
} |
125 |
|
126 |
src_configure() { |
127 |
local myconf |
128 |
|
129 |
if use qt5 ; then |
130 |
# ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600 |
131 |
myconf+=( |
132 |
--with-moc=/usr/$(get_libdir)/qt5/bin/moc |
133 |
--with-uic=/usr/$(get_libdir)/qt5/bin/uic |
134 |
--with-rcc=/usr/$(get_libdir)/qt5/bin/rcc |
135 |
--with-mkvtoolnix-gui |
136 |
) |
137 |
fi |
138 |
|
139 |
if use wxwidgets ; then |
140 |
need-wxwidgets unicode |
141 |
myconf+=( --with-wx-config=${WX_CONFIG} ) |
142 |
fi |
143 |
|
144 |
econf \ |
145 |
$(use_enable debug) \ |
146 |
$(use_enable qt5 qt) \ |
147 |
$(use_enable wxwidgets) \ |
148 |
$(usex pch "" --disable-precompiled-headers) \ |
149 |
"${myconf[@]}" \ |
150 |
--disable-optimization \ |
151 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
152 |
--with-boost="${EPREFIX}"/usr \ |
153 |
--with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \ |
154 |
--without-curl |
155 |
} |
156 |
|
157 |
src_compile() { |
158 |
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
DESTDIR="${D}" "${RUBY}" ./drake -j$(makeopts_jobs) install || die |
163 |
|
164 |
dodoc AUTHORS ChangeLog README.md TODO |
165 |
doman doc/man/*.1 |
166 |
|
167 |
use wxwidgets && docompress -x /usr/share/doc/${PF}/guide |
168 |
} |