1 |
yngwin 15/07/06 15:56:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mkvtoolnix-8.1.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.219 media-video/mkvtoolnix/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?rev=1.219&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?rev=1.219&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/ChangeLog?r1=1.218&r2=1.219 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v |
20 |
retrieving revision 1.218 |
21 |
retrieving revision 1.219 |
22 |
diff -u -r1.218 -r1.219 |
23 |
--- ChangeLog 4 Apr 2015 18:40:03 -0000 1.218 |
24 |
+++ ChangeLog 6 Jul 2015 15:56:32 -0000 1.219 |
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.218 2015/04/04 18:40:03 radhermit Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/ChangeLog,v 1.219 2015/07/06 15:56:32 yngwin Exp $ |
30 |
+ |
31 |
+*mkvtoolnix-8.1.0 (06 Jul 2015) |
32 |
+ |
33 |
+ 06 Jul 2015; Ben de Groot <yngwin@g.o> +mkvtoolnix-8.1.0.ebuild: |
34 |
+ version bump |
35 |
|
36 |
*mkvtoolnix-7.8.0 (04 Apr 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/mkvtoolnix/mkvtoolnix-8.1.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-8.1.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-8.1.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mkvtoolnix-8.1.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-8.1.0.ebuild,v 1.1 2015/07/06 15:56:32 yngwin 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/boost-1.46.0:= |
79 |
>=dev-libs/libebml-1.3.1:= |
80 |
dev-libs/pugixml |
81 |
media-libs/flac |
82 |
>=media-libs/libmatroska-1.4.2:= |
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/qtnetwork:5 |
92 |
dev-qt/qtwidgets:5 |
93 |
) |
94 |
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) |
95 |
" |
96 |
DEPEND="${RDEPEND} |
97 |
|| ( ${RUBY_BDEPS} ) |
98 |
sys-devel/gettext |
99 |
virtual/pkgconfig |
100 |
" |
101 |
|
102 |
pkg_pretend() { |
103 |
# http://bugs.gentoo.org/419257 |
104 |
local ver=4.6 |
105 |
local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support." |
106 |
if ! version_is_at_least ${ver} $(gcc-version); then |
107 |
eerror ${msg} |
108 |
die ${msg} |
109 |
fi |
110 |
} |
111 |
|
112 |
src_prepare() { |
113 |
local ruby_impl |
114 |
for ruby_impl in "${RUBY_IMPLS[@]}"; do |
115 |
if has_version "$(ruby_atom ${ruby_impl})"; then |
116 |
export RUBY=${ruby_impl} |
117 |
break |
118 |
fi |
119 |
done |
120 |
|
121 |
[[ -z ${RUBY} ]] && die "No available ruby implementations to build with" |
122 |
|
123 |
epatch "${FILESDIR}"/${PN}-5.8.0-boost-configure.patch |
124 |
eautoreconf |
125 |
} |
126 |
|
127 |
src_configure() { |
128 |
local myconf |
129 |
|
130 |
if use qt5 ; then |
131 |
# ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600 |
132 |
myconf+=( |
133 |
--with-moc=/usr/$(get_libdir)/qt5/bin/moc |
134 |
--with-uic=/usr/$(get_libdir)/qt5/bin/uic |
135 |
--with-rcc=/usr/$(get_libdir)/qt5/bin/rcc |
136 |
--with-mkvtoolnix-gui |
137 |
) |
138 |
fi |
139 |
|
140 |
if use wxwidgets ; then |
141 |
need-wxwidgets unicode |
142 |
myconf+=( --with-wx-config=${WX_CONFIG} ) |
143 |
fi |
144 |
|
145 |
econf \ |
146 |
$(use_enable debug) \ |
147 |
$(use_enable qt5 qt) \ |
148 |
$(use_enable wxwidgets) \ |
149 |
$(usex pch "" --disable-precompiled-headers) \ |
150 |
"${myconf[@]}" \ |
151 |
--disable-optimization \ |
152 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
153 |
--with-boost="${EPREFIX}"/usr \ |
154 |
--with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \ |
155 |
--without-curl |
156 |
} |
157 |
|
158 |
src_compile() { |
159 |
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
DESTDIR="${D}" "${RUBY}" ./drake -j$(makeopts_jobs) install || die |
164 |
|
165 |
dodoc AUTHORS ChangeLog README.md TODO |
166 |
doman doc/man/*.1 |
167 |
|
168 |
use wxwidgets && docompress -x /usr/share/doc/${PF}/guide |
169 |
} |