Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/avidemux-core/, media-video/avidemux/, media-libs/avidemux-plugins/, ...
Date: Thu, 05 May 2016 19:48:43
Message-Id: 1462477692.8bede8f34e19c76fbfdc0e56558d9f706cffb36b.mgorny@gentoo
1 commit: 8bede8f34e19c76fbfdc0e56558d9f706cffb36b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 5 19:43:30 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 5 19:48:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bede8f3
7
8 media-video/avidemux, media-libs/avidemux*: remove old versions
9
10 media-libs/avidemux-core/Manifest | 5 -
11 .../avidemux-core/avidemux-core-2.6.2-r1.ebuild | 117 --------------
12 .../avidemux-core/avidemux-core-2.6.3.ebuild | 100 ------------
13 .../avidemux-core/avidemux-core-2.6.4.ebuild | 99 ------------
14 .../avidemux-core/avidemux-core-2.6.5.ebuild | 111 -------------
15 .../avidemux-core/avidemux-core-2.6.7.ebuild | 111 -------------
16 media-libs/avidemux-plugins/Manifest | 5 -
17 .../avidemux-plugins-2.6.2-r2.ebuild | 93 -----------
18 .../avidemux-plugins/avidemux-plugins-2.6.3.ebuild | 126 ---------------
19 .../avidemux-plugins-2.6.4-r1.ebuild | 141 -----------------
20 .../avidemux-plugins/avidemux-plugins-2.6.4.ebuild | 126 ---------------
21 .../avidemux-plugins-2.6.5-r1.ebuild | 143 -----------------
22 .../avidemux-plugins/avidemux-plugins-2.6.5.ebuild | 143 -----------------
23 .../avidemux-plugins/avidemux-plugins-2.6.7.ebuild | 145 -----------------
24 media-video/avidemux/Manifest | 6 -
25 media-video/avidemux/avidemux-2.5.6-r2.ebuild | 172 ---------------------
26 media-video/avidemux/avidemux-2.6.2-r1.ebuild | 122 ---------------
27 media-video/avidemux/avidemux-2.6.3.ebuild | 118 --------------
28 media-video/avidemux/avidemux-2.6.4.ebuild | 118 --------------
29 media-video/avidemux/avidemux-2.6.5-r1.ebuild | 134 ----------------
30 media-video/avidemux/avidemux-2.6.5.ebuild | 129 ----------------
31 media-video/avidemux/avidemux-2.6.7.ebuild | 129 ----------------
32 .../files/avidemux-2.5.4-build-plugins-fix.patch | 13 --
33 .../avidemux-2.5.6-ffmpeg-symbol-visibility.patch | 20 ---
34 24 files changed, 2426 deletions(-)
35
36 diff --git a/media-libs/avidemux-core/Manifest b/media-libs/avidemux-core/Manifest
37 index 2938f20..418a752 100644
38 --- a/media-libs/avidemux-core/Manifest
39 +++ b/media-libs/avidemux-core/Manifest
40 @@ -1,6 +1 @@
41 -DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
42 -DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
43 -DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
44 -DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
45 -DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
46 DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
47
48 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild
49 deleted file mode 100644
50 index 789884b..0000000
51 --- a/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild
52 +++ /dev/null
53 @@ -1,117 +0,0 @@
54 -# Copyright 1999-2015 Gentoo Foundation
55 -# Distributed under the terms of the GNU General Public License v2
56 -# $Id$
57 -
58 -EAPI="5"
59 -
60 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
61 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
62 -
63 -SLOT="2.6"
64 -MY_PN="${PN/-core/}"
65 -MY_P="${MY_PN}_${PV}"
66 -
67 -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
68 -HOMEPAGE="http://fixounet.free.fr/avidemux"
69 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
70 -
71 -# Multiple licenses because of all the bundled stuff.
72 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
73 -KEYWORDS="~amd64 ~x86"
74 -IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls sdl -system-ffmpeg vorbis truetype xvid x264 xv"
75 -
76 -RDEPEND="
77 - !<media-video/avidemux-2.6.2-r1:${SLOT}
78 - >=dev-lang/spidermonkey-1.5-r2:0
79 - dev-libs/libxml2
80 - media-libs/libpng
81 - virtual/libiconv
82 - aften? ( media-libs/aften )
83 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
84 - amr? ( media-libs/opencore-amr )
85 - dts? ( media-libs/libdca )
86 - fontconfig? ( media-libs/fontconfig )
87 - jack? (
88 - media-sound/jack-audio-connection-kit
89 - libsamplerate? ( media-libs/libsamplerate )
90 - )
91 - lame? ( media-sound/lame )
92 - sdl? ( media-libs/libsdl )
93 - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
94 - truetype? ( >=media-libs/freetype-2.1.5 )
95 - x264? ( media-libs/x264:= )
96 - xv? ( x11-libs/libXv )
97 - xvid? ( media-libs/xvid )
98 - vorbis? ( media-libs/libvorbis )
99 -"
100 -DEPEND="
101 - $RDEPEND
102 - oss? ( virtual/os-headers )
103 - nls? ( sys-devel/gettext )
104 - virtual/pkgconfig
105 -"
106 -RDEPEND="
107 - nls? ( virtual/libintl:0 )
108 - $RDEPEND
109 -"
110 -S="${WORKDIR}/${MY_P}"
111 -
112 -src_prepare() {
113 - default
114 -
115 - # Preparations to support the system ffmpeg.
116 - if use system-ffmpeg ; then
117 - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
118 -
119 - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
120 - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
121 - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
122 - fi
123 -
124 - # Avoid existing avidemux installations from making the build process fail, bug #461496.
125 - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
126 -}
127 -
128 -src_configure() {
129 - local x mycmakeargs
130 -
131 - mycmakeargs="
132 - $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
133 - $(cmake-utils_use amr OPENCORE_AMRWB)
134 - $(cmake-utils_use amr OPENCORE_AMRNB)
135 - $(cmake-utils_use dts LIBDCA)
136 - $(cmake-utils_use nls GETTEXT)
137 - $(cmake-utils_use truetype FREETYPE2)
138 - $(cmake-utils_use xv XVIDEO)
139 - "
140 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
141 -
142 - mkdir "${S}"/buildCore || die "Can't creante build folder."
143 - cd "${S}"/buildCore || die "Can't enter build folder."
144 -
145 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
146 - -DCMAKE_INSTALL_PREFIX="/usr" \
147 - ${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed."
148 -}
149 -
150 -src_compile() {
151 - # Add lax vector typing for PowerPC.
152 - if use ppc || use ppc64 ; then
153 - append-cflags -flax-vector-conversions
154 - fi
155 -
156 - # See bug 432322.
157 - use x86 && replace-flags -O0 -O1
158 -
159 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
160 - cd "${S}"/buildCore || die "Can't enter build folder."
161 - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
162 -}
163 -
164 -src_install() {
165 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
166 - cd "${S}"/buildCore || die "Can't enter build folder."
167 - emake DESTDIR="${ED}" -j1 install
168 -
169 - dodoc "${S}"/{AUTHORS,README}
170 -}
171
172 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild
173 deleted file mode 100644
174 index a630a9f..0000000
175 --- a/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild
176 +++ /dev/null
177 @@ -1,100 +0,0 @@
178 -# Copyright 1999-2014 Gentoo Foundation
179 -# Distributed under the terms of the GNU General Public License v2
180 -# $Id$
181 -
182 -EAPI="5"
183 -
184 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
185 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
186 -
187 -SLOT="2.6"
188 -MY_PN="${PN/-core/}"
189 -MY_P="${MY_PN}_${PV}"
190 -
191 -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
192 -HOMEPAGE="http://fixounet.free.fr/avidemux"
193 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
194 -
195 -# Multiple licenses because of all the bundled stuff.
196 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
197 -KEYWORDS="~amd64 ~x86"
198 -IUSE="debug nls sdl system-ffmpeg vdpau xv"
199 -
200 -DEPEND="
201 - !<media-video/avidemux-${PV}:${SLOT}
202 - dev-db/sqlite
203 - sdl? ( media-libs/libsdl )
204 - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
205 - xv? ( x11-libs/libXv )
206 - vdpau? ( x11-libs/libvdpau )
207 -"
208 -RDEPEND="
209 - nls? ( virtual/libintl:0 )
210 - $DEPEND
211 -"
212 -DEPEND="
213 - $DEPEND
214 - virtual/pkgconfig
215 - nls? ( sys-devel/gettext )
216 - !system-ffmpeg? ( dev-lang/yasm[nls=] )
217 -"
218 -
219 -S="${WORKDIR}/${MY_P}"
220 -
221 -src_prepare() {
222 - default
223 -
224 - if use system-ffmpeg ; then
225 - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
226 - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
227 -
228 - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
229 - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
230 - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
231 - else
232 - # Avoid existing avidemux installations from making the build process fail, bug #461496.
233 - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
234 - fi
235 -
236 -}
237 -
238 -src_configure() {
239 - local x mycmakeargs
240 -
241 - mycmakeargs="
242 - $(cmake-utils_use nls GETTEXT)
243 - $(cmake-utils_use sdl SDL)
244 - $(cmake-utils_use vdpau VDPAU)
245 - $(cmake-utils_use xv XVIDEO)
246 - "
247 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
248 -
249 - mkdir "${S}"/buildCore || die "Can't create build folder."
250 - cd "${S}"/buildCore || die "Can't enter build folder."
251 -
252 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
253 - -DCMAKE_INSTALL_PREFIX="/usr" \
254 - ${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed."
255 -}
256 -
257 -src_compile() {
258 - # Add lax vector typing for PowerPC.
259 - if use ppc || use ppc64 ; then
260 - append-cflags -flax-vector-conversions
261 - fi
262 -
263 - # See bug 432322.
264 - use x86 && replace-flags -O0 -O1
265 -
266 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
267 - cd "${S}"/buildCore || die "Can't enter build folder."
268 - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
269 -}
270 -
271 -src_install() {
272 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
273 - cd "${S}"/buildCore || die "Can't enter build folder."
274 - emake DESTDIR="${ED}" -j1 install
275 -
276 - dodoc "${S}"/{AUTHORS,README}
277 -}
278
279 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild
280 deleted file mode 100644
281 index 5afad85..0000000
282 --- a/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild
283 +++ /dev/null
284 @@ -1,99 +0,0 @@
285 -# Copyright 1999-2014 Gentoo Foundation
286 -# Distributed under the terms of the GNU General Public License v2
287 -# $Id$
288 -
289 -EAPI="5"
290 -
291 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
292 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
293 -
294 -SLOT="2.6"
295 -MY_PN="${PN/-core/}"
296 -MY_P="${MY_PN}_${PV}"
297 -
298 -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
299 -HOMEPAGE="http://fixounet.free.fr/avidemux"
300 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
301 -
302 -# Multiple licenses because of all the bundled stuff.
303 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
304 -KEYWORDS="~amd64 ~x86"
305 -IUSE="debug nls sdl system-ffmpeg vdpau xv"
306 -
307 -DEPEND="
308 - !<media-video/avidemux-${PV}:${SLOT}
309 - dev-db/sqlite
310 - sdl? ( media-libs/libsdl )
311 - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] )
312 - xv? ( x11-libs/libXv )
313 - vdpau? ( x11-libs/libvdpau )
314 -"
315 -RDEPEND="
316 - nls? ( virtual/libintl:0 )
317 - $DEPEND
318 -"
319 -DEPEND="
320 - $DEPEND
321 - virtual/pkgconfig
322 - nls? ( sys-devel/gettext )
323 - !system-ffmpeg? ( dev-lang/yasm[nls=] )
324 -"
325 -
326 -S="${WORKDIR}/${MY_P}"
327 -
328 -src_prepare() {
329 - default
330 -
331 - if use system-ffmpeg ; then
332 - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
333 - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg."
334 -
335 - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
336 - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg."
337 - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg."
338 - else
339 - # Avoid existing avidemux installations from making the build process fail, bug #461496.
340 - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail."
341 - fi
342 -}
343 -
344 -src_configure() {
345 - local mycmakeargs="
346 - -DAVIDEMUX_SOURCE_DIR='${S}'
347 - -DCMAKE_INSTALL_PREFIX='/usr'
348 - $(cmake-utils_use nls GETTEXT)
349 - $(cmake-utils_use sdl SDL)
350 - $(cmake-utils_use vdpau VDPAU)
351 - $(cmake-utils_use xv XVIDEO)
352 - "
353 - if use debug ; then
354 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
355 - fi
356 -
357 - local build="${S}"/buildCore
358 - mkdir ${build} || die "Can't create build folder."
359 - cd ${build} || die "Can't enter build folder."
360 - CMAKE_USE_DIR="${S}"/avidemux_core BUILD_DIR=${build} cmake-utils_src_configure
361 -}
362 -
363 -src_compile() {
364 - # Add lax vector typing for PowerPC.
365 - if use ppc || use ppc64 ; then
366 - append-cflags -flax-vector-conversions
367 - fi
368 -
369 - # See bug 432322.
370 - use x86 && replace-flags -O0 -O1
371 -
372 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
373 - cd "${S}"/buildCore || die "Can't enter build folder."
374 - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)"
375 -}
376 -
377 -src_install() {
378 - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code.
379 - cd "${S}"/buildCore || die "Can't enter build folder."
380 - emake DESTDIR="${ED}" -j1 install
381 -
382 - dodoc "${S}"/{AUTHORS,README}
383 -}
384
385 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild
386 deleted file mode 100644
387 index 43228d5..0000000
388 --- a/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild
389 +++ /dev/null
390 @@ -1,111 +0,0 @@
391 -# Copyright 1999-2015 Gentoo Foundation
392 -# Distributed under the terms of the GNU General Public License v2
393 -# $Id$
394 -
395 -EAPI="5"
396 -
397 -inherit cmake-utils eutils flag-o-matic
398 -
399 -SLOT="2.6"
400 -
401 -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
402 -HOMEPAGE="http://fixounet.free.fr/avidemux"
403 -
404 -# Multiple licenses because of all the bundled stuff.
405 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
406 -IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
407 -KEYWORDS="~amd64 ~x86"
408 -
409 -MY_PN="${PN/-core/}"
410 -if [[ ${PV} == *9999* ]] ; then
411 - KEYWORDS=""
412 - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
413 -
414 - inherit git-2
415 -else
416 - MY_P="${MY_PN}_${PV}"
417 - SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
418 -fi
419 -
420 -# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
421 -DEPEND="
422 - !<media-video/avidemux-${PV}:${SLOT}
423 - dev-db/sqlite:3
424 - sdl? ( media-libs/libsdl:0 )
425 - system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] )
426 - xv? ( x11-libs/libXv:0 )
427 - vaapi? ( x11-libs/libva:0 )
428 - vdpau? ( x11-libs/libvdpau:0 )
429 - video_cards_fglrx? (
430 - || ( >=x11-drivers/ati-drivers-14.12-r3
431 - x11-libs/xvba-video:0 )
432 - )"
433 -RDEPEND="
434 - nls? ( virtual/libintl:0 )
435 - $DEPEND
436 -"
437 -DEPEND="
438 - $DEPEND
439 - virtual/pkgconfig
440 - nls? ( sys-devel/gettext )
441 - !system-ffmpeg? ( dev-lang/yasm[nls=] )
442 -"
443 -
444 -S="${WORKDIR}/${MY_P}"
445 -BUILD_DIR="${S}/buildCore"
446 -
447 -DOCS=( AUTHORS README )
448 -
449 -src_prepare() {
450 - mkdir "${BUILD_DIR}" || die "Can't create build folder."
451 -
452 - cmake-utils_src_prepare
453 -
454 - if use system-ffmpeg ; then
455 - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
456 - local error="Failed to remove ffmpeg."
457 -
458 - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}"
459 - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}"
460 - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}"
461 - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}"
462 - else
463 - # Avoid existing avidemux installations from making the build process fail, bug #461496.
464 - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \
465 - || die "Failed to avoid existing avidemux installation from making the build fail."
466 - fi
467 -
468 - # Add lax vector typing for PowerPC.
469 - if use ppc || use ppc64 ; then
470 - append-cflags -flax-vector-conversions
471 - fi
472 -
473 - # See bug 432322.
474 - use x86 && replace-flags -O0 -O1
475 -}
476 -
477 -src_configure() {
478 - local mycmakeargs="
479 - -DAVIDEMUX_SOURCE_DIR='${S}'
480 - $(cmake-utils_use nls GETTEXT)
481 - $(cmake-utils_use sdl SDL)
482 - $(cmake-utils_use vaapi LIBVA)
483 - $(cmake-utils_use vdpau VDPAU)
484 - $(cmake-utils_use video_cards_fglrx XVBA)
485 - $(cmake-utils_use xv XVIDEO)
486 - "
487 -
488 - if use debug ; then
489 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
490 - fi
491 -
492 - CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure
493 -}
494 -
495 -src_compile() {
496 - cmake-utils_src_compile -j1
497 -}
498 -
499 -src_install() {
500 - cmake-utils_src_install -j1
501 -}
502
503 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild
504 deleted file mode 100644
505 index 29a9ee6..0000000
506 --- a/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild
507 +++ /dev/null
508 @@ -1,111 +0,0 @@
509 -# Copyright 1999-2015 Gentoo Foundation
510 -# Distributed under the terms of the GNU General Public License v2
511 -# $Id$
512 -
513 -EAPI="5"
514 -
515 -inherit cmake-utils eutils flag-o-matic
516 -
517 -SLOT="2.6"
518 -
519 -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks"
520 -HOMEPAGE="http://fixounet.free.fr/avidemux"
521 -
522 -# Multiple licenses because of all the bundled stuff.
523 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
524 -IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
525 -KEYWORDS="~amd64 ~x86"
526 -
527 -MY_PN="${PN/-core/}"
528 -if [[ ${PV} == *9999* ]] ; then
529 - KEYWORDS=""
530 - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
531 -
532 - inherit git-2
533 -else
534 - MY_P="${MY_PN}_${PV}"
535 - SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
536 -fi
537 -
538 -# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
539 -DEPEND="
540 - !<media-video/avidemux-${PV}:${SLOT}
541 - dev-db/sqlite:3
542 - sdl? ( media-libs/libsdl:0 )
543 - system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] )
544 - xv? ( x11-libs/libXv:0 )
545 - vaapi? ( x11-libs/libva:0 )
546 - vdpau? ( x11-libs/libvdpau:0 )
547 - video_cards_fglrx? (
548 - || ( >=x11-drivers/ati-drivers-14.12-r3
549 - x11-libs/xvba-video:0 )
550 - )"
551 -RDEPEND="
552 - nls? ( virtual/libintl:0 )
553 - $DEPEND
554 -"
555 -DEPEND="
556 - $DEPEND
557 - virtual/pkgconfig
558 - nls? ( sys-devel/gettext )
559 - !system-ffmpeg? ( dev-lang/yasm[nls=] )
560 -"
561 -
562 -S="${WORKDIR}/${MY_P}"
563 -BUILD_DIR="${S}/buildCore"
564 -
565 -DOCS=( AUTHORS README )
566 -
567 -src_prepare() {
568 - mkdir "${BUILD_DIR}" || die "Can't create build folder."
569 -
570 - cmake-utils_src_prepare
571 -
572 - if use system-ffmpeg ; then
573 - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install.
574 - local error="Failed to remove ffmpeg."
575 -
576 - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}"
577 - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}"
578 - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}"
579 - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}"
580 - else
581 - # Avoid existing avidemux installations from making the build process fail, bug #461496.
582 - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \
583 - || die "Failed to avoid existing avidemux installation from making the build fail."
584 - fi
585 -
586 - # Add lax vector typing for PowerPC.
587 - if use ppc || use ppc64 ; then
588 - append-cflags -flax-vector-conversions
589 - fi
590 -
591 - # See bug 432322.
592 - use x86 && replace-flags -O0 -O1
593 -}
594 -
595 -src_configure() {
596 - local mycmakeargs="
597 - -DAVIDEMUX_SOURCE_DIR='${S}'
598 - $(cmake-utils_use nls GETTEXT)
599 - $(cmake-utils_use sdl SDL)
600 - $(cmake-utils_use vaapi LIBVA)
601 - $(cmake-utils_use vdpau VDPAU)
602 - $(cmake-utils_use video_cards_fglrx XVBA)
603 - $(cmake-utils_use xv XVIDEO)
604 - "
605 -
606 - if use debug ; then
607 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
608 - fi
609 -
610 - CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure
611 -}
612 -
613 -src_compile() {
614 - cmake-utils_src_compile -j1
615 -}
616 -
617 -src_install() {
618 - cmake-utils_src_install -j1
619 -}
620
621 diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest
622 index 2938f20..418a752 100644
623 --- a/media-libs/avidemux-plugins/Manifest
624 +++ b/media-libs/avidemux-plugins/Manifest
625 @@ -1,6 +1 @@
626 -DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
627 -DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
628 -DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
629 -DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
630 -DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
631 DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
632
633 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r2.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r2.ebuild
634 deleted file mode 100644
635 index 826b435..0000000
636 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r2.ebuild
637 +++ /dev/null
638 @@ -1,93 +0,0 @@
639 -# Copyright 1999-2015 Gentoo Foundation
640 -# Distributed under the terms of the GNU General Public License v2
641 -# $Id$
642 -
643 -EAPI="5"
644 -
645 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
646 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
647 -
648 -SLOT="2.6"
649 -MY_PN="${PN/-plugins/}"
650 -MY_P="${MY_PN}_${PV}"
651 -
652 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
653 -HOMEPAGE="http://fixounet.free.fr/avidemux"
654 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
655 -
656 -# Multiple licenses because of all the bundled stuff.
657 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
658 -KEYWORDS="~amd64 ~x86"
659 -IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls qt4 sdl vorbis truetype xvid x264 xv"
660 -
661 -# TODO: Figure out which dependencies can be moved out of avidemux-core and avidemux into here.
662 -RDEPEND="=media-video/avidemux-${PV}-r1"
663 -DEPEND="$RDEPEND"
664 -
665 -S="${WORKDIR}/${MY_P}"
666 -
667 -PROCESSES="buildPluginsCommon:avidemux_plugins
668 - buildPluginsCLI:avidemux_plugins"
669 -
670 -use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
671 -
672 -src_configure() {
673 - local x mycmakeargs plugin_ui
674 -
675 - mycmakeargs="
676 - $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
677 - $(cmake-utils_use amr OPENCORE_AMRWB)
678 - $(cmake-utils_use amr OPENCORE_AMRNB)
679 - $(cmake-utils_use dts LIBDCA)
680 - $(cmake-utils_use nls GETTEXT)
681 - $(cmake-utils_use truetype FREETYPE2)
682 - $(cmake-utils_use xv XVIDEO)
683 - "
684 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
685 -
686 - for PROCESS in ${PROCESSES} ; do
687 - SOURCE="${PROCESS%%:*}"
688 - DEST="${PROCESS#*:}"
689 -
690 - mkdir "${S}"/${SOURCE} || die "Can't create build folder."
691 - cd "${S}"/${SOURCE} || die "Can't enter build folder."
692 -
693 - if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
694 - plugin_ui="-DPLUGIN_UI=COMMON"
695 - elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
696 - plugin_ui="-DPLUGIN_UI=CLI"
697 - elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
698 - plugin_ui="-DPLUGIN_UI=QT4"
699 - fi
700 -
701 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
702 - -DCMAKE_INSTALL_PREFIX="/usr" \
703 - ${mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
704 - done
705 -}
706 -
707 -src_compile() {
708 - # Add lax vector typing for PowerPC.
709 - if use ppc || use ppc64 ; then
710 - append-cflags -flax-vector-conversions
711 - fi
712 -
713 - # See bug 432322.
714 - use x86 && replace-flags -O0 -O1
715 -
716 - for PROCESS in ${PROCESSES} ; do
717 - SOURCE="${PROCESS%%:*}"
718 -
719 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
720 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
721 - done
722 -}
723 -
724 -src_install() {
725 - for PROCESS in ${PROCESSES} ; do
726 - SOURCE="${PROCESS%%:*}"
727 -
728 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
729 - emake DESTDIR="${ED}" install
730 - done
731 -}
732
733 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.3.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.3.ebuild
734 deleted file mode 100644
735 index 11ad390..0000000
736 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.3.ebuild
737 +++ /dev/null
738 @@ -1,126 +0,0 @@
739 -# Copyright 1999-2015 Gentoo Foundation
740 -# Distributed under the terms of the GNU General Public License v2
741 -# $Id$
742 -
743 -EAPI="5"
744 -
745 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
746 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
747 -
748 -SLOT="2.6"
749 -MY_PN="${PN/-plugins/}"
750 -MY_P="${MY_PN}_${PV}"
751 -
752 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
753 -HOMEPAGE="http://fixounet.free.fr/avidemux"
754 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
755 -
756 -# Multiple licenses because of all the bundled stuff.
757 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
758 -KEYWORDS="~amd64 ~x86"
759 -IUSE="aften a52 alsa amr debug dts faac faad fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss qt4 vorbis truetype twolame xvid x264 vpx"
760 -
761 -DEPEND="
762 - =media-video/avidemux-${PV}[opengl?,qt4?]
763 - >=dev-lang/spidermonkey-1.5-r2:0
764 - dev-libs/libxml2
765 - media-libs/libpng
766 - virtual/libiconv
767 - aften? ( media-libs/aften )
768 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
769 - amr? ( media-libs/opencore-amr )
770 - dts? ( media-libs/libdca )
771 - faac? ( media-libs/faac )
772 - faad? ( media-libs/faad2 )
773 - fontconfig? ( media-libs/fontconfig )
774 - fribidi? ( dev-libs/fribidi )
775 - jack? (
776 - media-sound/jack-audio-connection-kit
777 - libsamplerate? ( media-libs/libsamplerate )
778 - )
779 - lame? ( media-sound/lame )
780 - oss? ( virtual/os-headers )
781 - truetype? ( >=media-libs/freetype-2.1.5 )
782 - twolame? ( media-sound/twolame )
783 - x264? ( media-libs/x264:= )
784 - xvid? ( media-libs/xvid )
785 - vorbis? ( media-libs/libvorbis )
786 - vpx? ( media-libs/libvpx )
787 -"
788 -RDEPEND="$DEPEND"
789 -
790 -S="${WORKDIR}/${MY_P}"
791 -
792 -PROCESSES="buildPluginsCommon:avidemux_plugins
793 - buildPluginsCLI:avidemux_plugins"
794 -
795 -use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
796 -
797 -src_configure() {
798 - local x mycmakeargs plugin_ui extra_mycmakeargs
799 -
800 - mycmakeargs="
801 - $(cmake-utils_use fontconfig FONTCONFIG)
802 - $(cmake-utils_use truetype FREETYPE2)
803 - $(cmake-utils_use x264 X264)
804 - "
805 -
806 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
807 -
808 - for PROCESS in ${PROCESSES} ; do
809 - SOURCE="${PROCESS%%:*}"
810 - DEST="${PROCESS#*:}"
811 -
812 - mkdir "${S}"/${SOURCE} || die "Can't create build folder."
813 - cd "${S}"/${SOURCE} || die "Can't enter build folder."
814 -
815 - if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
816 - plugin_ui="-DPLUGIN_UI=COMMON"
817 -
818 - extra_mycmakeargs="
819 - $(cmake-utils_use amr OPENCORE_AMRWB)
820 - $(cmake-utils_use amr OPENCORE_AMRNB)
821 - $(cmake-utils_use dts LIBDCA)
822 - $(cmake-utils_use faad FAAD)
823 - $(cmake-utils_use jack JACK)
824 - $(cmake-utils_use vorbis VORBIS)
825 - "
826 - elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
827 - plugin_ui="-DPLUGIN_UI=CLI"
828 - extra_mycmakeargs=""
829 - elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
830 - plugin_ui="-DPLUGIN_UI=QT4"
831 - extra_mycmakeargs=""
832 - fi
833 -
834 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
835 - -DCMAKE_INSTALL_PREFIX="/usr" \
836 - ${mycmakeargs} ${extra_mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
837 - done
838 -}
839 -
840 -src_compile() {
841 - # Add lax vector typing for PowerPC.
842 - if use ppc || use ppc64 ; then
843 - append-cflags -flax-vector-conversions
844 - fi
845 -
846 - # See bug 432322.
847 - use x86 && replace-flags -O0 -O1
848 -
849 - for PROCESS in ${PROCESSES} ; do
850 - SOURCE="${PROCESS%%:*}"
851 -
852 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
853 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
854 - done
855 -}
856 -
857 -src_install() {
858 - for PROCESS in ${PROCESSES} ; do
859 - SOURCE="${PROCESS%%:*}"
860 -
861 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
862 - emake DESTDIR="${ED}" install
863 - done
864 -}
865
866 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.4-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.4-r1.ebuild
867 deleted file mode 100644
868 index faebc53..0000000
869 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.4-r1.ebuild
870 +++ /dev/null
871 @@ -1,141 +0,0 @@
872 -# Copyright 1999-2015 Gentoo Foundation
873 -# Distributed under the terms of the GNU General Public License v2
874 -# $Id$
875 -
876 -EAPI="5"
877 -
878 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
879 -
880 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
881 -
882 -SLOT="2.6"
883 -MY_PN="${PN/-plugins/}"
884 -MY_P="${MY_PN}_${PV}"
885 -
886 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
887 -HOMEPAGE="http://fixounet.free.fr/avidemux"
888 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
889 -
890 -# Multiple licenses because of all the bundled stuff.
891 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
892 -KEYWORDS="~amd64 ~x86"
893 -IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
894 -
895 -DEPEND="
896 - ~media-video/avidemux-${PV}[opengl?,qt4?]
897 - >=dev-lang/spidermonkey-1.5-r2:0
898 - dev-libs/libxml2
899 - media-libs/libpng
900 - virtual/libiconv
901 - aac? (
902 - media-libs/faac
903 - media-libs/faad2
904 - )
905 - aften? ( media-libs/aften )
906 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
907 - amr? ( media-libs/opencore-amr )
908 - dts? ( media-libs/libdca )
909 - fontconfig? ( media-libs/fontconfig )
910 - fribidi? ( dev-libs/fribidi )
911 - jack? (
912 - media-sound/jack-audio-connection-kit
913 - libsamplerate? ( media-libs/libsamplerate )
914 - )
915 - lame? ( media-sound/lame )
916 - oss? ( virtual/os-headers )
917 - pulseaudio? ( media-sound/pulseaudio )
918 - truetype? ( media-libs/freetype:2 )
919 - twolame? ( media-sound/twolame )
920 - x264? ( media-libs/x264:= )
921 - xv? (
922 - x11-libs/libX11
923 - x11-libs/libXext
924 - x11-libs/libXv
925 - )
926 - xvid? ( media-libs/xvid )
927 - vorbis? ( media-libs/libvorbis )
928 - vpx? ( media-libs/libvpx )
929 -"
930 -RDEPEND="$DEPEND"
931 -
932 -S="${WORKDIR}/${MY_P}"
933 -
934 -processes="buildPluginsCommon:avidemux_plugins
935 - buildPluginsCLI:avidemux_plugins"
936 -
937 -use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
938 -
939 -src_prepare() {
940 - epatch "${FILESDIR}"/${P}-optional-pulse.patch
941 -}
942 -
943 -src_configure() {
944 - for process in ${processes} ; do
945 - local mycmakeargs="
946 - -DAVIDEMUX_SOURCE_DIR='${S}'
947 - -DCMAKE_INSTALL_PREFIX='/usr'
948 - $(cmake-utils_use aac FAAC)
949 - $(cmake-utils_use aac FAAD)
950 - $(cmake-utils_use alsa)
951 - $(cmake-utils_use aften)
952 - $(cmake-utils_use amr OPENCORE_AMRWB)
953 - $(cmake-utils_use amr OPENCORE_AMRNB)
954 - $(cmake-utils_use dts LIBDCA)
955 - $(cmake-utils_use fontconfig)
956 - $(cmake-utils_use jack)
957 - $(cmake-utils_use lame)
958 - $(cmake-utils_use oss)
959 - $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
960 - $(cmake-utils_use qt4)
961 - $(cmake-utils_use truetype FREETYPE2)
962 - $(cmake-utils_use twolame)
963 - $(cmake-utils_use x264)
964 - $(cmake-utils_use xv XVIDEO)
965 - $(cmake-utils_use xvid)
966 - $(cmake-utils_use vorbis)
967 - $(cmake-utils_use vorbis LIBVORBIS)
968 - $(cmake-utils_use vpx VPXDEC)
969 - "
970 -
971 - if use debug ; then
972 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
973 - fi
974 -
975 - local build="${process%%:*}"
976 -
977 - if [[ "${build}" == "buildPluginsCommon" ]] ; then
978 - mycmakeargs+=" -DPLUGIN_UI=COMMON"
979 - elif [[ "${build}" == "buildPluginsCLI" ]] ; then
980 - mycmakeargs+=" -DPLUGIN_UI=CLI"
981 - elif [[ "${build}" == "buildPluginsQt4" ]] ; then
982 - mycmakeargs+=" -DPLUGIN_UI=QT4"
983 - fi
984 -
985 - mkdir "${S}"/${build} || die "Can't create build folder."
986 - cd "${S}"/${build} || die "Can't enter build folder."
987 -
988 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
989 - done
990 -}
991 -
992 -src_compile() {
993 - # Add lax vector typing for PowerPC.
994 - if use ppc || use ppc64 ; then
995 - append-cflags -flax-vector-conversions
996 - fi
997 -
998 - # See bug 432322.
999 - use x86 && replace-flags -O0 -O1
1000 -
1001 - for process in ${processes} ; do
1002 - cd "${S}"/${process%%:*} || die "Can't enter build folder."
1003 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
1004 - done
1005 -}
1006 -
1007 -src_install() {
1008 - for process in ${processes} ; do
1009 - cd "${S}"/${process%%:*} || die "Can't enter build folder."
1010 - emake DESTDIR="${ED}" install
1011 - done
1012 -}
1013
1014 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.4.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.4.ebuild
1015 deleted file mode 100644
1016 index 11ad390..0000000
1017 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.4.ebuild
1018 +++ /dev/null
1019 @@ -1,126 +0,0 @@
1020 -# Copyright 1999-2015 Gentoo Foundation
1021 -# Distributed under the terms of the GNU General Public License v2
1022 -# $Id$
1023 -
1024 -EAPI="5"
1025 -
1026 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
1027 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
1028 -
1029 -SLOT="2.6"
1030 -MY_PN="${PN/-plugins/}"
1031 -MY_P="${MY_PN}_${PV}"
1032 -
1033 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
1034 -HOMEPAGE="http://fixounet.free.fr/avidemux"
1035 -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
1036 -
1037 -# Multiple licenses because of all the bundled stuff.
1038 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1039 -KEYWORDS="~amd64 ~x86"
1040 -IUSE="aften a52 alsa amr debug dts faac faad fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss qt4 vorbis truetype twolame xvid x264 vpx"
1041 -
1042 -DEPEND="
1043 - =media-video/avidemux-${PV}[opengl?,qt4?]
1044 - >=dev-lang/spidermonkey-1.5-r2:0
1045 - dev-libs/libxml2
1046 - media-libs/libpng
1047 - virtual/libiconv
1048 - aften? ( media-libs/aften )
1049 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
1050 - amr? ( media-libs/opencore-amr )
1051 - dts? ( media-libs/libdca )
1052 - faac? ( media-libs/faac )
1053 - faad? ( media-libs/faad2 )
1054 - fontconfig? ( media-libs/fontconfig )
1055 - fribidi? ( dev-libs/fribidi )
1056 - jack? (
1057 - media-sound/jack-audio-connection-kit
1058 - libsamplerate? ( media-libs/libsamplerate )
1059 - )
1060 - lame? ( media-sound/lame )
1061 - oss? ( virtual/os-headers )
1062 - truetype? ( >=media-libs/freetype-2.1.5 )
1063 - twolame? ( media-sound/twolame )
1064 - x264? ( media-libs/x264:= )
1065 - xvid? ( media-libs/xvid )
1066 - vorbis? ( media-libs/libvorbis )
1067 - vpx? ( media-libs/libvpx )
1068 -"
1069 -RDEPEND="$DEPEND"
1070 -
1071 -S="${WORKDIR}/${MY_P}"
1072 -
1073 -PROCESSES="buildPluginsCommon:avidemux_plugins
1074 - buildPluginsCLI:avidemux_plugins"
1075 -
1076 -use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
1077 -
1078 -src_configure() {
1079 - local x mycmakeargs plugin_ui extra_mycmakeargs
1080 -
1081 - mycmakeargs="
1082 - $(cmake-utils_use fontconfig FONTCONFIG)
1083 - $(cmake-utils_use truetype FREETYPE2)
1084 - $(cmake-utils_use x264 X264)
1085 - "
1086 -
1087 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
1088 -
1089 - for PROCESS in ${PROCESSES} ; do
1090 - SOURCE="${PROCESS%%:*}"
1091 - DEST="${PROCESS#*:}"
1092 -
1093 - mkdir "${S}"/${SOURCE} || die "Can't create build folder."
1094 - cd "${S}"/${SOURCE} || die "Can't enter build folder."
1095 -
1096 - if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
1097 - plugin_ui="-DPLUGIN_UI=COMMON"
1098 -
1099 - extra_mycmakeargs="
1100 - $(cmake-utils_use amr OPENCORE_AMRWB)
1101 - $(cmake-utils_use amr OPENCORE_AMRNB)
1102 - $(cmake-utils_use dts LIBDCA)
1103 - $(cmake-utils_use faad FAAD)
1104 - $(cmake-utils_use jack JACK)
1105 - $(cmake-utils_use vorbis VORBIS)
1106 - "
1107 - elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
1108 - plugin_ui="-DPLUGIN_UI=CLI"
1109 - extra_mycmakeargs=""
1110 - elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
1111 - plugin_ui="-DPLUGIN_UI=QT4"
1112 - extra_mycmakeargs=""
1113 - fi
1114 -
1115 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
1116 - -DCMAKE_INSTALL_PREFIX="/usr" \
1117 - ${mycmakeargs} ${extra_mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
1118 - done
1119 -}
1120 -
1121 -src_compile() {
1122 - # Add lax vector typing for PowerPC.
1123 - if use ppc || use ppc64 ; then
1124 - append-cflags -flax-vector-conversions
1125 - fi
1126 -
1127 - # See bug 432322.
1128 - use x86 && replace-flags -O0 -O1
1129 -
1130 - for PROCESS in ${PROCESSES} ; do
1131 - SOURCE="${PROCESS%%:*}"
1132 -
1133 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
1134 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
1135 - done
1136 -}
1137 -
1138 -src_install() {
1139 - for PROCESS in ${PROCESSES} ; do
1140 - SOURCE="${PROCESS%%:*}"
1141 -
1142 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
1143 - emake DESTDIR="${ED}" install
1144 - done
1145 -}
1146
1147 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild
1148 deleted file mode 100644
1149 index 34ed5cf..0000000
1150 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild
1151 +++ /dev/null
1152 @@ -1,143 +0,0 @@
1153 -# Copyright 1999-2015 Gentoo Foundation
1154 -# Distributed under the terms of the GNU General Public License v2
1155 -# $Id$
1156 -
1157 -EAPI="5"
1158 -
1159 -PYTHON_COMPAT=( python2_7 )
1160 -
1161 -inherit cmake-utils eutils flag-o-matic python-single-r1
1162 -
1163 -SLOT="2.6"
1164 -
1165 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
1166 -HOMEPAGE="http://fixounet.free.fr/avidemux"
1167 -
1168 -# Multiple licenses because of all the bundled stuff.
1169 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1170 -IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
1171 -KEYWORDS="~amd64 ~x86"
1172 -
1173 -MY_PN="${PN/-plugins/}"
1174 -if [[ ${PV} == *9999* ]] ; then
1175 - KEYWORDS=""
1176 - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
1177 -
1178 - inherit git-2
1179 -else
1180 - MY_P="${MY_PN}_${PV}"
1181 - SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
1182 -fi
1183 -
1184 -DEPEND="
1185 - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
1186 - >=dev-lang/spidermonkey-1.5-r2:0=
1187 - dev-libs/libxml2:2
1188 - media-libs/libpng:0=
1189 - virtual/libiconv:0
1190 - aac? (
1191 - media-libs/faac:0
1192 - media-libs/faad2:0
1193 - )
1194 - aften? ( media-libs/aften:0 )
1195 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
1196 - amr? ( media-libs/opencore-amr:0 )
1197 - dts? ( media-libs/libdca:0 )
1198 - fontconfig? ( media-libs/fontconfig:1.0 )
1199 - fribidi? ( dev-libs/fribidi:0 )
1200 - jack? (
1201 - media-sound/jack-audio-connection-kit:0
1202 - libsamplerate? ( media-libs/libsamplerate:0 )
1203 - )
1204 - lame? ( media-sound/lame:0 )
1205 - oss? ( virtual/os-headers:0 )
1206 - pulseaudio? ( media-sound/pulseaudio:0 )
1207 - truetype? ( media-libs/freetype:2 )
1208 - twolame? ( media-sound/twolame:0 )
1209 - x264? ( media-libs/x264:0= )
1210 - xv? (
1211 - x11-libs/libX11:0
1212 - x11-libs/libXext:0
1213 - x11-libs/libXv:0
1214 - )
1215 - xvid? ( media-libs/xvid:0 )
1216 - vorbis? ( media-libs/libvorbis:0 )
1217 - vpx? ( media-libs/libvpx:0 )
1218 - ${PYTHON_DEPS}
1219 -"
1220 -RDEPEND="$DEPEND"
1221 -
1222 -S="${WORKDIR}/${MY_P}"
1223 -
1224 -processes="buildPluginsCommon:avidemux_plugins
1225 - buildPluginsCLI:avidemux_plugins"
1226 -use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
1227 -
1228 -PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
1229 -
1230 -src_configure() {
1231 - # Add lax vector typing for PowerPC.
1232 - if use ppc || use ppc64 ; then
1233 - append-cflags -flax-vector-conversions
1234 - fi
1235 -
1236 - # See bug 432322.
1237 - use x86 && replace-flags -O0 -O1
1238 -
1239 - for process in ${processes} ; do
1240 - local build="${process%%:*}"
1241 -
1242 - local mycmakeargs="
1243 - -DAVIDEMUX_SOURCE_DIR='${S}'
1244 - -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
1245 - $(cmake-utils_use aac FAAC)
1246 - $(cmake-utils_use aac FAAD)
1247 - $(cmake-utils_use alsa)
1248 - $(cmake-utils_use aften)
1249 - $(cmake-utils_use amr OPENCORE_AMRWB)
1250 - $(cmake-utils_use amr OPENCORE_AMRNB)
1251 - $(cmake-utils_use dts LIBDCA)
1252 - $(cmake-utils_use fontconfig)
1253 - $(cmake-utils_use jack)
1254 - $(cmake-utils_use lame)
1255 - $(cmake-utils_use oss)
1256 - $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
1257 - $(cmake-utils_use qt4)
1258 - $(cmake-utils_use truetype FREETYPE2)
1259 - $(cmake-utils_use twolame)
1260 - $(cmake-utils_use x264)
1261 - $(cmake-utils_use xv XVIDEO)
1262 - $(cmake-utils_use xvid)
1263 - $(cmake-utils_use vorbis)
1264 - $(cmake-utils_use vorbis LIBVORBIS)
1265 - $(cmake-utils_use vpx VPXDEC)
1266 - "
1267 -
1268 - if use debug ; then
1269 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
1270 - fi
1271 -
1272 - mkdir "${S}"/${build} || die "Can't create build folder."
1273 -
1274 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
1275 - done
1276 -}
1277 -
1278 -src_compile() {
1279 - for process in ${processes} ; do
1280 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
1281 - done
1282 -}
1283 -
1284 -src_install() {
1285 - for process in ${processes} ; do
1286 - # cmake-utils_src_install doesn't respect BUILD_DIR
1287 - # and there sometimes is a preinstall phase present.
1288 - pushd "${S}/${process%%:*}" > /dev/null || die
1289 - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
1290 - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
1291 - popd > /dev/null || die
1292 - done
1293 -
1294 - python_fix_shebang "${D}"
1295 -}
1296
1297 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.5.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.5.ebuild
1298 deleted file mode 100644
1299 index 34ed5cf..0000000
1300 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.5.ebuild
1301 +++ /dev/null
1302 @@ -1,143 +0,0 @@
1303 -# Copyright 1999-2015 Gentoo Foundation
1304 -# Distributed under the terms of the GNU General Public License v2
1305 -# $Id$
1306 -
1307 -EAPI="5"
1308 -
1309 -PYTHON_COMPAT=( python2_7 )
1310 -
1311 -inherit cmake-utils eutils flag-o-matic python-single-r1
1312 -
1313 -SLOT="2.6"
1314 -
1315 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
1316 -HOMEPAGE="http://fixounet.free.fr/avidemux"
1317 -
1318 -# Multiple licenses because of all the bundled stuff.
1319 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1320 -IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx"
1321 -KEYWORDS="~amd64 ~x86"
1322 -
1323 -MY_PN="${PN/-plugins/}"
1324 -if [[ ${PV} == *9999* ]] ; then
1325 - KEYWORDS=""
1326 - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
1327 -
1328 - inherit git-2
1329 -else
1330 - MY_P="${MY_PN}_${PV}"
1331 - SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
1332 -fi
1333 -
1334 -DEPEND="
1335 - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
1336 - >=dev-lang/spidermonkey-1.5-r2:0=
1337 - dev-libs/libxml2:2
1338 - media-libs/libpng:0=
1339 - virtual/libiconv:0
1340 - aac? (
1341 - media-libs/faac:0
1342 - media-libs/faad2:0
1343 - )
1344 - aften? ( media-libs/aften:0 )
1345 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
1346 - amr? ( media-libs/opencore-amr:0 )
1347 - dts? ( media-libs/libdca:0 )
1348 - fontconfig? ( media-libs/fontconfig:1.0 )
1349 - fribidi? ( dev-libs/fribidi:0 )
1350 - jack? (
1351 - media-sound/jack-audio-connection-kit:0
1352 - libsamplerate? ( media-libs/libsamplerate:0 )
1353 - )
1354 - lame? ( media-sound/lame:0 )
1355 - oss? ( virtual/os-headers:0 )
1356 - pulseaudio? ( media-sound/pulseaudio:0 )
1357 - truetype? ( media-libs/freetype:2 )
1358 - twolame? ( media-sound/twolame:0 )
1359 - x264? ( media-libs/x264:0= )
1360 - xv? (
1361 - x11-libs/libX11:0
1362 - x11-libs/libXext:0
1363 - x11-libs/libXv:0
1364 - )
1365 - xvid? ( media-libs/xvid:0 )
1366 - vorbis? ( media-libs/libvorbis:0 )
1367 - vpx? ( media-libs/libvpx:0 )
1368 - ${PYTHON_DEPS}
1369 -"
1370 -RDEPEND="$DEPEND"
1371 -
1372 -S="${WORKDIR}/${MY_P}"
1373 -
1374 -processes="buildPluginsCommon:avidemux_plugins
1375 - buildPluginsCLI:avidemux_plugins"
1376 -use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
1377 -
1378 -PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
1379 -
1380 -src_configure() {
1381 - # Add lax vector typing for PowerPC.
1382 - if use ppc || use ppc64 ; then
1383 - append-cflags -flax-vector-conversions
1384 - fi
1385 -
1386 - # See bug 432322.
1387 - use x86 && replace-flags -O0 -O1
1388 -
1389 - for process in ${processes} ; do
1390 - local build="${process%%:*}"
1391 -
1392 - local mycmakeargs="
1393 - -DAVIDEMUX_SOURCE_DIR='${S}'
1394 - -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
1395 - $(cmake-utils_use aac FAAC)
1396 - $(cmake-utils_use aac FAAD)
1397 - $(cmake-utils_use alsa)
1398 - $(cmake-utils_use aften)
1399 - $(cmake-utils_use amr OPENCORE_AMRWB)
1400 - $(cmake-utils_use amr OPENCORE_AMRNB)
1401 - $(cmake-utils_use dts LIBDCA)
1402 - $(cmake-utils_use fontconfig)
1403 - $(cmake-utils_use jack)
1404 - $(cmake-utils_use lame)
1405 - $(cmake-utils_use oss)
1406 - $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
1407 - $(cmake-utils_use qt4)
1408 - $(cmake-utils_use truetype FREETYPE2)
1409 - $(cmake-utils_use twolame)
1410 - $(cmake-utils_use x264)
1411 - $(cmake-utils_use xv XVIDEO)
1412 - $(cmake-utils_use xvid)
1413 - $(cmake-utils_use vorbis)
1414 - $(cmake-utils_use vorbis LIBVORBIS)
1415 - $(cmake-utils_use vpx VPXDEC)
1416 - "
1417 -
1418 - if use debug ; then
1419 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
1420 - fi
1421 -
1422 - mkdir "${S}"/${build} || die "Can't create build folder."
1423 -
1424 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
1425 - done
1426 -}
1427 -
1428 -src_compile() {
1429 - for process in ${processes} ; do
1430 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
1431 - done
1432 -}
1433 -
1434 -src_install() {
1435 - for process in ${processes} ; do
1436 - # cmake-utils_src_install doesn't respect BUILD_DIR
1437 - # and there sometimes is a preinstall phase present.
1438 - pushd "${S}/${process%%:*}" > /dev/null || die
1439 - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
1440 - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
1441 - popd > /dev/null || die
1442 - done
1443 -
1444 - python_fix_shebang "${D}"
1445 -}
1446
1447 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.7.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.7.ebuild
1448 deleted file mode 100644
1449 index 39ecfb5..0000000
1450 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.6.7.ebuild
1451 +++ /dev/null
1452 @@ -1,145 +0,0 @@
1453 -# Copyright 1999-2015 Gentoo Foundation
1454 -# Distributed under the terms of the GNU General Public License v2
1455 -# $Id$
1456 -
1457 -EAPI="5"
1458 -
1459 -PYTHON_COMPAT=( python2_7 )
1460 -
1461 -inherit cmake-utils eutils flag-o-matic python-single-r1
1462 -
1463 -SLOT="2.6"
1464 -
1465 -DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks"
1466 -HOMEPAGE="http://fixounet.free.fr/avidemux"
1467 -
1468 -# Multiple licenses because of all the bundled stuff.
1469 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1470 -IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vdpau vpx"
1471 -KEYWORDS="~amd64 ~x86"
1472 -
1473 -MY_PN="${PN/-plugins/}"
1474 -if [[ ${PV} == *9999* ]] ; then
1475 - KEYWORDS=""
1476 - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git"
1477 -
1478 - inherit git-2
1479 -else
1480 - MY_P="${MY_PN}_${PV}"
1481 - SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
1482 -fi
1483 -
1484 -DEPEND="
1485 - ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
1486 - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?]
1487 - >=dev-lang/spidermonkey-1.5-r2:0=
1488 - dev-libs/libxml2:2
1489 - media-libs/libpng:0=
1490 - virtual/libiconv:0
1491 - aac? (
1492 - media-libs/faac:0
1493 - media-libs/faad2:0
1494 - )
1495 - aften? ( media-libs/aften:0 )
1496 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
1497 - amr? ( media-libs/opencore-amr:0 )
1498 - dts? ( media-libs/libdca:0 )
1499 - fontconfig? ( media-libs/fontconfig:1.0 )
1500 - fribidi? ( dev-libs/fribidi:0 )
1501 - jack? (
1502 - media-sound/jack-audio-connection-kit:0
1503 - libsamplerate? ( media-libs/libsamplerate:0 )
1504 - )
1505 - lame? ( media-sound/lame:0 )
1506 - oss? ( virtual/os-headers:0 )
1507 - pulseaudio? ( media-sound/pulseaudio:0 )
1508 - truetype? ( media-libs/freetype:2 )
1509 - twolame? ( media-sound/twolame:0 )
1510 - x264? ( media-libs/x264:0= )
1511 - xv? (
1512 - x11-libs/libX11:0
1513 - x11-libs/libXext:0
1514 - x11-libs/libXv:0
1515 - )
1516 - xvid? ( media-libs/xvid:0 )
1517 - vorbis? ( media-libs/libvorbis:0 )
1518 - vpx? ( media-libs/libvpx:0 )
1519 - ${PYTHON_DEPS}
1520 -"
1521 -RDEPEND="$DEPEND"
1522 -
1523 -S="${WORKDIR}/${MY_P}"
1524 -
1525 -processes="buildPluginsCommon:avidemux_plugins
1526 - buildPluginsCLI:avidemux_plugins"
1527 -use qt4 && processes+=" buildPluginsQt4:avidemux_plugins"
1528 -
1529 -PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch )
1530 -
1531 -src_configure() {
1532 - # Add lax vector typing for PowerPC.
1533 - if use ppc || use ppc64 ; then
1534 - append-cflags -flax-vector-conversions
1535 - fi
1536 -
1537 - # See bug 432322.
1538 - use x86 && replace-flags -O0 -O1
1539 -
1540 - for process in ${processes} ; do
1541 - local build="${process%%:*}"
1542 -
1543 - local mycmakeargs="
1544 - -DAVIDEMUX_SOURCE_DIR='${S}'
1545 - -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
1546 - $(cmake-utils_use aac FAAC)
1547 - $(cmake-utils_use aac FAAD)
1548 - $(cmake-utils_use alsa)
1549 - $(cmake-utils_use aften)
1550 - $(cmake-utils_use amr OPENCORE_AMRWB)
1551 - $(cmake-utils_use amr OPENCORE_AMRNB)
1552 - $(cmake-utils_use dts LIBDCA)
1553 - $(cmake-utils_use fontconfig)
1554 - $(cmake-utils_use jack)
1555 - $(cmake-utils_use lame)
1556 - $(cmake-utils_use oss)
1557 - $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
1558 - $(cmake-utils_use qt4)
1559 - $(cmake-utils_use truetype FREETYPE2)
1560 - $(cmake-utils_use twolame)
1561 - $(cmake-utils_use x264)
1562 - $(cmake-utils_use xv XVIDEO)
1563 - $(cmake-utils_use xvid)
1564 - $(cmake-utils_use vdpau)
1565 - $(cmake-utils_use vorbis)
1566 - $(cmake-utils_use vorbis LIBVORBIS)
1567 - $(cmake-utils_use vpx VPXDEC)
1568 - "
1569 -
1570 - if use debug ; then
1571 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
1572 - fi
1573 -
1574 - mkdir "${S}"/${build} || die "Can't create build folder."
1575 -
1576 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
1577 - done
1578 -}
1579 -
1580 -src_compile() {
1581 - for process in ${processes} ; do
1582 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
1583 - done
1584 -}
1585 -
1586 -src_install() {
1587 - for process in ${processes} ; do
1588 - # cmake-utils_src_install doesn't respect BUILD_DIR
1589 - # and there sometimes is a preinstall phase present.
1590 - pushd "${S}/${process%%:*}" > /dev/null || die
1591 - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
1592 - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
1593 - popd > /dev/null || die
1594 - done
1595 -
1596 - python_fix_shebang "${D}"
1597 -}
1598
1599 diff --git a/media-video/avidemux/Manifest b/media-video/avidemux/Manifest
1600 index 8c4b4ff..418a752 100644
1601 --- a/media-video/avidemux/Manifest
1602 +++ b/media-video/avidemux/Manifest
1603 @@ -1,7 +1 @@
1604 -DIST avidemux_2.5.6.tar.gz 14914123 SHA256 d6da7f2c4304368bd9c367a74a464b47d42fee9cada2960e70053d61c1ef9b8b SHA512 8a9dcfc61a396fc4f9f0a213269bcb574de0baa442d3165cfab0fe8e86309e7b0dd2ffe3e2d7ff8a8e6e3fd15da28699e8000367d92da0782fec6d5a38c1d77c WHIRLPOOL fecca87889b19a321a9fe13e734ca11a883c88152e5d59926ecd423b178bb26ef611ee00d8b2897f8a4a36a5c159d6c9f32733bc98fccced08532b8f060bd6ac
1605 -DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
1606 -DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
1607 -DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
1608 -DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
1609 -DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
1610 DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
1611
1612 diff --git a/media-video/avidemux/avidemux-2.5.6-r2.ebuild b/media-video/avidemux/avidemux-2.5.6-r2.ebuild
1613 deleted file mode 100644
1614 index 8f92b5e..0000000
1615 --- a/media-video/avidemux/avidemux-2.5.6-r2.ebuild
1616 +++ /dev/null
1617 @@ -1,172 +0,0 @@
1618 -# Copyright 1999-2013 Gentoo Foundation
1619 -# Distributed under the terms of the GNU General Public License v2
1620 -# $Id$
1621 -
1622 -EAPI="5"
1623 -
1624 -inherit cmake-utils eutils flag-o-matic
1625 -
1626 -MY_P=${PN}_${PV}
1627 -
1628 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
1629 -HOMEPAGE="http://fixounet.free.fr/avidemux"
1630 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
1631 -
1632 -LICENSE="GPL-2"
1633 -SLOT="2"
1634 -KEYWORDS="amd64 x86"
1635 -IUSE="aac aften alsa amr gtk jack +mp3 nls opengl oss pulseaudio
1636 - qt4 sdl +truetype vorbis vpx +x264 +xv +xvid"
1637 -
1638 -RDEPEND="
1639 - dev-libs/libxml2
1640 - sys-libs/zlib
1641 - aac? (
1642 - media-libs/faac
1643 - media-libs/faad2
1644 - )
1645 - aften? ( media-libs/aften[cxx] )
1646 - alsa? ( media-libs/alsa-lib )
1647 - amr? ( media-libs/opencore-amr )
1648 - gtk? ( x11-libs/gtk+:2 )
1649 - jack? (
1650 - media-libs/libsamplerate
1651 - media-sound/jack-audio-connection-kit
1652 - )
1653 - mp3? ( media-sound/lame )
1654 - pulseaudio? ( media-sound/pulseaudio )
1655 - qt4? (
1656 - >=dev-qt/qtgui-4.6:4
1657 - opengl? (
1658 - virtual/opengl
1659 - >=dev-qt/qtopengl-4.6:4
1660 - )
1661 - )
1662 - sdl? ( media-libs/libsdl )
1663 - truetype? (
1664 - media-libs/freetype:2
1665 - media-libs/fontconfig
1666 - )
1667 - vorbis? ( media-libs/libvorbis )
1668 - vpx? ( media-libs/libvpx )
1669 - x264? ( media-libs/x264:= )
1670 - xv? (
1671 - x11-libs/libX11
1672 - x11-libs/libXext
1673 - x11-libs/libXv
1674 - )
1675 - xvid? ( media-libs/xvid )
1676 -"
1677 -DEPEND="${RDEPEND}
1678 - dev-lang/yasm
1679 - virtual/pkgconfig
1680 - nls? ( sys-devel/gettext )
1681 -"
1682 -
1683 -AVIDEMUX_LANGS="bg ca cs de el es fr it ja pt_BR ru sr sr@latin tr zh_TW"
1684 -for lang in ${AVIDEMUX_LANGS}; do
1685 - IUSE+=" linguas_${lang}"
1686 -done
1687 -unset lang
1688 -
1689 -S=${WORKDIR}/${MY_P}
1690 -BUILD_S=${WORKDIR}/${P}_build
1691 -
1692 -DOCS=( AUTHORS )
1693 -PATCHES=(
1694 - "${FILESDIR}/${PN}-2.5.4-build-plugins-fix.patch"
1695 - "${FILESDIR}/${P}-ffmpeg-symbol-visibility.patch"
1696 -)
1697 -
1698 -src_prepare() {
1699 - cmake-utils_src_prepare
1700 -
1701 - local lingua= po_files= qt_ts_files= avidemux_ts_files=
1702 - for lingua in ${LINGUAS}; do
1703 - if has ${lingua} ${AVIDEMUX_LANGS}; then
1704 - if [[ -e ${S}/po/${lingua}.po ]]; then
1705 - po_files+=" \${po_subdir}/${lingua}.po"
1706 - fi
1707 - if [[ -e ${S}/po/qt_${lingua}.ts ]]; then
1708 - qt_ts_files+=" \${ts_subdir}/qt_${lingua}.ts"
1709 - fi
1710 - if [[ -e ${S}/po/${PN}_${lingua}.ts ]]; then
1711 - avidemux_ts_files+=" \${ts_subdir}/${PN}_${lingua}.ts"
1712 - fi
1713 - fi
1714 - done
1715 -
1716 - sed -i -e "s!FILE(GLOB po_files .*)!SET(po_files ${po_files})!" \
1717 - "${S}/cmake/Po.cmake" || die "sed failed"
1718 - sed -i -e "s!FILE(GLOB.*qt.*)!SET(ts_files ${qt_ts_files})!" \
1719 - -e "s!FILE(GLOB.*avidemux.*)!SET(ts_files ${avidemux_ts_files})!" \
1720 - "${S}/cmake/Ts.cmake" || die "sed failed"
1721 -
1722 - # fix major issues in desktop files wrt bugs #291453, #316599, #430500
1723 - sed -i -re '/^(Exec|Path)/ s:\[\$e\]::' avidemux2-gtk.desktop || die
1724 - sed -i -re '/^Exec/ s:(avidemux2_)gtk:\1qt4:' avidemux2.desktop || die
1725 -
1726 - # don't install Windows-only files
1727 - sed -i -e '/addons\/avsfilter/d' CMakeLists.txt || die
1728 -}
1729 -
1730 -src_configure() {
1731 - # add lax vector typing for PowerPC
1732 - if use ppc || use ppc64; then
1733 - append-cflags -flax-vector-conversions
1734 - fi
1735 - # bug 432322
1736 - use x86 && replace-flags -O0 -O1
1737 -
1738 - local mycmakeargs=(
1739 - -DAVIDEMUX_SOURCE_DIR="${S}"
1740 - -DAVIDEMUX_INSTALL_PREFIX="${BUILD_S}"
1741 - -DAVIDEMUX_CORECONFIG_DIR="${BUILD_S}/config"
1742 - -DARTS=OFF
1743 - -DESD=OFF
1744 - $(cmake-utils_use aac FAAC)
1745 - $(cmake-utils_use aac FAAD)
1746 - $(cmake-utils_use aften)
1747 - $(cmake-utils_use alsa)
1748 - $(cmake-utils_use amr OPENCORE_AMRNB)
1749 - $(cmake-utils_use amr OPENCORE_AMRWB)
1750 - $(cmake-utils_use gtk)
1751 - $(cmake-utils_use jack)
1752 - $(cmake-utils_use mp3 LAME)
1753 - $(cmake-utils_use nls GETTEXT)
1754 - $(cmake-utils_use_use opengl)
1755 - $(cmake-utils_use oss)
1756 - $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
1757 - $(cmake-utils_use qt4)
1758 - $(cmake-utils_use sdl)
1759 - $(cmake-utils_use truetype FREETYPE2)
1760 - $(cmake-utils_use truetype FONTCONFIG)
1761 - $(cmake-utils_use vorbis)
1762 - $(cmake-utils_use vorbis LIBVORBIS)
1763 - $(cmake-utils_use vpx VPXDEC)
1764 - $(cmake-utils_use x264)
1765 - $(cmake-utils_use xv XVIDEO)
1766 - $(cmake-utils_use xvid)
1767 - )
1768 - cmake-utils_src_configure
1769 -}
1770 -
1771 -src_compile() {
1772 - # first build the application
1773 - cmake-utils_src_compile -j1
1774 -
1775 - # and then go on with plugins
1776 - emake -C "${CMAKE_BUILD_DIR}/plugins"
1777 -}
1778 -
1779 -src_install() {
1780 - # install the application
1781 - cmake-utils_src_install
1782 -
1783 - # install plugins
1784 - emake -C "${CMAKE_BUILD_DIR}/plugins" DESTDIR="${D}" install
1785 -
1786 - newicon ${PN}_icon.png ${PN}.png
1787 - use gtk && domenu avidemux2-gtk.desktop
1788 - use qt4 && domenu avidemux2.desktop
1789 -}
1790
1791 diff --git a/media-video/avidemux/avidemux-2.6.2-r1.ebuild b/media-video/avidemux/avidemux-2.6.2-r1.ebuild
1792 deleted file mode 100644
1793 index bc2cbd5..0000000
1794 --- a/media-video/avidemux/avidemux-2.6.2-r1.ebuild
1795 +++ /dev/null
1796 @@ -1,122 +0,0 @@
1797 -# Copyright 1999-2015 Gentoo Foundation
1798 -# Distributed under the terms of the GNU General Public License v2
1799 -# $Id$
1800 -
1801 -EAPI="5"
1802 -
1803 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
1804 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
1805 -
1806 -SLOT="2.6"
1807 -MY_P="${PN}_${PV}"
1808 -
1809 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
1810 -HOMEPAGE="http://fixounet.free.fr/${PN}"
1811 -SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
1812 -
1813 -# Multiple licenses because of all the bundled stuff.
1814 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1815 -KEYWORDS="~amd64 ~x86"
1816 -IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls qt4 sdl vorbis truetype xvid x264 xv"
1817 -
1818 -# TODO: Figure out which dependencies can be moved out of avidemux-core into here.
1819 -RDEPEND="=media-libs/avidemux-core-${PV}-r1[aften?,a52?,alsa?,amr?,dts?,fontconfig?,jack?,lame?,libsamplerate?,cpu_flags_x86_mmx?,oss?,nls?,sdl?,vorbis?,truetype?,xvid?,x264?,xv?]
1820 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
1821 -DEPEND="$RDEPEND"
1822 -PDEPEND="=media-libs/avidemux-plugins-${PV}-r2[aften?,a52?,alsa?,amr?,dts?,fontconfig?,jack?,lame?,libsamplerate?,cpu_flags_x86_mmx?,oss?,nls?,sdl?,vorbis?,truetype?,xvid?,x264?,xv?]"
1823 -
1824 -S="${WORKDIR}/${MY_P}"
1825 -
1826 -PROCESSES="buildCli:avidemux/cli"
1827 -
1828 -use qt4 && PROCESSES+=" buildQt4:avidemux/qt4"
1829 -
1830 -src_prepare() {
1831 - cmake-utils_src_prepare
1832 -
1833 - # Fix icon name -> avidemux-2.6.png
1834 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
1835 -
1836 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
1837 - # so it will actually launch avidemux-2.5 if it is installed.
1838 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
1839 -
1840 - # Now rename the desktop file to not collide with 2.5.
1841 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
1842 -
1843 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
1844 - # so it will actually launch avidemux-2.5 if it is installed.
1845 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
1846 -
1847 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
1848 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
1849 -}
1850 -
1851 -src_configure() {
1852 - local x mycmakeargs
1853 -
1854 - mycmakeargs="
1855 - $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
1856 - $(cmake-utils_use amr OPENCORE_AMRWB)
1857 - $(cmake-utils_use amr OPENCORE_AMRNB)
1858 - $(cmake-utils_use dts LIBDCA)
1859 - $(cmake-utils_use nls GETTEXT)
1860 - $(cmake-utils_use truetype FREETYPE2)
1861 - $(cmake-utils_use xv XVIDEO)
1862 - "
1863 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
1864 -
1865 - for PROCESS in ${PROCESSES} ; do
1866 - SOURCE="${PROCESS%%:*}"
1867 - DEST="${PROCESS#*:}"
1868 -
1869 - mkdir "${S}"/${SOURCE} || die "Can't create build folder."
1870 - cd "${S}"/${SOURCE} || die "Can't enter build folder."
1871 -
1872 - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
1873 - -DCMAKE_INSTALL_PREFIX="/usr" \
1874 - ${mycmakeargs} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
1875 - done
1876 -}
1877 -
1878 -src_compile() {
1879 - # Add lax vector typing for PowerPC.
1880 - if use ppc || use ppc64 ; then
1881 - append-cflags -flax-vector-conversions
1882 - fi
1883 -
1884 - # See bug 432322.
1885 - use x86 && replace-flags -O0 -O1
1886 -
1887 - for PROCESS in ${PROCESSES} ; do
1888 - SOURCE="${PROCESS%%:*}"
1889 -
1890 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
1891 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
1892 - done
1893 -}
1894 -
1895 -src_install() {
1896 - for PROCESS in ${PROCESSES} ; do
1897 - SOURCE="${PROCESS%%:*}"
1898 -
1899 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
1900 - emake DESTDIR="${ED}" install
1901 - done
1902 -
1903 - cd "${S}" || die "Can't enter source folder."
1904 -
1905 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
1906 - fperms +x /usr/bin/avidemux3_cli
1907 - fi
1908 -
1909 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
1910 - fperms +x /usr/bin/avidemux3_jobs
1911 - fi
1912 - use qt4 && fperms +x /usr/bin/avidemux3_qt4
1913 -
1914 - newicon ${PN}_icon.png ${PN}-2.6.png
1915 - use qt4 && domenu ${PN}-2.6.desktop
1916 -
1917 - dodoc AUTHORS README
1918 -}
1919
1920 diff --git a/media-video/avidemux/avidemux-2.6.3.ebuild b/media-video/avidemux/avidemux-2.6.3.ebuild
1921 deleted file mode 100644
1922 index e3e59e0..0000000
1923 --- a/media-video/avidemux/avidemux-2.6.3.ebuild
1924 +++ /dev/null
1925 @@ -1,118 +0,0 @@
1926 -# Copyright 1999-2014 Gentoo Foundation
1927 -# Distributed under the terms of the GNU General Public License v2
1928 -# $Id$
1929 -
1930 -EAPI="5"
1931 -
1932 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
1933 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
1934 -
1935 -SLOT="2.6"
1936 -MY_P="${PN}_${PV}"
1937 -
1938 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
1939 -HOMEPAGE="http://fixounet.free.fr/${PN}"
1940 -SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
1941 -
1942 -# Multiple licenses because of all the bundled stuff.
1943 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
1944 -KEYWORDS="~amd64 ~x86"
1945 -IUSE="debug opengl nls qt4 sdl vdpau xv"
1946 -
1947 -DEPEND="=media-libs/avidemux-core-${PV}[nls?,sdl?,vdpau?,xv?]
1948 - opengl? ( virtual/opengl )
1949 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
1950 -RDEPEND="$DEPEND"
1951 -PDEPEND="=media-libs/avidemux-plugins-${PV}"
1952 -
1953 -S="${WORKDIR}/${MY_P}"
1954 -
1955 -PROCESSES="buildCli:avidemux/cli"
1956 -
1957 -use qt4 && PROCESSES+=" buildQt4:avidemux/qt4"
1958 -
1959 -src_prepare() {
1960 - cmake-utils_src_prepare
1961 -
1962 - # Fix icon name -> avidemux-2.6.png
1963 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
1964 -
1965 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
1966 - # so it will actually launch avidemux-2.5 if it is installed.
1967 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
1968 -
1969 - # Now rename the desktop file to not collide with 2.5.
1970 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
1971 -
1972 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
1973 - # so it will actually launch avidemux-2.5 if it is installed.
1974 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
1975 -
1976 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
1977 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
1978 -}
1979 -
1980 -src_configure() {
1981 - local x mycmakeargs
1982 -
1983 - mycmakeargs="
1984 - $(cmake-utils_use nls GETTEXT)
1985 - $(cmake-utils_use sdl SDL)
1986 - $(cmake-utils_use vdpau VDPAU)
1987 - $(cmake-utils_use xv XVIDEO)
1988 - "
1989 - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
1990 -
1991 - for PROCESS in ${PROCESSES} ; do
1992 - SOURCE="${PROCESS%%:*}"
1993 - DEST="${PROCESS#*:}"
1994 -
1995 - mkdir "${S}"/${SOURCE} || die "Can't create build folder."
1996 - cd "${S}"/${SOURCE} || die "Can't enter build folder."
1997 -
1998 - cmake -DCMAKE_INSTALL_PREFIX="/usr" \
1999 - ${mycmakeargs} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
2000 - done
2001 -}
2002 -
2003 -src_compile() {
2004 - # Add lax vector typing for PowerPC.
2005 - if use ppc || use ppc64 ; then
2006 - append-cflags -flax-vector-conversions
2007 - fi
2008 -
2009 - # See bug 432322.
2010 - use x86 && replace-flags -O0 -O1
2011 -
2012 - for PROCESS in ${PROCESSES} ; do
2013 - SOURCE="${PROCESS%%:*}"
2014 -
2015 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
2016 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
2017 - done
2018 -}
2019 -
2020 -src_install() {
2021 - for PROCESS in ${PROCESSES} ; do
2022 - SOURCE="${PROCESS%%:*}"
2023 -
2024 - cd "${S}/${SOURCE}" || die "Can't enter build folder."
2025 - emake DESTDIR="${ED}" install
2026 - done
2027 -
2028 - cd "${S}" || die "Can't enter source folder."
2029 -
2030 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
2031 - fperms +x /usr/bin/avidemux3_cli
2032 - fi
2033 -
2034 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
2035 - fperms +x /usr/bin/avidemux3_jobs
2036 - fi
2037 - use qt4 && fperms +x /usr/bin/avidemux3_qt4
2038 -
2039 - newicon ${PN}_icon.png ${PN}-2.6.png
2040 - use qt4 && domenu ${PN}-2.6.desktop
2041 -
2042 - dodoc AUTHORS README
2043 -}
2044
2045 diff --git a/media-video/avidemux/avidemux-2.6.4.ebuild b/media-video/avidemux/avidemux-2.6.4.ebuild
2046 deleted file mode 100644
2047 index 9390c32..0000000
2048 --- a/media-video/avidemux/avidemux-2.6.4.ebuild
2049 +++ /dev/null
2050 @@ -1,118 +0,0 @@
2051 -# Copyright 1999-2014 Gentoo Foundation
2052 -# Distributed under the terms of the GNU General Public License v2
2053 -# $Id$
2054 -
2055 -EAPI="5"
2056 -
2057 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
2058 -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
2059 -
2060 -SLOT="2.6"
2061 -MY_P="${PN}_${PV}"
2062 -
2063 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
2064 -HOMEPAGE="http://fixounet.free.fr/${PN}"
2065 -SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
2066 -
2067 -# Multiple licenses because of all the bundled stuff.
2068 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
2069 -KEYWORDS="~amd64 ~x86"
2070 -IUSE="debug opengl nls qt4 sdl vdpau xv"
2071 -
2072 -DEPEND="~media-libs/avidemux-core-${PV}[nls?,sdl?,vdpau?,xv?]
2073 - opengl? ( virtual/opengl )
2074 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
2075 -RDEPEND="$DEPEND"
2076 -PDEPEND="~media-libs/avidemux-plugins-${PV}"
2077 -
2078 -S="${WORKDIR}/${MY_P}"
2079 -
2080 -processes="buildCli:avidemux/cli"
2081 -
2082 -use qt4 && processes+=" buildQt4:avidemux/qt4"
2083 -
2084 -src_prepare() {
2085 - default
2086 -
2087 - # Fix icon name -> avidemux-2.6.png
2088 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
2089 -
2090 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
2091 - # so it will actually launch avidemux-2.5 if it is installed.
2092 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
2093 -
2094 - # Now rename the desktop file to not collide with 2.5.
2095 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
2096 -
2097 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
2098 - # so it will actually launch avidemux-2.5 if it is installed.
2099 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
2100 -
2101 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
2102 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
2103 -}
2104 -
2105 -src_configure() {
2106 - local mycmakeargs="
2107 - -DAVIDEMUX_SOURCE_DIR='${S}'
2108 - -DCMAKE_INSTALL_PREFIX='/usr'
2109 - $(cmake-utils_use nls GETTEXT)
2110 - $(cmake-utils_use sdl SDL)
2111 - $(cmake-utils_use vdpau VDPAU)
2112 - $(cmake-utils_use xv XVIDEO)
2113 - "
2114 -
2115 - if use debug ; then
2116 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
2117 - fi
2118 -
2119 - for process in ${processes} ; do
2120 - local build="${process%%:*}"
2121 -
2122 - mkdir "${S}"/${build} || die "Can't create build folder."
2123 - cd "${S}"/${build} || die "Can't enter build folder."
2124 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
2125 - done
2126 -}
2127 -
2128 -src_compile() {
2129 - # Add lax vector typing for PowerPC.
2130 - if use ppc || use ppc64 ; then
2131 - append-cflags -flax-vector-conversions
2132 - fi
2133 -
2134 - # See bug 432322.
2135 - use x86 && replace-flags -O0 -O1
2136 -
2137 - for process in ${processes} ; do
2138 - local source="${process%%:*}"
2139 -
2140 - cd "${S}/${source}" || die "Can't enter build folder."
2141 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
2142 - done
2143 -}
2144 -
2145 -src_install() {
2146 - for process in ${processes} ; do
2147 - local source="${process%%:*}"
2148 -
2149 - cd "${S}/${source}" || die "Can't enter build folder."
2150 - emake DESTDIR="${ED}" install
2151 - done
2152 -
2153 - cd "${S}" || die "Can't enter source folder."
2154 -
2155 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
2156 - fperms +x /usr/bin/avidemux3_cli
2157 - fi
2158 -
2159 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
2160 - fperms +x /usr/bin/avidemux3_jobs
2161 - fi
2162 - use qt4 && fperms +x /usr/bin/avidemux3_qt4
2163 -
2164 - newicon ${PN}_icon.png ${PN}-2.6.png
2165 - use qt4 && domenu ${PN}-2.6.desktop
2166 -
2167 - dodoc AUTHORS README
2168 -}
2169
2170 diff --git a/media-video/avidemux/avidemux-2.6.5-r1.ebuild b/media-video/avidemux/avidemux-2.6.5-r1.ebuild
2171 deleted file mode 100644
2172 index 1e8da39..0000000
2173 --- a/media-video/avidemux/avidemux-2.6.5-r1.ebuild
2174 +++ /dev/null
2175 @@ -1,134 +0,0 @@
2176 -# Copyright 1999-2015 Gentoo Foundation
2177 -# Distributed under the terms of the GNU General Public License v2
2178 -# $Id$
2179 -
2180 -EAPI="5"
2181 -
2182 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
2183 -
2184 -inherit cmake-utils eutils flag-o-matic l10n
2185 -
2186 -SLOT="2.6"
2187 -
2188 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
2189 -HOMEPAGE="http://fixounet.free.fr/${PN}"
2190 -
2191 -# Multiple licenses because of all the bundled stuff.
2192 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
2193 -IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
2194 -KEYWORDS="~amd64 ~x86"
2195 -
2196 -if [[ ${PV} == *9999* ]] ; then
2197 - KEYWORDS=""
2198 - EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
2199 -
2200 - inherit git-2
2201 -else
2202 - MY_P="${PN}_${PV}"
2203 - SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
2204 -fi
2205 -
2206 -DEPEND="
2207 - ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
2208 - opengl? ( virtual/opengl:0 )
2209 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )
2210 - vaapi? ( x11-libs/libva:0 )
2211 - video_cards_fglrx? (
2212 - || ( >=x11-drivers/ati-drivers-14.12-r3
2213 - x11-libs/xvba-video:0 )
2214 - )"
2215 -RDEPEND="$DEPEND"
2216 -PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
2217 -
2218 -S="${WORKDIR}/${MY_P}"
2219 -
2220 -processes="buildCli:avidemux/cli"
2221 -use qt4 && processes+=" buildQt4:avidemux/qt4"
2222 -
2223 -src_prepare() {
2224 - cmake-utils_src_prepare
2225 -
2226 - # Fix icon name -> avidemux-2.6.png
2227 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
2228 -
2229 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
2230 - # so it will actually launch avidemux-2.5 if it is installed.
2231 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
2232 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
2233 -
2234 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
2235 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
2236 -
2237 - # Now rename the desktop file to not collide with 2.5.
2238 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
2239 -
2240 - # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
2241 - sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
2242 -}
2243 -
2244 -src_configure() {
2245 - local mycmakeargs="
2246 - -DAVIDEMUX_SOURCE_DIR='${S}'
2247 - $(cmake-utils_use nls GETTEXT)
2248 - $(cmake-utils_use sdl)
2249 - $(cmake-utils_use vaapi LIBVA)
2250 - $(cmake-utils_use vdpau)
2251 - $(cmake-utils_use video_cards_fglrx XVBA)
2252 - $(cmake-utils_use xv XVIDEO)
2253 - "
2254 -
2255 - if use debug ; then
2256 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
2257 - fi
2258 -
2259 - for process in ${processes} ; do
2260 - local build="${process%%:*}"
2261 -
2262 - mkdir "${S}"/${build} || die "Can't create build folder."
2263 - cd "${S}"/${build} || die "Can't enter build folder."
2264 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
2265 - done
2266 -
2267 - # Add lax vector typing for PowerPC.
2268 - if use ppc || use ppc64 ; then
2269 - append-cflags -flax-vector-conversions
2270 - fi
2271 -
2272 - # See bug 432322.
2273 - use x86 && replace-flags -O0 -O1
2274 -}
2275 -
2276 -src_compile() {
2277 - for process in ${processes} ; do
2278 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
2279 - done
2280 -}
2281 -
2282 -DOCS=( AUTHORS README )
2283 -
2284 -src_install() {
2285 - for process in ${processes} ; do
2286 - # cmake-utils_src_install doesn't respect BUILD_DIR
2287 - # and there sometimes is a preinstall phase present.
2288 - pushd "${S}/${process%%:*}" > /dev/null || die
2289 - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
2290 - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
2291 - popd > /dev/null || die
2292 - done
2293 -
2294 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
2295 - fperms +x /usr/bin/avidemux3_cli
2296 - fi
2297 -
2298 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
2299 - fperms +x /usr/bin/avidemux3_jobs
2300 - fi
2301 -
2302 - cd "${S}" || die "Can't enter source folder."
2303 - newicon ${PN}_icon.png ${PN}-2.6.png
2304 -
2305 - if use qt4 ; then
2306 - fperms +x /usr/bin/avidemux3_qt4
2307 - domenu ${PN}-2.6.desktop
2308 - fi
2309 -}
2310
2311 diff --git a/media-video/avidemux/avidemux-2.6.5.ebuild b/media-video/avidemux/avidemux-2.6.5.ebuild
2312 deleted file mode 100644
2313 index fa60e22..0000000
2314 --- a/media-video/avidemux/avidemux-2.6.5.ebuild
2315 +++ /dev/null
2316 @@ -1,129 +0,0 @@
2317 -# Copyright 1999-2015 Gentoo Foundation
2318 -# Distributed under the terms of the GNU General Public License v2
2319 -# $Id$
2320 -
2321 -EAPI="5"
2322 -
2323 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
2324 -
2325 -inherit cmake-utils eutils flag-o-matic l10n
2326 -
2327 -SLOT="2.6"
2328 -
2329 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
2330 -HOMEPAGE="http://fixounet.free.fr/${PN}"
2331 -
2332 -# Multiple licenses because of all the bundled stuff.
2333 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
2334 -IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
2335 -KEYWORDS="~amd64 ~x86"
2336 -
2337 -if [[ ${PV} == *9999* ]] ; then
2338 - KEYWORDS=""
2339 - EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
2340 -
2341 - inherit git-2
2342 -else
2343 - MY_P="${PN}_${PV}"
2344 - SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
2345 -fi
2346 -
2347 -DEPEND="
2348 - ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
2349 - opengl? ( virtual/opengl:0 )
2350 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )
2351 - vaapi? ( x11-libs/libva:0 )
2352 - video_cards_fglrx? (
2353 - || ( >=x11-drivers/ati-drivers-14.12-r3
2354 - x11-libs/xvba-video:0 )
2355 - )"
2356 -RDEPEND="$DEPEND"
2357 -PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
2358 -
2359 -S="${WORKDIR}/${MY_P}"
2360 -
2361 -processes="buildCli:avidemux/cli"
2362 -use qt4 && processes+=" buildQt4:avidemux/qt4"
2363 -
2364 -src_prepare() {
2365 - cmake-utils_src_prepare
2366 -
2367 - # Fix icon name -> avidemux-2.6.png
2368 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
2369 -
2370 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
2371 - # so it will actually launch avidemux-2.5 if it is installed.
2372 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
2373 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
2374 -
2375 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
2376 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
2377 -
2378 - # Now rename the desktop file to not collide with 2.5.
2379 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
2380 -
2381 - # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
2382 - sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
2383 -}
2384 -
2385 -src_configure() {
2386 - local mycmakeargs="
2387 - -DAVIDEMUX_SOURCE_DIR='${S}'
2388 - $(cmake-utils_use nls GETTEXT)
2389 - $(cmake-utils_use sdl)
2390 - $(cmake-utils_use vaapi LIBVA)
2391 - $(cmake-utils_use vdpau)
2392 - $(cmake-utils_use video_cards_fglrx XVBA)
2393 - $(cmake-utils_use xv XVIDEO)
2394 - "
2395 -
2396 - if use debug ; then
2397 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
2398 - fi
2399 -
2400 - for process in ${processes} ; do
2401 - local build="${process%%:*}"
2402 -
2403 - mkdir "${S}"/${build} || die "Can't create build folder."
2404 - cd "${S}"/${build} || die "Can't enter build folder."
2405 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
2406 - done
2407 -
2408 - # Add lax vector typing for PowerPC.
2409 - if use ppc || use ppc64 ; then
2410 - append-cflags -flax-vector-conversions
2411 - fi
2412 -
2413 - # See bug 432322.
2414 - use x86 && replace-flags -O0 -O1
2415 -}
2416 -
2417 -src_compile() {
2418 - for process in ${processes} ; do
2419 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
2420 - done
2421 -}
2422 -
2423 -DOCS=( AUTHORS README )
2424 -
2425 -src_install() {
2426 - for process in ${processes} ; do
2427 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
2428 - done
2429 -
2430 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
2431 - fperms +x /usr/bin/avidemux3_cli
2432 - fi
2433 -
2434 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
2435 - fperms +x /usr/bin/avidemux3_jobs
2436 - fi
2437 -
2438 - cd "${S}" || die "Can't enter source folder."
2439 - newicon ${PN}_icon.png ${PN}-2.6.png
2440 -
2441 - if use qt4 ; then
2442 - fperms +x /usr/bin/avidemux3_qt4
2443 - domenu ${PN}-2.6.desktop
2444 - fi
2445 -}
2446
2447 diff --git a/media-video/avidemux/avidemux-2.6.7.ebuild b/media-video/avidemux/avidemux-2.6.7.ebuild
2448 deleted file mode 100644
2449 index c978ae6..0000000
2450 --- a/media-video/avidemux/avidemux-2.6.7.ebuild
2451 +++ /dev/null
2452 @@ -1,129 +0,0 @@
2453 -# Copyright 1999-2015 Gentoo Foundation
2454 -# Distributed under the terms of the GNU General Public License v2
2455 -# $Id$
2456 -
2457 -EAPI="5"
2458 -
2459 -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
2460 -
2461 -inherit cmake-utils eutils flag-o-matic l10n
2462 -
2463 -SLOT="2.6"
2464 -
2465 -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
2466 -HOMEPAGE="http://fixounet.free.fr/${PN}"
2467 -
2468 -# Multiple licenses because of all the bundled stuff.
2469 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
2470 -IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
2471 -KEYWORDS="~amd64 ~x86"
2472 -
2473 -if [[ ${PV} == *9999* ]] ; then
2474 - KEYWORDS=""
2475 - EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
2476 -
2477 - inherit git-2
2478 -else
2479 - MY_P="${PN}_${PV}"
2480 - SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz"
2481 -fi
2482 -
2483 -DEPEND="
2484 - ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
2485 - opengl? ( virtual/opengl:0 )
2486 - qt4? ( >=dev-qt/qtgui-4.8.3:4 )
2487 - vaapi? ( x11-libs/libva:0 )
2488 - video_cards_fglrx? (
2489 - || ( >=x11-drivers/ati-drivers-14.12-r3
2490 - x11-libs/xvba-video:0 )
2491 - )"
2492 -RDEPEND="$DEPEND"
2493 -PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
2494 -
2495 -S="${WORKDIR}/${MY_P}"
2496 -
2497 -processes="buildCli:avidemux/cli"
2498 -use qt4 && processes+=" buildQt4:avidemux/qt4"
2499 -
2500 -src_prepare() {
2501 - cmake-utils_src_prepare
2502 -
2503 - # Fix icon name -> avidemux-2.6.png
2504 - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
2505 -
2506 - # The desktop file is broken. It uses avidemux2 instead of avidemux3
2507 - # so it will actually launch avidemux-2.5 if it is installed.
2508 - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
2509 - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
2510 -
2511 - # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
2512 - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
2513 -
2514 - # Now rename the desktop file to not collide with 2.5.
2515 - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
2516 -
2517 - # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
2518 - sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
2519 -}
2520 -
2521 -src_configure() {
2522 - local mycmakeargs="
2523 - -DAVIDEMUX_SOURCE_DIR='${S}'
2524 - $(cmake-utils_use nls GETTEXT)
2525 - $(cmake-utils_use sdl)
2526 - $(cmake-utils_use vaapi LIBVA)
2527 - $(cmake-utils_use vdpau)
2528 - $(cmake-utils_use video_cards_fglrx XVBA)
2529 - $(cmake-utils_use xv XVIDEO)
2530 - "
2531 -
2532 - if use debug ; then
2533 - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
2534 - fi
2535 -
2536 - for process in ${processes} ; do
2537 - local build="${process%%:*}"
2538 -
2539 - mkdir "${S}"/${build} || die "Can't create build folder."
2540 - cd "${S}"/${build} || die "Can't enter build folder."
2541 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
2542 - done
2543 -
2544 - # Add lax vector typing for PowerPC.
2545 - if use ppc || use ppc64 ; then
2546 - append-cflags -flax-vector-conversions
2547 - fi
2548 -
2549 - # See bug 432322.
2550 - use x86 && replace-flags -O0 -O1
2551 -}
2552 -
2553 -src_compile() {
2554 - for process in ${processes} ; do
2555 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
2556 - done
2557 -}
2558 -
2559 -DOCS=( AUTHORS README )
2560 -
2561 -src_install() {
2562 - for process in ${processes} ; do
2563 - BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
2564 - done
2565 -
2566 - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
2567 - fperms +x /usr/bin/avidemux3_cli
2568 - fi
2569 -
2570 - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
2571 - fperms +x /usr/bin/avidemux3_jobs
2572 - fi
2573 -
2574 - cd "${S}" || die "Can't enter source folder."
2575 - newicon ${PN}_icon.png ${PN}-2.6.png
2576 -
2577 - if use qt4 ; then
2578 - fperms +x /usr/bin/avidemux3_qt4
2579 - domenu ${PN}-2.6.desktop
2580 - fi
2581 -}
2582
2583 diff --git a/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch b/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch
2584 deleted file mode 100644
2585 index 66b44ad..0000000
2586 --- a/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch
2587 +++ /dev/null
2588 @@ -1,13 +0,0 @@
2589 -Index: avidemux_2.5.4/CMakeLists.txt
2590 -===================================================================
2591 ---- avidemux_2.5.4.orig/CMakeLists.txt
2592 -+++ avidemux_2.5.4/CMakeLists.txt
2593 -@@ -205,7 +205,7 @@ ADD_SUBDIRECTORY(avidemux)
2594 - ADD_SUBDIRECTORY(po)
2595 - ADD_SUBDIRECTORY(scripts)
2596 - # MEANX : DOES NOT WORK ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
2597 --
2598 -+ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
2599 - ########################################
2600 - # Config Summary
2601 - ########################################
2602
2603 diff --git a/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch b/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch
2604 deleted file mode 100644
2605 index 3251209..0000000
2606 --- a/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch
2607 +++ /dev/null
2608 @@ -1,20 +0,0 @@
2609 ---- branches/avidemux_2.5_branch_gruntster/cmake/patches/libavcodec_libavcodec.v.patch 2011/12/15 11:09:11 7699
2610 -+++ branches/avidemux_2.5_branch_gruntster/cmake/patches/libavcodec_libavcodec.v.patch 2012/03/15 07:19:34 7750
2611 -@@ -1,11 +1,12 @@
2612 ----- ../ffmpeg-0.9/libavcodec/libavcodec.v 2011-12-14 15:00:29 +0000
2613 --+++ libavcodec/libavcodec.v 2011-12-14 15:00:28 +0000
2614 --@@ -25,5 +25,8 @@
2615 -+--- libavcodec/libavcodec.v.old 2012-03-04 08:36:22.038330656 +0100
2616 -++++ libavcodec/libavcodec.v 2012-03-04 08:36:44.128330633 +0100
2617 -+@@ -25,5 +25,9 @@
2618 - ff_mmxext_idct;
2619 - ff_idct_xvid*;
2620 - ff_jpeg_fdct*;
2621 - + ff_h264_info;
2622 --+ ff_golomb_vlc_len;
2623 --+ ff_ue_golomb_vlc_code;
2624 -++ ff_golomb_vlc_len;
2625 -++ ff_ue_golomb_vlc_code;
2626 -++ ff_se_golomb_vlc_code;
2627 - local: *;
2628 - };