1 |
tomwij 13/09/01 20:33:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: avidemux-plugins-2.6.5-r1.ebuild |
5 |
Log: |
6 |
Revision bump to install command line plugins; because avidemux3_cli has been brought back in media-video/avidemux, this package needs a rebuild. Requested by Nikoli, also see https://gist.github.com/TomWij/92c50218c51b33a16978 which shows which files get added by the rebuild. |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 media-libs/avidemux-plugins/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/avidemux-plugins/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/avidemux-plugins/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/avidemux-plugins/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 1 Sep 2013 11:53:28 -0000 1.16 |
24 |
+++ ChangeLog 1 Sep 2013 20:33:56 -0000 1.17 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for media-libs/avidemux-plugins |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v 1.16 2013/09/01 11:53:28 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v 1.17 2013/09/01 20:33:56 tomwij Exp $ |
30 |
+ |
31 |
+*avidemux-plugins-2.6.5-r1 (01 Sep 2013) |
32 |
+ |
33 |
+ 01 Sep 2013; Tom Wijsman <TomWij@g.o> |
34 |
+ +avidemux-plugins-2.6.5-r1.ebuild: |
35 |
+ Revision bump to install command line plugins; because avidemux3_cli has been |
36 |
+ brought back in media-video/avidemux, this package needs a rebuild. Requested |
37 |
+ by Nikoli, also see https://gist.github.com/TomWij/92c50218c51b33a16978 which |
38 |
+ shows which files get added by the rebuild. |
39 |
|
40 |
*avidemux-plugins-2.6.5 (01 Sep 2013) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: avidemux-plugins-2.6.5-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/avidemux-plugins-2.6.5-r1.ebuild,v 1.1 2013/09/01 20:33:56 tomwij Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
|
58 |
PYTHON_COMPAT=( python2_7 ) |
59 |
|
60 |
inherit cmake-utils eutils flag-o-matic python-single-r1 |
61 |
|
62 |
SLOT="2.6" |
63 |
|
64 |
DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks." |
65 |
HOMEPAGE="http://fixounet.free.fr/avidemux" |
66 |
|
67 |
# Multiple licenses because of all the bundled stuff. |
68 |
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" |
69 |
IUSE="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
|
72 |
MY_PN="${PN/-plugins/}" |
73 |
if [[ ${PV} == *9999* ]] ; then |
74 |
KEYWORDS="" |
75 |
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" |
76 |
|
77 |
inherit git-2 |
78 |
else |
79 |
MY_P="${MY_PN}_${PV}" |
80 |
SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz" |
81 |
fi |
82 |
|
83 |
DEPEND=" |
84 |
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?] |
85 |
>=dev-lang/spidermonkey-1.5-r2:0= |
86 |
dev-libs/libxml2:2 |
87 |
media-libs/libpng:0= |
88 |
virtual/libiconv:0 |
89 |
aac? ( |
90 |
media-libs/faac:0 |
91 |
media-libs/faad2:0 |
92 |
) |
93 |
aften? ( media-libs/aften:0 ) |
94 |
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 ) |
95 |
amr? ( media-libs/opencore-amr:0 ) |
96 |
dts? ( media-libs/libdca:0 ) |
97 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
98 |
fribidi? ( dev-libs/fribidi:0 ) |
99 |
jack? ( |
100 |
media-sound/jack-audio-connection-kit:0 |
101 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
102 |
) |
103 |
lame? ( media-sound/lame:0 ) |
104 |
oss? ( virtual/os-headers:0 ) |
105 |
pulseaudio? ( media-sound/pulseaudio:0 ) |
106 |
truetype? ( media-libs/freetype:2 ) |
107 |
twolame? ( media-sound/twolame:0 ) |
108 |
x264? ( media-libs/x264:0= ) |
109 |
xv? ( |
110 |
x11-libs/libX11:0 |
111 |
x11-libs/libXext:0 |
112 |
x11-libs/libXv:0 |
113 |
) |
114 |
xvid? ( media-libs/xvid:0 ) |
115 |
vorbis? ( media-libs/libvorbis:0 ) |
116 |
vpx? ( media-libs/libvpx:0 ) |
117 |
${PYTHON_DEPS} |
118 |
" |
119 |
RDEPEND="$DEPEND" |
120 |
|
121 |
S="${WORKDIR}/${MY_P}" |
122 |
|
123 |
processes="buildPluginsCommon:avidemux_plugins |
124 |
buildPluginsCLI:avidemux_plugins" |
125 |
use qt4 && processes+=" buildPluginsQt4:avidemux_plugins" |
126 |
|
127 |
PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch ) |
128 |
|
129 |
src_configure() { |
130 |
# Add lax vector typing for PowerPC. |
131 |
if use ppc || use ppc64 ; then |
132 |
append-cflags -flax-vector-conversions |
133 |
fi |
134 |
|
135 |
# See bug 432322. |
136 |
use x86 && replace-flags -O0 -O1 |
137 |
|
138 |
for process in ${processes} ; do |
139 |
local build="${process%%:*}" |
140 |
|
141 |
local mycmakeargs=" |
142 |
-DAVIDEMUX_SOURCE_DIR='${S}' |
143 |
-DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]') |
144 |
$(cmake-utils_use aac FAAC) |
145 |
$(cmake-utils_use aac FAAD) |
146 |
$(cmake-utils_use alsa) |
147 |
$(cmake-utils_use aften) |
148 |
$(cmake-utils_use amr OPENCORE_AMRWB) |
149 |
$(cmake-utils_use amr OPENCORE_AMRNB) |
150 |
$(cmake-utils_use dts LIBDCA) |
151 |
$(cmake-utils_use fontconfig) |
152 |
$(cmake-utils_use jack) |
153 |
$(cmake-utils_use lame) |
154 |
$(cmake-utils_use oss) |
155 |
$(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE) |
156 |
$(cmake-utils_use qt4) |
157 |
$(cmake-utils_use truetype FREETYPE2) |
158 |
$(cmake-utils_use twolame) |
159 |
$(cmake-utils_use x264) |
160 |
$(cmake-utils_use xv XVIDEO) |
161 |
$(cmake-utils_use xvid) |
162 |
$(cmake-utils_use vorbis) |
163 |
$(cmake-utils_use vorbis LIBVORBIS) |
164 |
$(cmake-utils_use vpx VPXDEC) |
165 |
" |
166 |
|
167 |
if use debug ; then |
168 |
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1" |
169 |
fi |
170 |
|
171 |
mkdir "${S}"/${build} || die "Can't create build folder." |
172 |
|
173 |
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure |
174 |
done |
175 |
} |
176 |
|
177 |
src_compile() { |
178 |
for process in ${processes} ; do |
179 |
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile |
180 |
done |
181 |
} |
182 |
|
183 |
src_install() { |
184 |
for process in ${processes} ; do |
185 |
# cmake-utils_src_install doesn't respect BUILD_DIR |
186 |
# and there sometimes is a preinstall phase present. |
187 |
pushd "${S}/${process%%:*}" > /dev/null || die |
188 |
grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast |
189 |
grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast |
190 |
popd > /dev/null || die |
191 |
done |
192 |
|
193 |
python_fix_shebang "${D}" |
194 |
} |