Gentoo Archives: gentoo-commits

From: Daniel Pielmeier <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mjpegtools/
Date: Sat, 09 Apr 2022 10:38:27
Message-Id: 1649500680.554a01529009dc297d481505a3620d8167897a5c.billie@gentoo
1 commit: 554a01529009dc297d481505a3620d8167897a5c
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 10:37:39 2022 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 10:38:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=554a0152
7
8 media-video/mjpegtools: Remove old.
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
12
13 media-video/mjpegtools/Manifest | 1 -
14 media-video/mjpegtools/mjpegtools-2.2.0-r1.ebuild | 112 ----------------------
15 2 files changed, 113 deletions(-)
16
17 diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
18 index b1342f697e62..06067cc179f8 100644
19 --- a/media-video/mjpegtools/Manifest
20 +++ b/media-video/mjpegtools/Manifest
21 @@ -1,2 +1 @@
22 -DIST mjpegtools-2.2.0.tar.bz2 1542088 BLAKE2B 61736ea0782ef098110370ab75feac2d344709a849326acc366cc1dedfabe0aaec797292f09de9d0da8a2ce94506dc2c8749212b49f99ffa8775f347eae94b46 SHA512 d645c0004bf20cab67d2e09cde709f05e32ab755b773c93f75ab65bf6d4ab23d80addf3f8b98e1ce59cc05efc0776b11ca0c71568acb81fab6a0f15e60bce71f
23 DIST mjpegtools-2.2.1.tar.gz 2326425 BLAKE2B a6f2698dda6b7c92a1a786f39bfb1989587b2c35a1f94e435247f04a01f405808d464470fddf1eddaee73df75daaef460bd62e901b89b2b2e0b095332492b20b SHA512 4d7f4dcf56a0e6079025bf0221ee632d91c4cc635a8c7eb9ddf3f7b86ad7250415c6dc4fd4113081920bc9c8fdc2552b8a3aaf896bf5a778acfacb15c7ded830
24
25 diff --git a/media-video/mjpegtools/mjpegtools-2.2.0-r1.ebuild b/media-video/mjpegtools/mjpegtools-2.2.0-r1.ebuild
26 deleted file mode 100644
27 index 0616cbf4c0af..000000000000
28 --- a/media-video/mjpegtools/mjpegtools-2.2.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,112 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit autotools flag-o-matic multilib-minimal toolchain-funcs
37 -
38 -DESCRIPTION="Tools for MJPEG video"
39 -HOMEPAGE="http://mjpeg.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2"
43 -# Compare with version in SONAME on major bumps (e.g. 2.1 -> 2.2)
44 -SLOT="1/2.2"
45 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
46 -IUSE="cpu_flags_x86_mmx dv gtk png quicktime sdl sdlgfx static-libs"
47 -REQUIRED_USE="sdlgfx? ( sdl )"
48 -
49 -BDEPEND="
50 - virtual/pkgconfig
51 -"
52 -RDEPEND="
53 - virtual/jpeg:0=[${MULTILIB_USEDEP}]
54 - dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] )
55 - gtk? ( x11-libs/gtk+:2 )
56 - png? ( media-libs/libpng:0= )
57 - quicktime? ( >=media-libs/libquicktime-1.2.4-r1[${MULTILIB_USEDEP}] )
58 - sdl? (
59 - >=media-libs/libsdl-1.2.15-r4[${MULTILIB_USEDEP}]
60 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
61 - sdlgfx? ( media-libs/sdl-gfx )
62 - )
63 -"
64 -DEPEND="
65 - ${RDEPEND}
66 - >=sys-apps/sed-4
67 - virtual/awk
68 - cpu_flags_x86_mmx? ( dev-lang/nasm )
69 -"
70 -
71 -src_prepare() {
72 - default
73 -
74 - eautoreconf
75 - sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
76 -}
77 -
78 -multilib_src_configure() {
79 - [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2
80 -
81 - local myconf=(
82 - --enable-compile-warnings
83 - $(use_enable cpu_flags_x86_mmx simd-accel)
84 - $(use_enable static-libs static)
85 - --enable-largefile
86 -
87 - $(use_with quicktime libquicktime)
88 - $(use_with dv libdv)
89 - $(use_with sdl libsdl)
90 - --without-v4l
91 - $(use_with sdl x)
92 -
93 - # used by tools only
94 - $(multilib_native_use_with gtk)
95 - $(multilib_native_use_with png libpng)
96 - $(multilib_native_use_with sdlgfx)
97 - )
98 -
99 - ECONF_SOURCE=${S} \
100 - econf "${myconf[@]}"
101 -}
102 -
103 -multilib_src_compile() {
104 - if multilib_is_native_abi; then
105 - default
106 - else
107 - # avoid building programs
108 - emake bin_PROGRAMS=
109 - fi
110 -}
111 -
112 -multilib_src_test() {
113 - # there are no tests at the moment, so it would just build
114 - # all programs in non-native ABIs...
115 - multilib_is_native_abi && default
116 -}
117 -
118 -multilib_src_install() {
119 - if multilib_is_native_abi; then
120 - default
121 - else
122 - emake DESTDIR="${D}" install \
123 - bin_PROGRAMS=
124 - fi
125 -}
126 -
127 -multilib_src_install_all() {
128 - einstalldocs
129 - dodoc mjpeg_howto.txt PLANS HINTS docs/FAQ.txt
130 -
131 - find "${D}" -name '*.la' -delete || die
132 -}
133 -
134 -pkg_postinst() {
135 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
136 - elog "mjpegtools installs user contributed scripts which require additional"
137 - elog "dependencies not pulled in by the installation."
138 - elog "These have to be installed manually."
139 - elog "Currently known extra dpendencies are: ffmpeg, mencoder from mplayer,"
140 - elog "parts of transcode, mpeg2dec from libmpeg2, sox, toolame, vcdimager, python."
141 - fi
142 -}