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-plugins/
Date: Fri, 01 Jan 2021 01:06:52
Message-Id: 1609462961.2c69987c840975b6e220a23ae4df5b9d8fc290a0.mgorny@gentoo
1 commit: 2c69987c840975b6e220a23ae4df5b9d8fc290a0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 01:02:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 01:02:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c69987c
7
8 media-libs/avidemux-plugins: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 media-libs/avidemux-plugins/Manifest | 1 -
13 .../avidemux-plugins-2.7.4-r1.ebuild | 161 ---------------------
14 2 files changed, 162 deletions(-)
15
16 diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest
17 index 20c2b9ff2f2..d9b9b78a2a0 100644
18 --- a/media-libs/avidemux-plugins/Manifest
19 +++ b/media-libs/avidemux-plugins/Manifest
20 @@ -1,2 +1 @@
21 -DIST avidemux-2.7.4.tar.gz 23815808 BLAKE2B 3a7206f04f568f28dd4d5116c580dd780b057a59e94dd61a2abe5dadfa557291a0c50f917ad1926f9f9a82d01af065c06138f954320e2d9c174fda7583a6b265 SHA512 36d857837cd6a74039a414df16367cd8cbf615173bcc531e57dc0dbfc2e002b1c0c4a80cef73a0d8f25d305deca809af0b5cbcdbad8c311324fa2e64381fd10b
22 DIST avidemux-2.7.6.tar.gz 21963753 BLAKE2B 6ca343f90c37844ebfd61123badccefb7327cbf500723c031257cf26500a5b6d98955568c2a9c0d182af68f162e878459a51e6049485937f9b01b4439b32e5e0 SHA512 bc60c733168d40d5b39cc7dd1f74b3f1315e9727302478ef1621e18748bad3400bcfd4d5199862c3093ad9df51385b6b2a96f0f8fedf9bf1c00060327545fb0f
23
24 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.4-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.4-r1.ebuild
25 deleted file mode 100644
26 index 94533197c2b..00000000000
27 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.4-r1.ebuild
28 +++ /dev/null
29 @@ -1,161 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -CMAKE_MAKEFILE_GENERATOR="emake"
36 -PYTHON_COMPAT=( python3_6 )
37 -
38 -inherit cmake flag-o-matic python-single-r1
39 -
40 -DESCRIPTION="Plugins for the video editor media-video/avidemux"
41 -HOMEPAGE="http://fixounet.free.fr/avidemux"
42 -SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${PV}.tar.gz"
43 -
44 -# Multiple licenses because of all the bundled stuff.
45 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
46 -SLOT="2.7"
47 -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"
48 -KEYWORDS="~amd64 ~x86"
49 -
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -
52 -COMMON_DEPEND="${PYTHON_DEPS}
53 - ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
54 - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?]
55 - dev-lang/spidermonkey:0=
56 - dev-libs/libxml2:2
57 - media-libs/a52dec
58 - media-libs/libass:0=
59 - media-libs/libmad
60 - media-libs/libmp4v2
61 - media-libs/libpng:0=
62 - virtual/libiconv
63 - aac? (
64 - media-libs/faac
65 - media-libs/faad2
66 - )
67 - aften? ( media-libs/aften )
68 - alsa? ( media-libs/alsa-lib )
69 - amr? ( media-libs/opencore-amr )
70 - dcaenc? ( media-sound/dcaenc )
71 - dts? ( media-libs/libdca )
72 - fdk? ( media-libs/fdk-aac:0= )
73 - fontconfig? ( media-libs/fontconfig:1.0 )
74 - fribidi? ( dev-libs/fribidi )
75 - jack? (
76 - virtual/jack
77 - libsamplerate? ( media-libs/libsamplerate )
78 - )
79 - lame? ( media-sound/lame )
80 - nvenc? ( amd64? ( media-video/nvidia_video_sdk ) )
81 - opus? ( media-libs/opus )
82 - pulseaudio? ( media-sound/pulseaudio )
83 - qt5? (
84 - dev-qt/qtcore:5
85 - dev-qt/qtgui:5
86 - dev-qt/qtwidgets:5
87 - )
88 - truetype? ( media-libs/freetype:2 )
89 - twolame? ( media-sound/twolame )
90 - vorbis? ( media-libs/libvorbis )
91 - vpx? ( media-libs/libvpx:0= )
92 - x264? ( media-libs/x264:0= )
93 - x265? ( media-libs/x265:0= )
94 - xv? (
95 - x11-libs/libX11
96 - x11-libs/libXext
97 - x11-libs/libXv
98 - )
99 - xvid? ( media-libs/xvid )
100 -"
101 -DEPEND="${COMMON_DEPEND}
102 - oss? ( virtual/os-headers )
103 -"
104 -RDEPEND="${COMMON_DEPEND}
105 - !<media-libs/avidemux-plugins-${PV}
106 -"
107 -
108 -S="${WORKDIR}/avidemux2-${PV}"
109 -
110 -PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
111 -
112 -src_prepare() {
113 - default
114 -
115 - # Don't reapply PATCHES during cmake_src_prepare
116 - unset PATCHES
117 -
118 - processes="buildPluginsCommon:avidemux_plugins
119 - buildPluginsCLI:avidemux_plugins"
120 - use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
121 -
122 - for process in ${processes} ; do
123 - CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
124 - done
125 -}
126 -
127 -src_configure() {
128 - # See bug 432322.
129 - use x86 && replace-flags -O0 -O1
130 -
131 - for process in ${processes} ; do
132 - local build="${WORKDIR}/${P}_build/${process%%:*}"
133 -
134 - local mycmakeargs=(
135 - -DAVIDEMUX_SOURCE_DIR='${S}'
136 - -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
137 - -DFAAC="$(usex aac)"
138 - -DFAAD="$(usex aac)"
139 - -DALSA="$(usex alsa)"
140 - -DAFTEN="$(usex aften)"
141 - -DDCAENC="$(usex dcaenc)"
142 - -DFDK_AAC="$(usex fdk)"
143 - -DOPENCORE_AMRWB="$(usex amr)"
144 - -DOPENCORE_AMRNB="$(usex amr)"
145 - -DLIBDCA="$(usex dts)"
146 - -DFONTCONFIG="$(usex fontconfig)"
147 - -DJACK="$(usex jack)"
148 - -DLAME="$(usex lame)"
149 - -DNVENC="$(usex nvenc)"
150 - -DOPENGL="$(usex opengl)"
151 - -DOPUS="$(usex opus)"
152 - -DOSS="$(usex oss)"
153 - -DPULSEAUDIOSIMPLE="$(usex pulseaudio)"
154 - -DQT4=OFF
155 - -DFREETYPE2="$(usex truetype)"
156 - -DTWOLAME="$(usex twolame)"
157 - -DX264="$(usex x264)"
158 - -DX265="$(usex x265)"
159 - -DXVIDEO="$(usex xv)"
160 - -DXVID="$(usex xvid)"
161 - -DVDPAU="$(usex vdpau)"
162 - -DVORBIS="$(usex vorbis)"
163 - -DLIBVORBIS="$(usex vorbis)"
164 - -DVPXDEC="$(usex vpx)"
165 - -DUSE_EXTERNAL_LIBA52=yes
166 - -DUSE_EXTERNAL_LIBASS=yes
167 - -DUSE_EXTERNAL_LIBMAD=yes
168 - -DUSE_EXTERNAL_LIBMP4V2=yes
169 - )
170 -
171 - use qt5 && mycmakeargs+=( -DENABLE_QT5=True )
172 - use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
173 -
174 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
175 - done
176 -}
177 -
178 -src_compile() {
179 - for process in ${processes} ; do
180 - local build="${WORKDIR}/${P}_build/${process%%:*}"
181 - BUILD_DIR="${build}" cmake_src_compile
182 - done
183 -}
184 -
185 -src_install() {
186 - for process in ${processes} ; do
187 - local build="${WORKDIR}/${P}_build/${process%%:*}"
188 - BUILD_DIR="${build}" cmake_src_install
189 - done
190 -}