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/
Date: Fri, 01 Jan 2021 01:06:52
Message-Id: 1609462975.9dabe2ec1384260578dc7dad0c3fdb972873b9f5.mgorny@gentoo
1 commit: 9dabe2ec1384260578dc7dad0c3fdb972873b9f5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 01:02:55 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 01:02:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dabe2ec
7
8 media-libs/avidemux-core: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 media-libs/avidemux-core/Manifest | 1 -
13 .../avidemux-core/avidemux-core-2.7.4-r1.ebuild | 84 ----------------------
14 2 files changed, 85 deletions(-)
15
16 diff --git a/media-libs/avidemux-core/Manifest b/media-libs/avidemux-core/Manifest
17 index 20c2b9ff2f2..d9b9b78a2a0 100644
18 --- a/media-libs/avidemux-core/Manifest
19 +++ b/media-libs/avidemux-core/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-core/avidemux-core-2.7.4-r1.ebuild b/media-libs/avidemux-core/avidemux-core-2.7.4-r1.ebuild
25 deleted file mode 100644
26 index b069b81af16..00000000000
27 --- a/media-libs/avidemux-core/avidemux-core-2.7.4-r1.ebuild
28 +++ /dev/null
29 @@ -1,84 +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 -
37 -inherit cmake flag-o-matic
38 -
39 -DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
40 -HOMEPAGE="http://fixounet.free.fr/avidemux"
41 -SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${PV}.tar.gz"
42 -
43 -# Multiple licenses because of all the bundled stuff.
44 -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
45 -SLOT="2.7"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv"
48 -
49 -# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
50 -DEPEND="dev-db/sqlite:3
51 - nvenc? ( media-video/nvidia_video_sdk )
52 - sdl? ( media-libs/libsdl:0 )
53 - system-ffmpeg? ( >=media-video/ffmpeg-9:0[mp3,theora] )
54 - vaapi? ( x11-libs/libva:0= )
55 - vdpau? ( x11-libs/libvdpau:0 )
56 - xv? ( x11-libs/libXv:0 )
57 -"
58 -RDEPEND="${DEPEND}
59 - !<media-libs/avidemux-core-${PV}
60 - !<media-video/avidemux-${PV}
61 - nls? ( virtual/libintl:0 )
62 -"
63 -BDEPEND="virtual/pkgconfig
64 - nls? ( sys-devel/gettext )
65 - !system-ffmpeg? ( dev-lang/yasm[nls=] )
66 -"
67 -
68 -S="${WORKDIR}/avidemux2-${PV}"
69 -CMAKE_USE_DIR="${S}/${PN/-/_}"
70 -
71 -src_prepare() {
72 - cmake_src_prepare
73 -
74 - if use system-ffmpeg ; then
75 - # Preparations to support the system ffmpeg. Currently fails because
76 - # it depends on files the system ffmpeg doesn't install.
77 - local error="Failed to remove bundled ffmpeg."
78 -
79 - rm -r cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package \
80 - buildCore/ffmpeg || die "${error}"
81 - sed -e 's/include(admFFmpegUtil)//g' -e '/registerFFmpeg/d' \
82 - -i avidemux/commonCmakeApplication.cmake || die "${error}"
83 - sed -e 's/include(admFFmpegBuild)//g' \
84 - -i avidemux_core/CMakeLists.txt || die "${error}"
85 - fi
86 -}
87 -
88 -src_configure() {
89 - # See bug 432322.
90 - use x86 && replace-flags -O0 -O1
91 -
92 - local mycmakeargs=(
93 - -DAVIDEMUX_SOURCE_DIR='${S}'
94 - -DGETTEXT="$(usex nls)"
95 - -DNVENC="$(usex nvenc)"
96 - -DSDL="$(usex sdl)"
97 - -DLIBVA="$(usex vaapi)"
98 - -DVDPAU="$(usex vdpau)"
99 - -DXVIDEO="$(usex xv)"
100 - )
101 -
102 - use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
103 -
104 - cmake_src_configure
105 -}
106 -
107 -src_compile() {
108 - cmake_src_compile
109 -}
110 -
111 -src_install() {
112 - cmake_src_install
113 -}