Gentoo Archives: gentoo-commits

From: Stefan Strogin <steils@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/avidemux-plugins/files/, media-libs/avidemux-plugins/
Date: Sun, 25 Aug 2019 20:52:20
Message-Id: 1566766255.143f1356e02d6f4c1e3e239fd19806d9f5e1b6e1.steils@gentoo
1 commit: 143f1356e02d6f4c1e3e239fd19806d9f5e1b6e1
2 Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 25 20:49:27 2019 +0000
4 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 25 20:50:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143f1356
7
8 media-libs/avidemux-plugins: drop old 2.7.0
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
12
13 media-libs/avidemux-plugins/Manifest | 1 -
14 .../avidemux-plugins/avidemux-plugins-2.7.0.ebuild | 182 ---------------------
15 .../files/avidemux-plugins-2.7.0-qt-5.11.patch | 48 ------
16 3 files changed, 231 deletions(-)
17
18 diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest
19 index 4113f7cd25d..7d6012ce4fc 100644
20 --- a/media-libs/avidemux-plugins/Manifest
21 +++ b/media-libs/avidemux-plugins/Manifest
22 @@ -1,3 +1,2 @@
23 DIST avidemux-2.7.3.tar.gz 23772654 BLAKE2B f946c267140bc8aebda2ce027ed8cb7c84a98a401255d3e0cdaf7498680e8bd9c78a33c122cb177d397ed2dd6bc3c29d7508578028c2964c2897279bf860b62d SHA512 d7761de1c40de1b824efbcf24173ea738a2e0ba7fa41cefa09e7bac3ec97f3af4b04201e36f9de50ade2b09e394aa99ed1d4907f90bb132f9896e8f1b5e82d7a
24 DIST avidemux-2.7.4.tar.gz 23815808 BLAKE2B 3a7206f04f568f28dd4d5116c580dd780b057a59e94dd61a2abe5dadfa557291a0c50f917ad1926f9f9a82d01af065c06138f954320e2d9c174fda7583a6b265 SHA512 36d857837cd6a74039a414df16367cd8cbf615173bcc531e57dc0dbfc2e002b1c0c4a80cef73a0d8f25d305deca809af0b5cbcdbad8c311324fa2e64381fd10b
25 -DIST avidemux_2.7.0.tar.gz 21474504 BLAKE2B c6e55a0b5220d6d3746fa06162bf11253145fd28f2f6f744702d5e0342fba85e546a28883eb847139eadd34c94037ebc7d68f5576e7505a85288556468d14b96 SHA512 7c92213d3bd2849dbdb5a1aff2acd6da231fd76c561b756fbf4a1d5a41e9705d609d7a35b6ca6b77ceb3bf5138f861cd24ed16d8fcec4fd713f09a2ff07e9015
26
27 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild
28 deleted file mode 100644
29 index a2730251a4a..00000000000
30 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild
31 +++ /dev/null
32 @@ -1,182 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -if [[ ${PV} == *9999* ]] ; then
39 - EGIT_REPO_URI="https://github.com/mean00/avidemux2.git"
40 - EGIT_CHECKOUT_DIR=${WORKDIR}
41 - inherit git-r3
42 -else
43 - MY_PN="${PN/-plugins/}"
44 - MY_P="${MY_PN}_${PV}"
45 - SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz"
46 - KEYWORDS="~amd64 ~x86"
47 -fi
48 -PYTHON_COMPAT=( python2_7 )
49 -inherit cmake-utils python-single-r1
50 -
51 -DESCRIPTION="Plugins for the video editor media-video/avidemux"
52 -HOMEPAGE="http://fixounet.free.fr/avidemux"
53 -
54 -# Multiple licenses because of all the bundled stuff.
55 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
56 -SLOT="2.7"
57 -IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid"
58 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
59 -
60 -COMMON_DEPEND="${PYTHON_DEPS}
61 - ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
62 - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?]
63 - >=dev-lang/spidermonkey-1.5-r2:0=
64 - dev-libs/libxml2:2
65 - media-libs/a52dec:0
66 - media-libs/libass:0=
67 - media-libs/libmad:0
68 - media-libs/libmp4v2:0
69 - media-libs/libpng:0=
70 - virtual/libiconv:0
71 - aac? (
72 - >=media-libs/faac-1.29.9.2:0
73 - media-libs/faad2:0
74 - )
75 - aften? ( media-libs/aften:0 )
76 - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 )
77 - amr? ( media-libs/opencore-amr:0 )
78 - dcaenc? ( media-sound/dcaenc:0 )
79 - dts? ( media-libs/libdca:0 )
80 - fdk? ( media-libs/fdk-aac:0= )
81 - fontconfig? ( media-libs/fontconfig:1.0 )
82 - fribidi? ( dev-libs/fribidi:0 )
83 - jack? (
84 - media-sound/jack-audio-connection-kit:0
85 - libsamplerate? ( media-libs/libsamplerate:0 )
86 - )
87 - lame? ( media-sound/lame:0 )
88 - nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) )
89 - opus? ( media-libs/opus:0 )
90 - pulseaudio? ( media-sound/pulseaudio:0 )
91 - qt5? (
92 - dev-qt/qtcore:5
93 - dev-qt/qtgui:5
94 - dev-qt/qtwidgets:5
95 - )
96 - truetype? ( media-libs/freetype:2 )
97 - twolame? ( media-sound/twolame:0 )
98 - vorbis? ( media-libs/libvorbis:0 )
99 - vpx? ( media-libs/libvpx:0= )
100 - x264? ( media-libs/x264:0= )
101 - x265? ( media-libs/x265:0= )
102 - xv? (
103 - x11-libs/libX11:0
104 - x11-libs/libXext:0
105 - x11-libs/libXv:0
106 - )
107 - xvid? ( media-libs/xvid:0 )
108 -"
109 -DEPEND="${COMMON_DEPEND}
110 - oss? ( virtual/os-headers:0 )
111 -"
112 -RDEPEND="${COMMON_DEPEND}
113 - !<media-libs/avidemux-plugins-${PV}
114 -"
115 -
116 -S="${WORKDIR}/${MY_P}"
117 -
118 -PATCHES=(
119 - "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch
120 - "${FILESDIR}"/${P}-qt-5.11.patch
121 -)
122 -
123 -src_prepare() {
124 - default
125 -
126 - # Don't reapply PATCHES during cmake-utils_src_prepare
127 - unset PATCHES
128 -
129 - processes="buildPluginsCommon:avidemux_plugins
130 - buildPluginsCLI:avidemux_plugins"
131 - use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
132 -
133 - for process in ${processes} ; do
134 - CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
135 - done
136 -}
137 -
138 -src_configure() {
139 - # Add lax vector typing for PowerPC.
140 - if use ppc || use ppc64 ; then
141 - append-cflags -flax-vector-conversions
142 - fi
143 -
144 - # See bug 432322.
145 - use x86 && replace-flags -O0 -O1
146 -
147 - for process in ${processes} ; do
148 - local build="${WORKDIR}/${P}_build/${process%%:*}"
149 -
150 - local mycmakeargs=(
151 - -DAVIDEMUX_SOURCE_DIR='${S}'
152 - -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
153 - -DFAAC="$(usex aac)"
154 - -DFAAD="$(usex aac)"
155 - -DALSA="$(usex alsa)"
156 - -DAFTEN="$(usex aften)"
157 - -DDCAENC="$(usex dcaenc)"
158 - -DFDK_AAC="$(usex fdk)"
159 - -DOPENCORE_AMRWB="$(usex amr)"
160 - -DOPENCORE_AMRNB="$(usex amr)"
161 - -DLIBDCA="$(usex dts)"
162 - -DFONTCONFIG="$(usex fontconfig)"
163 - -DJACK="$(usex jack)"
164 - -DLAME="$(usex lame)"
165 - -DNVENC="$(usex nvenc)"
166 - -DOPUS="$(usex opus)"
167 - -DOSS="$(usex oss)"
168 - -DPULSEAUDIOSIMPLE="$(usex pulseaudio)"
169 - -DQT4=OFF
170 - -DFREETYPE2="$(usex truetype)"
171 - -DTWOLAME="$(usex twolame)"
172 - -DX264="$(usex x264)"
173 - -DX265="$(usex x265)"
174 - -DXVIDEO="$(usex xv)"
175 - -DXVID="$(usex xvid)"
176 - -DVDPAU="$(usex vdpau)"
177 - -DVORBIS="$(usex vorbis)"
178 - -DLIBVORBIS="$(usex vorbis)"
179 - -DVPXDEC="$(usex vpx)"
180 - -DUSE_EXTERNAL_LIBA52=yes
181 - -DUSE_EXTERNAL_LIBASS=yes
182 - -DUSE_EXTERNAL_LIBMAD=yes
183 - -DUSE_EXTERNAL_LIBMP4V2=yes
184 - )
185 -
186 - if use qt5 ; then
187 - mycmakeargs+=( -DENABLE_QT5=True )
188 - fi
189 -
190 - if use debug ; then
191 - mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
192 - fi
193 -
194 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
195 - done
196 -}
197 -
198 -src_compile() {
199 - for process in ${processes} ; do
200 - local build="${WORKDIR}/${P}_build/${process%%:*}"
201 - BUILD_DIR="${build}" cmake-utils_src_compile
202 - done
203 -}
204 -
205 -src_install() {
206 - for process in ${processes} ; do
207 - # cmake-utils_src_install doesn't respect BUILD_DIR
208 - # and there sometimes is a preinstall phase present.
209 - pushd "${WORKDIR}/${P}_build/${process%%:*}" > /dev/null || die
210 - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
211 - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
212 - popd > /dev/null || die
213 - done
214 -}
215
216 diff --git a/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch b/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch
217 deleted file mode 100644
218 index 8ac9bbc3b4a..00000000000
219 --- a/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch
220 +++ /dev/null
221 @@ -1,48 +0,0 @@
222 -From ba667da44fcb88ee660339e52859bb90dc1b00d3 Mon Sep 17 00:00:00 2001
223 -From: mean <fixounet@××××.fr>
224 -Date: Wed, 30 May 2018 07:31:03 +0200
225 -Subject: [PATCH] [Qt] Compatibilty patch with newer qt (>=5.11), patch by
226 - Chris Clayton
227 -
228 ----
229 - avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp | 1 +
230 - avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp | 1 +
231 - avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp | 1 +
232 - 3 files changed, 3 insertions(+)
233 -
234 -diff --git a/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp b/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
235 -index 256f69d5e..54b0ac639 100644
236 ---- a/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
237 -+++ b/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
238 -@@ -17,6 +17,7 @@
239 - #include "ADM_coreJobs.h"
240 - #include "DIA_coreToolkit.h"
241 - #include <QtCore/QDir>
242 -+#include <QAction>
243 -
244 - extern void loadTranslator(void);
245 - extern void initTranslator(void);
246 -diff --git a/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp b/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp
247 -index 85cec5f9a..f537995ca 100644
248 ---- a/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp
249 -+++ b/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp
250 -@@ -21,6 +21,7 @@
251 - #include "ADM_memsupport.h"
252 - #include "ADM_crashdump.h"
253 - #include "ADM_win32.h"
254 -+#include <QAction>
255 -
256 - void onexit( void );
257 -
258 -diff --git a/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp b/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp
259 -index 94bdd577e..b2a01e54b 100644
260 ---- a/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp
261 -+++ b/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp
262 -@@ -17,6 +17,7 @@
263 - #include "Q_eq2.h"
264 - #include "ADM_toolkitQt.h"
265 - #include <QSignalMapper>
266 -+#include <QAction>
267 -
268 - //
269 - // Video is in YV12 Colorspace
270 \ No newline at end of file