1 |
commit: d4c7e46a79cb8e529a2512e22852a0750392c595 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 23:06:56 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 9 17:28:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c7e46a |
7 |
|
8 |
media-libs/avidemux-core: Sorting, fix DESCRIPTION |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
media-libs/avidemux-core/avidemux-core-9999.ebuild | 39 +++++++++++----------- |
13 |
1 file changed, 20 insertions(+), 19 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild b/media-libs/avidemux-core/avidemux-core-9999.ebuild |
16 |
index 6d3d4eb7d5f..b99cdefa450 100644 |
17 |
--- a/media-libs/avidemux-core/avidemux-core-9999.ebuild |
18 |
+++ b/media-libs/avidemux-core/avidemux-core-9999.ebuild |
19 |
@@ -1,22 +1,11 @@ |
20 |
-# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
|
26 |
-inherit cmake-utils |
27 |
- |
28 |
-DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" |
29 |
-HOMEPAGE="http://fixounet.free.fr/avidemux" |
30 |
- |
31 |
-# Multiple licenses because of all the bundled stuff. |
32 |
-LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" |
33 |
-SLOT="2.6" |
34 |
-IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv" |
35 |
- |
36 |
if [[ ${PV} == *9999* ]] ; then |
37 |
EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" |
38 |
EGIT_CHECKOUT_DIR=${WORKDIR} |
39 |
- |
40 |
inherit git-r3 |
41 |
else |
42 |
MY_PN="${PN/-core/}" |
43 |
@@ -24,6 +13,15 @@ else |
44 |
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" |
45 |
KEYWORDS="~amd64 ~x86" |
46 |
fi |
47 |
+inherit cmake-utils |
48 |
+ |
49 |
+DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks" |
50 |
+HOMEPAGE="http://fixounet.free.fr/avidemux" |
51 |
+ |
52 |
+# Multiple licenses because of all the bundled stuff. |
53 |
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" |
54 |
+SLOT="2.6" |
55 |
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv" |
56 |
|
57 |
# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed? |
58 |
COMMON_DEPEND=" |
59 |
@@ -52,13 +50,16 @@ src_prepare() { |
60 |
cmake-utils_src_prepare |
61 |
|
62 |
if use system-ffmpeg ; then |
63 |
- # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install. |
64 |
- local error="Failed to remove ffmpeg." |
65 |
- |
66 |
- rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}" |
67 |
- sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}" |
68 |
- sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}" |
69 |
- sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}" |
70 |
+ # Preparations to support the system ffmpeg. Currently fails because |
71 |
+ # it depends on files the system ffmpeg doesn't install. |
72 |
+ local error="Failed to remove bundled ffmpeg." |
73 |
+ |
74 |
+ rm -r cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package \ |
75 |
+ buildCore/ffmpeg || die "${error}" |
76 |
+ sed -e 's/include(admFFmpegUtil)//g' -e '/registerFFmpeg/d' \ |
77 |
+ -i avidemux/commonCmakeApplication.cmake || die "${error}" |
78 |
+ sed -e 's/include(admFFmpegBuild)//g' \ |
79 |
+ -i avidemux_core/CMakeLists.txt || die "${error}" |
80 |
fi |
81 |
} |